Skip to content

Conversation

@albertvillanova
Copy link
Member

Align the remaining VLM config params and pass them as arguments to AutoConfig.from_pretrained.

This is the recommended way to update subconfigs: huggingface/transformers#41020 (comment)

Follow-up to:

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

Copy link
Member

@qgallouedec qgallouedec left a comment

Choose a reason for hiding this comment

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

LGTM, I've pushed the new models
For the record, it removes the embed_dim, for some reason, but I'm pretty sure it's ok.

https://huggingface.co/trl-internal-testing/tiny-Qwen2_5_VLForConditionalGeneration/commit/9034645280d7b799171be418296354034349e481

@qgallouedec
Copy link
Member

merging so that I can use it in the sequence of PRs #4113, #4114, #4115

@qgallouedec qgallouedec changed the title Align param passing to VLM configs in generate_tiny_models 🔭 Align param passing to VLM configs in generate_tiny_models Sep 22, 2025
@qgallouedec qgallouedec merged commit 94f8d00 into huggingface:main Sep 22, 2025
8 of 10 checks passed
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