0.20.3 hot-fix: Fix HfFolder login when env variable not set
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 https://github.com/huggingface/huggingface_hub/pull/1895 meaning only 0.20.x is affected.
For more details, please refer to https://github.com/huggingface/huggingface_hub/pull/1966.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.20.2...v0.20.3
Fetched April 7, 2026