From the #1857 kernel head-to-head: our per-step selector TopK (TopKValuesIndicesRowKernel, 8 rows x 248320 vocab, K=16) costs 708 us; SGLang's radix top-k does the equivalent in 40 us. −0.7 ms/step. Mirror the radix approach (FlashInfer's radix top-k is the upstream reference). Owner: SPEC-DFLASH2. Smallest of the three #1857 levers; ride it with whichever wave touches the selector next.
From the #1857 kernel head-to-head: our per-step selector TopK (
TopKValuesIndicesRowKernel, 8 rows x 248320 vocab, K=16) costs 708 us; SGLang's radix top-k does the equivalent in 40 us. −0.7 ms/step. Mirror the radix approach (FlashInfer's radix top-k is the upstream reference). Owner: SPEC-DFLASH2. Smallest of the three #1857 levers; ride it with whichever wave touches the selector next.