fix: align RotaryEmbedding with Qwen2Moe pattern for transformers compat
#4
by kashif HF Staff - opened
Replace custom rope_type handling with the standard Qwen2Moe pattern: use compute_default_rope_parameters for "default" type, only look up ROPE_INIT_FUNCTIONS for non-default types. Also adds partial_rotary_factor support.