Skip to content

Conversation

@SunMarc
Copy link
Member

@SunMarc SunMarc commented Nov 13, 2025

What does this PR do?

This PR adds "truncate" field in optional_keys for yarn rope. This is actually used and right now we get a warning them loading gpt-oss model.

Unrecognized keys in `rope_parameters` for 'rope_type'='yarn': {'truncate'}

@SunMarc
Copy link
Member Author

SunMarc commented Nov 13, 2025

@bot /style

@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

Style bot fixed some files and pushed the changes.

@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

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

lgtm!

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.

4 participants