Unverified Commit 42ffba11 authored by Woosuk Kwon's avatar Woosuk Kwon Committed by GitHub
Browse files

[Misc] Use RoPE cache for MRoPE (#8396)

parent 295c4730
......@@ -990,7 +990,7 @@ def get_rope(
base, is_neox_style, dtype, short_factor, long_factor,
**extra_kwargs)
elif scaling_type == "mrope":
return MRotaryEmbedding(
rotary_emb = MRotaryEmbedding(
head_size,
rotary_dim,
max_position,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment