Skip to content

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented Dec 3, 2025

Custom models which specify mrope as their rope_type were failing to initialise because of an attribute error when attempting to get _validate_mrope_rope_parameters, which doesn't exist.

The lines following this getattr indicate that this is suppose to trigger a warning, not an error.

This PR fixes that.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@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.

@hmellor hmellor merged commit b8d5018 into huggingface:main Dec 3, 2025
23 checks passed
@hmellor hmellor deleted the rope-type-validation branch December 3, 2025 16:01
sarathc-cerebras pushed a commit to sarathc-cerebras/transformers that referenced this pull request Dec 7, 2025
)

Signed-off-by: Harry Mellor <19981378+hmellor@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.

3 participants