vllm.models.kimi_k3.nvidia.specialized_decode.runtime.providers
¶
Per-layer attention providers (input projection, KDA/MLA core, o-projection) and
the helpers SpecializedDecode.build_providers uses.
Classes:
-
Attention–Input projection -> KDA/MLA core -> o-projection with its fused AttnRes.
-
SkinnyProjection–B1/B2 skinny GEMM; static K loads two weight tiles before the PDL wait.
Functions:
-
dcp_box–The model's DCP mailboxes (one set for every MLA layer).
-
pack_front–[this rank's router rows (padded to 16); this rank's latent down shard].
-
projection_policies–Split-K (M tile, N tile, split, stages) per execution rows' next tested bin.
Attention
¶
Input projection -> KDA/MLA core -> o-projection with its fused AttnRes.
Source code in vllm/models/kimi_k3/nvidia/specialized_decode/runtime/providers.py
SkinnyProjection
¶
B1/B2 skinny GEMM; static K loads two weight tiles before the PDL wait.
Source code in vllm/models/kimi_k3/nvidia/specialized_decode/runtime/providers.py
dcp_box(runtime, heads)
¶
The model's DCP mailboxes (one set for every MLA layer).
Source code in vllm/models/kimi_k3/nvidia/specialized_decode/runtime/providers.py
pack_front(moe, rank, tp)
¶
[this rank's router rows (padded to 16); this rank's latent down shard].
Source code in vllm/models/kimi_k3/nvidia/specialized_decode/runtime/providers.py
projection_policies(tp, rows, batches)
¶
Split-K (M tile, N tile, split, stages) per execution rows' next tested bin.