mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-22 01:55:58 +08:00
[BugFix] Fix minimax m2 model rotary_dim (#30384)
Signed-off-by: xuebi <xuebi@minimaxi.com> Co-authored-by: xuebi <xuebi@minimaxi.com>
This commit is contained in:
parent
cebda2a4af
commit
d017bceb08
@ -201,7 +201,7 @@ class MiniMaxM2Attention(nn.Module):
|
||||
|
||||
self.rotary_emb = get_rope(
|
||||
self.head_dim,
|
||||
rotary_dim=rotary_dim,
|
||||
rotary_dim=self.head_dim,
|
||||
max_position=max_position_embeddings,
|
||||
rope_parameters=rope_parameters,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user