Skip to content

fix: access rope_theta correctly in Llama4VisionRotaryEmbedding#43281

Merged
zucchini-nlp merged 2 commits intohuggingface:mainfrom
Tcc0403:llama4-rope-theta
Jan 22, 2026
Merged

fix: access rope_theta correctly in Llama4VisionRotaryEmbedding#43281
zucchini-nlp merged 2 commits intohuggingface:mainfrom
Tcc0403:llama4-rope-theta

Conversation

@Tcc0403
Copy link
Copy Markdown
Contributor

@Tcc0403 Tcc0403 commented Jan 14, 2026

What does this PR do?

Fixes #43276

rope_theta is no longer accessible via config.rope_theta in v5. It has been moved into config.rope_parameters dictionary.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@zucchini-nlp

Signed-off-by: Tcc0403 <76503978+Tcc0403@users.noreply.github.com>
Copy link
Copy Markdown
Member

@zucchini-nlp zucchini-nlp left a comment

Choose a reason for hiding this comment

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

Thanks

@zucchini-nlp
Copy link
Copy Markdown
Member

run-slow: llama4

@github-actions
Copy link
Copy Markdown
Contributor

This comment contains run-slow, running the specified jobs:

models: ["models/llama4"]
quantizations: []

@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

CI Results

Workflow Run ⚙️

✅ No failing test specific to this PR 🎉 !

@kashif kashif mentioned this pull request Jan 22, 2026
5 tasks
@zucchini-nlp zucchini-nlp enabled auto-merge (squash) January 22, 2026 11:13
@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: llama4

@zucchini-nlp zucchini-nlp merged commit 199c0d0 into huggingface:main Jan 22, 2026
25 checks passed
vaibhav-research pushed a commit to vaibhav-research/transformers that referenced this pull request Jan 22, 2026
…uggingface#43281)

Signed-off-by: Tcc0403 <76503978+Tcc0403@users.noreply.github.com>
Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
…uggingface#43281)

Signed-off-by: Tcc0403 <76503978+Tcc0403@users.noreply.github.com>
Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
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.

Llama4VisionRotaryEmbedding access deprecated config attribute rope_theta

3 participants