vllm.model_executor.kernels.attention.dsa.dcp_topk_pingpong_cutedsl
¶
CuTeDSL stable top-k selector for the direct DCP top-k candidate exchange.
Classes:
Functions:
-
stable_topk_from_pingpong_candidates_cutedsl–score_bits: high score-key bits that rank (16 for upcast BF16 scores).
StableTopKFromPingPongCandidatesKernel
¶
_passes(bits)
classmethod
¶
Radix passes over the top bits key bits, and the final pass width.
stable_topk_from_pingpong_candidates_cutedsl(inboxes, write_seq, topk, out, use_pdl, score_bits=32, id_bits=32)
¶
score_bits: high score-key bits that rank (16 for upcast BF16 scores).
id_bits: low bits that hold every token id.