Amazon Ergo Day 0 support for vLLM

Overview

vLLM now provides day-0 support for Amazon Ergo, a 1.1T-parameter sparse mixture-of-experts (MoE) model developed by Amazon Frontier Model Research (FMR). Designed for long-horizon reasoning and agentic coding, the model features a 1M-token context window and utilizes specialized architectures like non-gated ReLU² experts and DSpark speculative decoding to maximize performance on modern hardware.

Model Architecture

Amazon Ergo is a 64-layer sparse MoE decoder with 1,105.6B total parameters and approximately 55B active parameters per token. The architecture includes:

  • MoE Layers: Layers 1–63 utilize 256 routed experts (top-8) and one shared expert. Layer 0 is a dense ReLU² MLP.
  • Attention Mechanism: A 3:1 hybrid approach where three of every four layers use 512-token sliding-window attention, while every fourth layer attends over the full 1M context using global NoPE (No Positional Encoding) attention.
  • Normalization: The model employs sandwich RMSNorm and gated FP32 residuals to maintain stability across all 64 layers.
  • Vocabulary: A 262K vocabulary size.

Quantization and Hardware Support

Amazon Ergo ships with multiple precision options to optimize deployment across NVIDIA Blackwell (GB300, GB200, B300) and Hopper (H200) architectures:

  • MXFP4/MXFP8: Routed experts are pre-quantized in MXFP4 or MXFP8. BF16 versions are also available and can be quantized to MXFP8 at load time.
  • DeepGEMM MegaMoE: On Blackwell hardware, the model uses custom kernels to fuse symmetric-memory EP dispatch/combine, per-expert RMSNorm, and expert execution into a single launch.
  • Selective KV Caching: By quantizing only the 16 global target layers and 5 DSpark draft layers to FP8, the system achieves a 1.91× expansion in GPU KV capacity while maintaining BF16 accuracy parity.

Speculative Decoding with DSpark

Amazon Ergo includes a native 5-layer DSpark draft model (Amazon-FMR/Ergo-dspark) to accelerate inference. On 8× NVIDIA B300 hardware, DSpark significantly improves performance:

  • Single-user: Decode speed increases nearly 3× (from 101.4 to 300.9 tok/s/user).
  • High Concurrency: Aggregate throughput increases by 1.66× at a concurrency of 256. Enabling adaptive verification further improves aggregate throughput to 1.89× over non-speculative baselines.

Reinforcement Learning Integration

vLLM supports Day-0 LoRA RL for Amazon Ergo through integration with SkyRL. This setup allows for rollout engines to serve MXFP8 experts while performing online updates to LoRA adapters. Validation on the AIME-2024 benchmark showed an accuracy improvement from 30.4% to 37.5% over 50 training steps, demonstrating the model's capability for iterative refinement in agentic workflows.

Sources