[DSv4] Improved fused Indexer Q quant kernel (#41428)

This commit is contained in:
Thien Tran
2026-05-09 01:20:32 -07:00
committed by GitHub
parent 34ab4f2565
commit 530d371302
4 changed files with 474 additions and 25 deletions
@@ -122,7 +122,7 @@ def _reference(
return q_fp8, weights_out
@pytest.mark.parametrize("num_tokens", [1, 7, 32, 257])
@pytest.mark.parametrize("num_tokens", [1, 7, 32, 257, 1023])
@pytest.mark.parametrize("cache_dtype", [torch.float32, torch.bfloat16])
@pytest.mark.parametrize("use_fp4", [False, True])
@torch.inference_mode()