Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 18, 2025

HfFolder is a deprecated class (for 2+ years) and will soon be removed in the upcoming huggingface_hub v1.0 release.

This PR removes it. Let's use huggingface_hub.utils.build_hf_headers instead which is future-proof (and exists since 2+ years so compatible with all recent hfh versions).

@lhoestq lhoestq merged commit 78acda9 into main Sep 18, 2025
10 checks passed
@lhoestq lhoestq deleted the remove-deprecated-hf-folder branch September 18, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants