mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 12:45:33 +08:00
[Misc] Use RoPE cache for MRoPE (#8396)
This commit is contained in:
parent
295c4730a8
commit
42ffba11ad
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user