Skip to content

Fix import error with huggingface_hub v1.0.0+#41973

Open
jameslovespancakes wants to merge 1 commit intohuggingface:mainfrom
jameslovespancakes:fix-huggingface-hub-import-error
Open

Fix import error with huggingface_hub v1.0.0+#41973
jameslovespancakes wants to merge 1 commit intohuggingface:mainfrom
jameslovespancakes:fix-huggingface-hub-import-error

Conversation

@jameslovespancakes
Copy link
Copy Markdown

Update error class imports to use huggingface_hub.errors instead of huggingface_hub.utils to resolve ImportError with huggingface_hub versions 1.0.0 and above.

Fixes #41970

Update error class imports to use huggingface_hub.errors instead of huggingface_hub.utils to resolve ImportError with huggingface_hub versions 1.0.0 and above.

Fixes huggingface#41970
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 2, 2025

[For maintainers] Suggested jobs to run (before merge)

run-slow: oneformer

@Rocketknight1
Copy link
Copy Markdown
Member

Waiting for confirmation that this error is actually occurring on main first!

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.

Huggingface Hub version increased causing import error

2 participants