Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix rope kwargs #35589

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Small fix rope kwargs #35589

merged 3 commits into from
Jan 9, 2025

Conversation

molbap
Copy link
Contributor

@molbap molbap commented Jan 9, 2025

What does this PR do?

As per title, removing unused rope_kwargs for a few models post-refactor.

@molbap molbap changed the title Small fix kwargs Small fix rope kwargs Jan 9, 2025
@molbap
Copy link
Contributor Author

molbap commented Jan 9, 2025

ah, I also removed _extract_stem_indices from MusicgenMelodyFeatureExtractor documentation, because it's not a public method - I think I've seen this error before but no clue why it pops up again

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning

@molbap molbap merged commit 395b114 into main Jan 9, 2025
18 checks passed
@molbap molbap deleted the small_fix_kwargs branch January 9, 2025 14:40
@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.

tomaarsen added a commit to tomaarsen/transformers that referenced this pull request Jan 9, 2025
tomaarsen added a commit to tomaarsen/transformers that referenced this pull request Jan 9, 2025
tomaarsen added a commit that referenced this pull request Jan 10, 2025
#35459)

* Introduce 5 integration tests for the 4 model classes + torch export

* ModernBert: reuse GemmaRotaryEmbedding via modular

* Revert #35589, keep rope_kwargs; rely on them in modular_modernbert

* Revert "Revert #35589, keep rope_kwargs; rely on them in modular_modernbert"

This reverts commit 11b44b9.

* Don't set rope_kwargs; override 'self.rope_init_fn' call instead
ArthurZucker pushed a commit that referenced this pull request Jan 10, 2025
#35459)

* Introduce 5 integration tests for the 4 model classes + torch export

* ModernBert: reuse GemmaRotaryEmbedding via modular

* Revert #35589, keep rope_kwargs; rely on them in modular_modernbert

* Revert "Revert #35589, keep rope_kwargs; rely on them in modular_modernbert"

This reverts commit 11b44b9.

* Don't set rope_kwargs; override 'self.rope_init_fn' call instead
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