Skip to content

Releases: huggingface/hf-hub

v0.4.1

31 Dec 17:44
e071841
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

30 Dec 15:55
41d49d6
Compare
Choose a tag to compare

New in 0.4.0

  • Rest of the changes are auto-generated an do not reflect things new in 0.4.0.
  • BREAKING CHANGE: HF_HOME is not read by default anymore. ApiBuilder::from_env() and Cache::from_env now read it instead of ::new() and they also read HF_ENDPOINT to align with huggingface_hub. Reading environment variable should be opted-in, not defaults.
  • BREAKING CHANGE: tokio backend now uses a single task with multiple chunks to go easy on user's desktop connections. Instead using ApiBuilder::new().high() should be used if you want to saturate the connection by using many concurrent tasks to saturate connections (for instance S3)
  • Downloads will resume automatically by @Narsil in #84
  • Choice of TLS backend. Choose your backend for TLS support with ["ureq", "tokio"] X ["native-tls", "rustls-tls"] features cross product. Remember to deactivate default features to select only the features you're interested in.

What's Changed

New Contributors

Full Changelog: https://github.com/huggingface/hf-hub/commits/v0.4.0