vllm.models.minimax_m3.amd.mono.config
¶
Shapes the mono kernels are compiled for: one MiniMax-M3 TP4 rank.
Every value here is checked against the loaded model in weights.py; a
model that does not match is never routed to the mono path.
Classes:
-
IndexHeads–The index q heads in a rank's fused projection, a build parameter:
-
MonoUnsupported–The loaded model or runtime configuration is outside what mono serves.
Functions:
-
qkv_rows–Rows of a rank's fused projection, q | k | v | index_q | index_k: 16 q
IndexHeads
dataclass
¶
The index q heads in a rank's fused projection, a build parameter:
count of them (1, or all TP in head order under indexer context
parallelism) and own, the one this rank's selection scores.
Source code in vllm/models/minimax_m3/amd/mono/config.py
MonoUnsupported
¶
qkv_rows(idx_heads)
¶
Rows of a rank's fused projection, q | k | v | index_q | index_k: 16 q
heads, one k and v head, idx_heads index q heads (the rank's one, or every
one under indexer context parallelism) and the index k head.