Skip to content

Commit

Permalink
fixes for device and localheaddim
Browse files Browse the repository at this point in the history
  • Loading branch information
lcskrishna committed Feb 2, 2025
1 parent e0e7589 commit 80621ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/sglang/srt/models/deepseek_v2.py
Original file line number Diff line number Diff line change
@@ -673,10 +673,10 @@ def forward_absorb_fused_mla(
attn_logits = torch.empty(
(
forward_batch.batch_size,
num_local_heads,
self.num_local_heads,
num_kv_split,
self.kv_lora_rank + 1,
), dtype=torch.float32, device=self.device)
), dtype=torch.float32, device=q.device)

decode_attention_fwd_normal(
q,

0 comments on commit 80621ab

Please sign in to comment.