Skip to content

Fix import of check_torch_load_is_safe#2268

Merged
regisss merged 1 commit into
huggingface:mainfrom
HabanaAI:main-transformers-4.55-safe-torch-load
Sep 19, 2025
Merged

Fix import of check_torch_load_is_safe#2268
regisss merged 1 commit into
huggingface:mainfrom
HabanaAI:main-transformers-4.55-safe-torch-load

Conversation

@gplutop7
Copy link
Copy Markdown
Collaborator

Updated import of check_torch_load_is_safe to use transformers.utils.import_utils instead of transformers.utils, ensuring compatibility with Transformers 4.55.

@gplutop7 gplutop7 requested a review from regisss as a code owner September 18, 2025 17:37
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Collaborator

@regisss regisss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@regisss regisss merged commit 8f2b79c into huggingface:main Sep 19, 2025
3 of 5 checks passed
gplutop7 pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Oct 15, 2025
…e#699)

Co-authored-by: Grzegorz Pluto-Prondzinski <gplutopx@habana.ai>
gplutop7 pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Nov 6, 2025
…e#699)

Co-authored-by: Grzegorz Pluto-Prondzinski <gplutopx@habana.ai>
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