Downloads · 30 days
26
1% of all-time downloads
QuantTrio/MiniMax-M2-REAP-162B-A10B-AWQ
MiniMax-M2-REAP-162B-A10B-AWQ is a text generation model from QuantTrio. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Base model: cerebras/MiniMax-M2-REAP-162B-A10B
Downloads · 30 days
26
1% of all-time downloads
All-time downloads
2.2K
Public
Parameters
162B
91.8 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors91.8 GB · 100%
How the weights are stored.
I32157B · 97%
From the Hugging Face model README
Base model: cerebras/MiniMax-M2-REAP-162B-A10B
Note: Some attention layers are left unquantized to preserve output coherence and consistency;
as a result, the file size is reduced by about 24%, rather than the ~30% we might otherwise expect.
<i> Same as the original MiniMax-M2 </i>
As of 2025-11-19, create a fresh Python environment and run:
uv venv
source .venv/bin/activate
uv pip install 'triton-kernels @ git+https://github.com/triton-lang/[email protected]#subdirectory=python/triton_kernels' \
vllm --extra-index-url https://wheels.vllm.ai/nightly --prerelease=allow
<i>Note: When launching with TP=8, include --enable-expert-parallel;
otherwise the expert tensors wouldn’t be evenly sharded across GPU devices.</i>
CONTEXT_LENGTH=32768
vllm serve \
QuantTrio/MiniMax-M2-REAP-162B-A10B-AWQ \
--served-model-name MY_MODEL \
--enable-auto-tool-choice \
--tool-call-parser minimax_m2 \
--reasoning-parser minimax_m2_append_think \
--swap-space 8 \
--max-num-seqs 32 \
--max-model-len $CONTEXT_LENGTH \
--gpu-memory-utilization 0.9 \
--tensor-parallel-size 8 \
--enable-expert-parallel \
--trust-remote-code \
--disable-log-requests \
--host 0.0.0.0 \
--port 8000
2025-11-19
1. Initial commit
| File Size | Last Updated |
|---|---|
86GiB | 2025-11-19 |
from huggingface_hub import snapshot_download
snapshot_download('QuantTrio/MiniMax-M2-REAP-162B-A10B-AWQ', cache_dir="your_local_path")
Introducing MiniMax-M2-REAP-162B-A10B, a memory-efficient compressed variant of MiniMax-M2 that maintains near-identical performance while being 30% lighter.
This model was created using REAP (Router-weighted Expert Activation Pruning), a novel expert pruning method that selectively removes redundant experts while preserving the router's independent control over remaining experts. Key features include:
MiniMax-M2-REAP-162B-A10B has the following specifications:
🟩 This checkpoint maintains almost identical performance while being 30% lighter.
For more details on the evaluation setup, refer to the REAP arXiv preprint.
You can deploy the model directly using the latest vLLM (that supports MiniMax-M2), no source modifications or custom patches required.
vllm serve cerebras/MiniMax-M2-REAP-162B-A10B \
--tensor-parallel-size 8 \
--tool-call-parser minimax_m2 \
--reasoning-parser minimax_m2_append_think \
--trust-remote-code \
--enable_expert_parallel \
--enable-auto-tool-choice
If you encounter insufficient memory when running this model, you might need to set a lower value for --max-num-seqs flag (e.g. set to 64). For more information, refer to the official vLLM deployment guide.
This checkpoint was created by applying the REAP (Router-weighted Expert Activation Pruning) method uniformly across all Mixture-of-Experts (MoE) blocks of MiniMax-M2, with a 30% pruning rate.
REAP selects experts to prune based on a novel saliency criterion that considers both:
This dual consideration ensures that experts contributing minimally to the layer's output are pruned, while preserving those that play critical roles in the model's computations.
📚 For more details, refer to the following resources:
This model is derived from
MiniMaxAI/MiniMax-M2
and distributed under the modified MIT license.
If you use this checkpoint, please cite the REAP paper:
@article{lasby-reap,
title={REAP the Experts: Why Pruning Prevails for One-Shot MoE compression},
author={Lasby, Mike and Lazarevich, Ivan and Sinnadurai, Nish and Lie, Sean and Ioannou, Yani and Thangarasa, Vithursan},
journal={arXiv preprint arXiv:2510.13999},
year={2025}
}