# Amazon FMR Open-Sources Ergo Model, SGLang and Miles Support Inference and RL Post-Training on Day One

> 1.1T-parameter MoE model targets agentic coding; SGLang achieves 76,115 tokens per second on a single NVIDIA Vera Rubin GPU

- **Canonical URL**: https://aipress.im/en/article/amazon-ergo-sglang-miles-day0-support-7db79e8ba778
- **Markdown URL**: https://aipress.im/en/article/amazon-ergo-sglang-miles-day0-support-7db79e8ba778.md
- **Language**: English (en)
- **Published**: 2026-11-30T16:00:00.000Z
- **Updated**: 2026-12-01T20:17:26.694Z
- **Category**: AI Products
- **Editorial Score**: 77/100
- **Primary Source**: LMSYS Blog (https://www.lmsys.org/blog/2026-12-01-amazon-ergo)
- **Topics**: AI Agents, AI Coding & DevTools, Data & Training, Model Releases, Inference & Serving, Open Weights
- **Entities**: Amazon / Nova

## Executive Summary

Amazon Frontier Model Research unveiled Ergo, its first open-weight MoE model, at AWS re:Invent, with SGLang and Miles providing same-day support for inference and reinforcement learning post-training. SGLang reaches 76,115 tokens per second on a single NVIDIA Vera Rubin GPU, while Miles offers a LoRA RL recipe on 16 GB300 GPUs.

## Key Takeaways (TL;DR)

- Amazon FMR releases Ergo with 1.1T total parameters and 55B activated, supporting 1M context and up to 128K output, open-sourced in MXFP4, MXFP8, and BF16 precisions.
- SGLang supports Ergo inference on day one across NVIDIA Vera Rubin, GB300, B300, B200, and AWS Trainium3; with MXFP4 weights, Vera Rubin reaches up to 76,115 tokens per second on a single GPU.
- Miles provides Day-0 reinforcement learning post-training support using a co-located LoRA setup on 16 GB300 GPUs, combining MXFP8 SGLang rollout with a BF16 Megatron trainer.

## Ergo Architecture: Sparse Experts and Hybrid Attention for Long-Context Efficiency

Ergo is the first open-weight model released by Amazon Frontier Model Research (FMR), unveiled during the AWS re:Invent keynote. It uses a mixture-of-experts (MoE) architecture with 1.1T total parameters and 55B activated per token, targeting agentic coding and professional work scenarios. The model has 64 layers—one leading dense layer and 63 MoE layers—with a hidden dimension of 8,192, supporting a 1,048,576-token context and up to 131,072 tokens of output.

For attention, Ergo alternates between 48 layers of local sliding-window attention (window size 512, using RoPE) and 16 layers of global attention (one every four layers, without positional encoding). Combined with FP8 KV cache, global layers store only 32 KiB per token, so a 1M-token sequence requires roughly 32 GiB of KV cache across the model—just a quarter of the 128 GiB needed by a fully global attention architecture—while sliding-window layers add only about 48 MiB regardless of sequence length.

- MoE layers contain 256 routed experts (top-8, non-gated ReLU² activation, intermediate dimension 4,096) plus 1 shared expert (intermediate dimension 8,192), using sigmoid top-k routing and DeepSeek-style load balancing.
- Amazon also released the DSpark speculative decoding draft model (BF16, 5 dense layers, Markov rank 256, block_size=8), totaling 6.48 GB.
- Weights in all three precisions are available on Hugging Face: MXFP4 at 626 GB, MXFP8 at 1.17 TB, and BF16 at 2.22 TB.

> With MXFP4 weights, SGLang achieves 76,115 tokens per second on a single NVIDIA Vera Rubin GPU, with single-stream decoding at 655 tokens per second; at the same per-user token rate, Vera Rubin delivers up to 10x the single-GPU throughput of GB300.

### Hybrid KV Cache and HiCache Offloading

SGLang maintains two KV pools for Ergo: a full-length pool for global layers and a local pool for sliding-window layers, with entries evicted from the window released immediately. A unified Radix cache covers both pools, enabling multi-turn agent sessions to reuse system prompts, tool definitions, and codebase context. Across 39,553 requests in four rounds of DeepSWE runs on 8 GB300 GPUs, prefix cache hit rates reached 99.04% to 99.08%.

HiCache was supported on launch day: with L2 host-memory offloading enabled (120 GiB per rank, 480 GiB per 4-GPU node), evicted KV pages spill to pinned CPU memory and reload into GPU HBM bit-identically to GPU L1 hits. In a 64-session agent benchmark on 8× GB300, enabling HiCache L2 and expanding L1 raised prefix cache hit rates from 52.6% to 98.2% and cut step latency from 269 seconds to 75.3 seconds.

## SGLang Inference Deployment: Multi-Hardware Coverage and MoE Execution Optimizations

SGLang, in collaboration with Amazon FMR and NVIDIA, provides Ergo inference support on launch day across NVIDIA Vera Rubin, GB300, B300, B200, 2× NVIDIA DGX Station, and AWS Trainium3, with native adaptation to its architecture, tokenizer, and CONTROL token protocol. The reference deployment is 16× GB300 (TP16 / EP16 with attention DP4), where attention runs in four data-parallel groups of four GPUs each and experts are sharded across all 16 GPUs, supporting MXFP4, MXFP8, and full BF16 weights.

Because Ergo's vocabulary spans 262K tokens and its language model head has about 2.1 billion parameters, SGLang shards it within each attention group (--enable-dp-lm-head) to avoid cross-group all-gathers. MoE execution defaults to token dispatch and combine via DeepEP v2 direct mode, with grouped expert GEMMs running on the DeepGEMM MoE executor; two optional paths are also available: the megamoe backend performs dispatch, grouped GEMM, per-expert RMSNorm, and combine in a single pass using fused Blackwell kernels over NVLink symmetric memory, while the none backend targets low-concurrency, workstation, and disaggregated decoding scenarios.

- At MXFP4 precision, SGLang also supports smaller deployments such as 8 GB300 GPUs, 4 GB300 GPUs in a single node, and 2× NVIDIA DGX Station with host-offloaded expert weights.
- Only routed experts are quantized; SGLang can also quantize BF16 checkpoints to MXFP4 or MXFP8.
- The Docker image lmsysorg/sglang:ergo and recipes in the SGLang Cookbook were released simultaneously.

> In SemiAnalysis AgentX coding-agent trajectory tests with MXFP4 weights, SGLang achieved 43,874 tokens per second on a single GB300 GPU.

## Miles RL Post-Training: Day-0 Recipe and Co-Located LoRA Setup

Miles provides reinforcement learning post-training support on Ergo's launch day, using a co-located LoRA setup on 16 GB300 GPUs with MXFP8-precision SGLang rollout paired with a BF16 Megatron trainer. This recipe lets research teams and enterprises begin RL fine-tuning for agentic coding tasks on the day the model is open-sourced, without waiting for framework adaptation.

From a technical standpoint, Ergo's hybrid attention and sparse expert design significantly reduce KV cache overhead in long-context agent scenarios, while SGLang's prefix caching and HiCache offloading further amplify reuse benefits across multi-turn sessions. For model deployers in Asia-Pacific, support for 8 or even 4 GB300 GPUs at MXFP4 precision means larger models can run on smaller clusters, though actual throughput and latency still need validation against specific workloads.

- Miles' Day-0 recipe covers co-located LoRA reinforcement learning, with rollout and training sharing the same pool of GPU resources.
- SGLang's MXFP4 validation covers both GB300 and Vera Rubin hardware.
- Ergo's CONTROL token protocol is natively supported by SGLang, facilitating agentic tool calls.

> Amazon positions Ergo as an open-weight model for agentic coding and professional work, with weights in three precisions and the DSpark draft model available for download simultaneously.

## Industry Impact & Outlook

Ergo is Amazon FMR's first open-weight release, and its 1.1T-parameter scale with day-one SGLang and Miles support shows that collaboration between open-source inference stacks and cloud providers' in-house models is accelerating. For the Asia-Pacific AI community, support for 4 to 8 GB300 GPUs at MXFP4 precision lowers the barrier to deploying large-scale MoE models, though actual selection still requires evaluating throughput and latency needs for agentic coding workloads.

## Frequently Asked Questions

#### What is Amazon Ergo?

Ergo is the first open-weight mixture-of-experts model released by Amazon Frontier Model Research, with 1.1T total parameters and 55B activated per token. It supports a 1M-token context and up to 128K output, targets agentic coding and professional work, and is open-sourced in MXFP4, MXFP8, and BF16 precisions.

#### What support do SGLang and Miles provide for Ergo?

SGLang provides inference support on launch day across NVIDIA Vera Rubin, GB300, B300, B200, 2× DGX Station, and AWS Trainium3, with native adaptation to its architecture and CONTROL token protocol; Miles provides a Day-0 reinforcement learning post-training recipe using a co-located LoRA setup on 16 GB300 GPUs.

#### How does Ergo perform on NVIDIA Vera Rubin?

In SemiAnalysis AgentX coding-agent trajectory tests with MXFP4 weights, SGLang achieved up to 76,115 tokens per second on a single Vera Rubin GPU, with single-stream decoding at 655 tokens per second; at the same per-user token rate, Vera Rubin delivers up to 10x the single-GPU throughput of GB300.
