Ergo-NVFP4-Global-Pruned-15
This model applies NVFP4 quantization and Nota AI's non-uniform expert pruning (15% of routed experts removed) to Amazon-FMR/Ergo-bf16.
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 → 529 GiB
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 cannot load NVFP4 routed experts or per-layer expert counts; the patch adds loading of
these NVFP4 weights, per-layer expert counts (num_experts_per_layer) and the bundled MoE kernel tactics. 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_MOE_TACTICS_FILE=$PWD/patch/tactics/ergo_nvfp4_p15_tactics.json # fixed MoE kernel tactics (B200 only)
export VLLM_FLASHINFER_AUTOTUNE_SKIP_OPS=flashinfer::trtllm_fp4_block_scale_moe
export VLLM_FLASHINFER_AUTOTUNE_CACHE_DIR=$(mktemp -d)
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 flashinfer_trtllm \
--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
- The three tactics variables apply to NVIDIA B200 only. The tactics file was generated on B200 with FlashInfer 0.7.4,
CUDA 13.0 and cuDNN 9.24.0; with any other GPU or library version FlashInfer ignores it. On other GPUs, drop the three
variables and set
VLLM_ENGINE_READY_TIMEOUT_S=7200, because the default MoE autotune at startup takes over an hour
Performance (vs. the original)
| Benchmark | Original MXFP4 (B200 × 8) | Ours (B200 × 4) | Δ |
|---|---|---|---|
| IFEval (English) | 94.82 | 94.82 | +0.00 |
| IFBench (English) | 68.33 | 70.67 | +2.34 |
| GPQA-Diamond (English) | 91.41 | 88.89 | -2.52 |
| AIME 2026 (English) | 100.00 | 100.00 | +0.00 |
| LiveCodeBench v6 (English) | 84.07 | 81.32 | -2.75 |
| BenchMAX IFEval-ko (Korean) | 95.10 | 93.71 | -1.39 |
| KoBALT (Korean) | 80.00 | 78.14 | -1.86 |
| CLIcK (Korean) | 91.68 | 89.82 | -1.86 |
| Average | 88.18 | 87.17 | -1.01 |
- 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)
Server startup: MoE kernel tactics (before → after)
The tactics file stores the FlashInfer MoE kernel selected on NVIDIA B200 for every expert count and token-count bucket of this model; the server loads it instead of timing every candidate kernel at each start (vLLM's default MoE autotune). It applies to B200 only: on other GPUs or library versions FlashInfer ignores the file and runs the default autotune.
| Without tactics file | With ergo_nvfp4_p15_tactics.json |
|
|---|---|---|
| Server start | 70 min 17 s | 6 min 32 s |
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.