vllm.models.kimi_k3.nvidia.specialized_decode.cutedsl.moe.dense
¶
Prepared first dense MLP, sharing projection and SiTU decode arithmetic.
Classes:
-
PreparedDenseMLP–Dense MLP; TP16 pads down K 2112 -> 2176 and the activation zero-fills it.
PreparedDenseMLP
¶
Dense MLP; TP16 pads down K 2112 -> 2176 and the activation zero-fills it.
Methods:
-
process_weights_after_loading–After a weight reload: the padded TP16 down copy is ours, refill it in
Source code in vllm/models/kimi_k3/nvidia/specialized_decode/cutedsl/moe/dense.py
process_weights_after_loading(mlp)
¶
After a weight reload: the padded TP16 down copy is ours, refill it in place (padding columns stay zero). Unpadded, it is the backbone weight.