Skip to content

0.20.3 hot-fix: Fix HfFolder login when env variable not set

Compare
Choose a tag to compare
@Wauplin Wauplin released this 22 Jan 08:58
· 174 commits to main since this release

This patch release fixes an issue when retrieving the locally saved token using huggingface_hub.HfFolder.get_token. For the record, this is a "planned to be deprecated" method, in favor of huggingface_hub.get_token which is more robust and versatile. The issue came from a breaking change introduced in #1895 meaning only 0.20.x is affected.

For more details, please refer to #1966.

Full Changelog: v0.20.2...v0.20.3