transformers
d081c718 - Fix vllm cis (#45139)

Commit
153 days ago
Fix vllm cis (#45139) * fixes * safe linspace? * up * up * remove batch * nits * style * fix repo * more * update * update * revert * up * fix copy * work? * adress some of the comments * update * fixes * fix-repo! * styling post merge * don't pass default * up * up * push * fix vllm compat: add default rope type and ignore_keys support - Add _compute_default_rope_parameters and register as ROPE_INIT_FUNCTIONS["default"] - Accept ignore_keys kwarg in validate_rope for backward compat with vllm - Remove RopeDefaultTypeTest class (redundant with existing tests) - Fix test_rope_validation to skip "default" rope type in KeyError checks Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> * revert rope utils additions, keep only test removal Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> * docs: mark rope_theta as optional in RopeParameters and compute function docstrings rope_theta defaults to default_theta when omitted from serialized configs. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Author
Parents
Loading