Fix mla prefill context performance (#13897)
Signed-off-by: ZhongYingMatrix <zhongyingmatrix@gmail.com>
This commit is contained in:
@@ -874,7 +874,7 @@ class MLACommonImpl(MLAAttentionImpl[M], Generic[M]):
|
||||
)
|
||||
|
||||
kv_c_normed = workspace[:toks]\
|
||||
[..., :self.kv_lora_rank].unsqueeze(1)
|
||||
[..., :self.kv_lora_rank]
|
||||
k_pe = workspace[:toks]\
|
||||
[..., self.kv_lora_rank:].unsqueeze(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user