vllm.v1.attention.ops.ultraquant.triton_dequant
¶
Full KV dequant for the UltraQuant cache format.
Used by continuation prefill: when a chunk brings many new query tokens on top of a long cached prefix, dequanting the prefix once and running a dense prefill kernel beats replaying the decode kernel per query token.
Reads FP4 codes plus UE8M0 group scales and writes K (Hadamard-rotated, as stored) and V (raw) into pre-allocated fp16/bf16 buffers.
Functions:
-
ultraquant_full_dequant_kv–Dequant
alloc_lencached positions intok_out/v_out.