github huggingface/huggingface_hub v0.17.3
v0.17.3 - Hot-fix: ignore errors when checking available disk space

latest releases: v0.25.1, v0.25.0, v0.25.0.rc1...
12 months ago

Full Changelog: v0.17.2...v0.17.3

Fixing a bug when downloading files to a non-existent directory. In #1590 we introduced a helper that raises a warning if there is not enough disk space to download a file. A bug made the helper raise an exception if the folder doesn't exist yet as reported in #1690. This hot-fix fixes it thanks to #1692 which recursively checks the parent directories if the full path doesn't exist. If it keeps failing (for any OSError) we silently ignore the error and keep going. Not having the warning is worse than breaking the download of legit users.

Checkout those release notes to learn more about the v0.17 release.

Don't miss a new huggingface_hub release

NewReleases is sending notifications on new releases.