Deepseek-v3 Batch Invariant on 8xH100 (#26609)

Signed-off-by: Bram Wasti <bwasti@meta.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
Bram Wasti
2025-10-15 22:06:02 -07:00
committed by GitHub
co-authored by Wentao Ye
parent 785d8b6410
commit 7d8975de84
21 changed files with 1567 additions and 102 deletions
+1
View File
@@ -160,6 +160,7 @@ class MultiHeadLatentAttentionWrapper(CustomOp):
k_pe,
output_shape=(hidden_states.shape[0], self.num_heads * self.v_head_dim),
)
return self.o_proj(attn_out)[0]
def forward_cuda(self, *args, **kwargs):