Skip to content

Fixes import errors for huggingface_hub.utils#405

Open
martinarroyo wants to merge 1 commit into
mainfrom
fix-huggingface-import
Open

Fixes import errors for huggingface_hub.utils#405
martinarroyo wants to merge 1 commit into
mainfrom
fix-huggingface-import

Conversation

@martinarroyo
Copy link
Copy Markdown
Collaborator

In some platforms the import is slightly different due to multiple versions of the library being present. This adds a try-catch clause to handle those scenarios.

@martinarroyo martinarroyo requested a review from entrpn as a code owner May 13, 2026 07:26
@github-actions
Copy link
Copy Markdown

@Perseus14 Perseus14 requested review from Perseus14 May 13, 2026 07:55
@martinarroyo martinarroyo force-pushed the fix-huggingface-import branch from b3fc6be to 90b2700 Compare May 13, 2026 08:00
In some platforms the import is slightly different due to multiple
versions of the library being present. This adds a try-catch clause to
handle those scenarios.
@martinarroyo martinarroyo force-pushed the fix-huggingface-import branch from 90b2700 to 8878bf9 Compare May 13, 2026 08:58
@martinarroyo
Copy link
Copy Markdown
Collaborator Author

This might not be necessary thanks to some changes on the platform, halting merging for now

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.

2 participants