Skip to content

Fix the order of cls.config resolution#45655

Closed
zucchini-nlp wants to merge 1 commit intohuggingface:mainfrom
zucchini-nlp:load-vlm-in-llm
Closed

Fix the order of cls.config resolution#45655
zucchini-nlp wants to merge 1 commit intohuggingface:mainfrom
zucchini-nlp:load-vlm-in-llm

Conversation

@zucchini-nlp
Copy link
Copy Markdown
Member

What does this PR do?

Fixes #36683 and allows loading VLM ckpt into an llm class in python 3.14, by resolving to the correct cls.config_class

@zucchini-nlp
Copy link
Copy Markdown
Member Author

I dont know who owns this part now, so prob @Rocketknight1 if you could rveiew

@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.

@github-actions
Copy link
Copy Markdown
Contributor

View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=45655&sha=ee7174

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.

AttributeError: 'Gemma3Config' object has no attribute 'vocab_size'

2 participants