vllm.models.minimax_m3.amd.akr_moe
¶
The amd_kernels moe route: the whole MiniMax-M3.1 MoE block on
amd_kernels.moe.mxfp4_h6144_i768_e128_top4, then the stock TP all-reduce.
Functions:
-
build_weights–The package's
MoeWeights; the checkpoint-layout parameters are released. -
forward–The block's output [M, H] bf16 after the stock TP all-reduce.
-
setup–Whether
moe(aMiniMaxM3MoE) runs on the package; if so its weights
build_weights(moe)
¶
The package's MoeWeights; the checkpoint-layout parameters are released.
Source code in vllm/models/minimax_m3/amd/akr_moe.py
forward(moe, x)
¶
The block's output [M, H] bf16 after the stock TP all-reduce.
Source code in vllm/models/minimax_m3/amd/akr_moe.py
setup(moe, config, prefix)
¶
Whether moe (a MiniMaxM3MoE) runs on the package; if so its weights
keep the checkpoint layout until build_weights.