Skip to content

fix: export linear RoPE scaling from modern rope_type configs - #661

Open
Rudy Mizrahi Celekli (rudycelekli) wants to merge 1 commit into
microsoft:mainfrom
rudycelekli:fix/linear-rope-type-config
Open

Rudy Mizrahi Celekli (rudycelekli) wants to merge 1 commit into
microsoft:mainfrom
rudycelekli:fix/linear-rope-type-config

Conversation

@rudycelekli

Copy link
Copy Markdown

Modern linear RoPE configurations use rope_type, which the exporter ignores. Accept the modern key while preserving legacy type compatibility.

Validation:

  • python3 tests/test_linear_rope_metadata.py passed locally.
  • The regression fails against the unchanged upstream base and passes with this fix.

This change was prepared with AI assistance and independently reviewed locally. Focused tests use small fixtures or mocked dependencies; no full model inference or CUDA hardware validation is claimed.

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.

1 participant