Skip to content

Conversation

@remi-or
Copy link
Collaborator

@remi-or remi-or commented Oct 14, 2025

This tiny tiny PR fixes an error introduced in #41445 which led to an import error.
For instance, tests/models/gemma3/test_modeling_gemma3.py::Gemma3Vision2TextModelTest::test_flash_attn_2_fp32_ln without this fix fails with

NameError: name 'PreTrainedModel' is not defined

but after this fix passes

@remi-or remi-or requested a review from ArthurZucker October 14, 2025 10:52
@HuggingFaceDocBuilderDev

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.

@remi-or remi-or merged commit 0798797 into huggingface:main Oct 14, 2025
25 checks passed
ngazagna-qc pushed a commit to ngazagna-qc/transformers that referenced this pull request Oct 23, 2025
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