0.20.2 hot-fix: Fix concurrency issues in google colab login
A concurrency issue when using userdata.get to retrieve HF_TOKEN token led to deadlocks when downloading files in parallel. This hot-fix release fixes this issue by using a global lock before trying to get the token from the secrets vault. More details in https://github.com/huggingface/huggingface_hub/pull/1953.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.20.1...v0.20.2
Fetched April 7, 2026