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

RoPE: fix BC warning #33331

Merged
merged 2 commits into from
Sep 6, 2024
Merged

RoPE: fix BC warning #33331

merged 2 commits into from
Sep 6, 2024

Conversation

gante
Copy link
Member

@gante gante commented Sep 5, 2024

What does this PR do?

Fixes #32916

A warning is thrown when there are unused keys in the rope config. When the old key type is present, we copy its contents to rope_type. We forgot to remove type from the unused keys check in this case, causing the warning to be thrown 🤗

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

@gante gante merged commit 6ff6069 into huggingface:main Sep 6, 2024
15 checks passed
@gante gante deleted the rope_warning branch September 6, 2024 15:15
itazap pushed a commit to NielsRogge/transformers that referenced this pull request Sep 20, 2024
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.

Unrecognized keys in rope_scaling for 'rope_type'='dynamic': {'type'}
3 participants