Skip to content

Less unnecessary RoPE warnings#45289

Merged
zucchini-nlp merged 6 commits intohuggingface:mainfrom
zucchini-nlp:less-rope-warnings
Apr 13, 2026
Merged

Less unnecessary RoPE warnings#45289
zucchini-nlp merged 6 commits intohuggingface:mainfrom
zucchini-nlp:less-rope-warnings

Conversation

@zucchini-nlp
Copy link
Copy Markdown
Member

What does this PR do?

Fixes #45265 and doesn't warn if the value is an int.

@zucchini-nlp zucchini-nlp requested a review from vasqu April 7, 2026 13:00
@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
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

In general happy to have it, I remember some models, e.g. deepseek v3, recasting to float before; exactly because of this. Would be nice if you could cross check

@zucchini-nlp zucchini-nlp enabled auto-merge April 10, 2026 09:34
@vasqu
Copy link
Copy Markdown
Contributor

vasqu commented Apr 13, 2026

#45404 will fix the CI

@github-actions
Copy link
Copy Markdown
Contributor

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

run-slow: deepseek_v3, longcat_flash, mistral4, youtu

@zucchini-nlp zucchini-nlp added this pull request to the merge queue Apr 13, 2026
Merged via the queue into huggingface:main with commit 19a7c10 Apr 13, 2026
28 checks passed
@zucchini-nlp zucchini-nlp deleted the less-rope-warnings branch April 13, 2026 13:14
sirzechs66 pushed a commit to sirzechs66/transformers that referenced this pull request Apr 18, 2026
* suppress warning if int

* remove override, not needed anymore

* also youtu

---------

Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
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.

More permissive config parsing and validation

3 participants