Downloads · 30 days
27
2% of all-time downloads
morriszjm/MiniMax-M3-MXFP8-64e
MiniMax-M3-MXFP8-64e is a image-text-to-text model from morriszjm. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
Training-free expert-pruned variant of MiniMaxAI/MiniMax-M3-MXFP8. Each MoE layer is reduced from 128 → 64 routed experts (pruning ratio 50%), keeping numexpertspertok = 4 and the shared expert intact.
Downloads · 30 days
27
2% of all-time downloads
All-time downloads
1.7K
Public
Parameters
227B
231 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors231 GB · 100%
How the weights are stored.
F8_E4M3217B · 96%
From the Hugging Face model README
Training-free expert-pruned variant of
MiniMaxAI/MiniMax-M3-MXFP8.
Each MoE layer is reduced from 128 → 64 routed experts (pruning ratio
50%), keeping num_experts_per_tok = 4 and the shared expert intact.
| value | |
|---|---|
| Source | MiniMaxAI/MiniMax-M3-MXFP8 (~428B total, ~23B active, MXFP8) |
| Routed experts/layer | 64 (was 128) |
| Pruning ratio | 50% |
| MoE layers pruned | 57 (layers 3–59; layers 0–2 are dense) |
| Top-k routing | 4 (unchanged) |
| Shared expert | kept (1, unchanged) |
| Size | ~231 GB (was ~444 GB) |
| Fits | 4× H100 NVL (TP=4) |
Routing-mass importance calibration, following the expert_pruning
methodology (adapted to M3's 128-expert / top-4 / MXFP8 / shared-expert MoE):
sigmoid(router_logits) (+ e_score_correction_bias)
→ top-4 → renormalized weights summed over all calibration tokens. NaN/Inf
masses from rare degenerate tokens are treated as lowest priority.(mass desc, index asc). 57/57 layers had a
non-negative kept/drop margin (median gap ≈ 1.0).gate.weight row-slice [kept],
e_score_correction_bias[kept], drop unkept experts' six MXFP8 tensors
(w{1,2,3}.{weight, weight_scale_inv}), renumber survivors 0..63. FP8
weights and their block weight_scale_inv scales are copied whole — no
dequant. config.num_local_experts = 64. Everything else (attention/MSA,
shared experts, dense layers, vision tower, projector, embeddings, lm_head)
is byte-identical to the source.gate (64, 6144), bias (64,)."Rerouting" is handled by construction: top-4 over the surviving 64 experts re-normalizes automatically; a token whose first-choice expert was dropped falls through to its next-best survivor.
Requires the MiniMax-M3 vLLM build (M3 support is not yet in a stable release):
vllm serve morriszjm/MiniMax-M3-MXFP8-64e \
--tensor-parallel-size 4 \
--block-size 128 \
--tool-call-parser minimax_m3 \
--reasoning-parser minimax_m3 \
--enable-auto-tool-choice \
--trust-remote-code \
--max-model-len 32768
Verified booting and answering on 4× H100 NVL.
Produced by the Nokia onboarding_demo/expert_pruning pipeline (M3 adaptation).