KristianS7
/

Fix default RoPE initialization for Transformers 5.9

#1

Transformers 5.9 no longer exposes the default/original RoPE implementation in ROPE_INIT_FUNCTIONS. Mirror the built-in Qwen/Llama pattern: compute default RoPE parameters locally and only dispatch non-default rope types through ROPE_INIT_FUNCTIONS. This fixes KeyError: default when loading the model.

KristianS7 changed pull request status to merged
KristianS7 deleted the refs/pr/1 ref

Sign up or log in to comment