Ergo-MXFP4-Global-Pruned-15
This model applies Nota AI's non-uniform expert pruning (15% of routed experts removed) to Amazon-FMR/Ergo (MXFP4).
1M context with DSpark speculative decoding on 4 x B200 (TP4) instead of 8 x B200
- Routed experts: 16,128 → 13,712 (200–256 per layer; MoE layers 1, 2, 62 and 63 keep all 256; layer 0 is dense); 15% removed by Nota non-uniform expert pruning
- Checkpoint size: 583 GiB → 503 GiB (same MXFP4 format and MegaMoE kernel as the original)
Installation
Ergo support is not in a vLLM release yet; use the official Ergo image vllm/vllm-openai:amazon-fmr-ergo
(vLLM 0.1.dev26190+g7fd7b0f93) and patch the vLLM package inside it. The Ergo code in vLLM builds every MoE layer with 256 experts and cannot load this checkpoint; the patch adds
per-layer expert counts (num_experts_per_layer). Details: patch/README.md.
cd patch
python apply_patch.py --dry-run # show the changes
python apply_patch.py # apply the patch (originals are backed up to vllm/.nota_patch_backup/)
python apply_patch.py --revert # restore the original files
export ERGO_MEGA_MOE_SHARE_SYMM_BUFFER=1
export VLLM_USE_RUST_FRONTEND=1 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True NCCL_CUMEM_ENABLE=1
vllm serve <this repo> \
--served-model-name Amazon-FMR/Ergo \
--tensor-parallel-size 4 \
--enable-expert-parallel \
--moe-backend deep_gemm_mega_moe \
--max-model-len 1048576 \
--max-num-seqs 32 \
--max-num-batched-tokens 8192 \
--enable-prefix-caching \
--async-scheduling \
--attention-backend FLASHINFER \
--attention-config '{"disable_flashinfer_q_quantization":true,"use_trtllm_attention":true,"flashinfer_balanced_decode":true}' \
--kv-cache-dtype fp8 \
--kv-cache-dtype-skip-layers sliding_window \
--enable-batch-sharded-sampling \
--enable-auto-tool-choice \
--tool-call-parser ergo \
--tool-strict-level function \
--reasoning-parser ergo \
--speculative-config '{"method":"dspark","model":"Amazon-FMR/Ergo-dspark","num_speculative_tokens":8,"attention_backend":"FLASH_ATTN","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' \
--draft-kv-pool
Performance (vs. the original)
| Benchmark | Original MXFP4 (B200 × 8) | Ours (B200 × 4) | Δ |
|---|---|---|---|
| IFEval (English) | 94.82 | 93.90 | -0.92 |
| IFBench (English) | 68.33 | 73.33 | +5.00 |
| GPQA-Diamond (English) | 91.41 | 88.38 | -3.03 |
| AIME 2026 (English) | 100.00 | 90.00 | -10.00 |
| LiveCodeBench v6 (English) | 84.07 | 78.57 | -5.50 |
| BenchMAX IFEval-ko (Korean) | 95.10 | 93.24 | -1.86 |
| KoBALT (Korean) | 80.00 | 79.00 | -1.00 |
| CLIcK (Korean) | 91.68 | 88.72 | -2.96 |
| Average | 88.18 | 85.64 | -2.54 |
- Original: Amazon-FMR/Ergo on B200 × 8 (DP2 × TP4), same settings
- Max generation length: 65,536 tokens (including reasoning); temperature 1.0, top-p 0.99 (the
generation_config.jsonof Ergo)
Serving throughput (vs. the original)
Output throughput per GPU at the same number of concurrent requests per 4 GPUs.
| Concurrent requests per 4 GPUs | Original MXFP4, B200 × 8 (tok/s per GPU) | Ours, B200 × 4 (tok/s per GPU) | Δ |
|---|---|---|---|
| 8 | 193.7 | 196.5 | +1.4% |
| 16 | 260.7 | 274.6 | +5.3% |
| 32 | 344.1 | 371.8 | +8.0% |
vllm bench serve, input 16,384 tokens / output 1,024 tokens, with the serving command above (1M context, DSpark)
Contact
This model has been compressed and optimized by Nota Inc.(“Nota”).
Please contact Nota at [email protected] if you intend to use the components compressed and optimized by Nota for commercial purposes or if you wish to explore separate agreements for technical support, further optimization, or enhanced models. Nothing contained in this Model Card should be interpreted as or deemed a restriction, modification, or supersession of any applicable license governing this model.
License
This model is a modified version of Amazon Ergo and is licensed under the Amazon Ergo Open-Weights License (LICENSE.md), including its Acceptable Use Policy (Exhibit A).
It is not an official Amazon release and is not endorsed by Amazon.
You must not use this model in a manner that infringes, misappropriates, or otherwise violates any third party’s rights, including intellectual property rights.