Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions csrc/sparse_mla_sm120_prefill.cu
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ inline bool dispatch_dsv4_single(int num_heads, int topk, const bf16* Q, const u
// amortises FP8's higher Tensor-Core throughput.
if (topk == 128)
DISPATCH_BY_NH_CM(BF16, 128);
else if (topk == 256)
DISPATCH_BY_NH_CM(BF16, 256);
else if (topk == 512)
DISPATCH_BY_NH_CM(FP8, 512);
else if (topk == 1024)
Expand Down
2 changes: 2 additions & 0 deletions tests/attention/test_sparse_mla_sm120.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,8 @@ def test_sparse_mla_sm120_prefill_glm_nsa_arbitrary_fp32(num_heads: int) -> None

_DSV4_PREFILL_CONFIGS = [
(16, 128),
(16, 256),
(32, 256),
(32, 512),
(64, 1024),
(128, 1024),
Expand Down
Loading