Ergo activates about 55 billion of its 1.1 trillion parameters per token. Coding sessions create two distinct costs. Repository history and tool output accumulate in KV memory, while the feed-forward path has to deliver each token to its selected experts. The SGLang deployment exposes both costs.

SGLang & Miles Team, Amazon FMR, NVIDIA · 2026-12-01 · SGLang and Miles Add Day-0 Support for Amazon Ergo

Two attention spans require two eviction schedules

Of 64 layers, 48 attend to the most recent 512 positions and 16 attend globally. Allocating all layers for the full sequence would let expired local state displace new requests. SGLang keeps separate pools, releasing local pages as the window moves while global pages grow with the sequence. In the reported FP8 configuration, a million-token sequence uses about 32 GiB for global layers plus about 48 MiB for local layers. A common radix cache supports prefix reuse in both pools. Four DeepSWE runs generated 39,553 requests on eight GB300s and achieved 99.04%–99.08% prefix hit rates, a result that depends on repeated prefixes.

Per-expert normalization constrains fusion

Each layer routes a token to eight of 256 routed experts and adds a shared expert. Per-expert output RMSNorm constrains the order of operations: combining before normalization would change the result. A fused Blackwell path performs dispatch, low-precision grouped matrix multiplications for ReLU² experts, normalization and combination in one kernel. A low-concurrency alternative computes local expert contributions on each rank and folds routed and shared partial sums into one all-reduce. Which path fits depends on the parallel layout and concurrency.

Throughput, cache hits and rollout rewards answer different questions

With MXFP4 weights and FP8 KV, AgentX coding traces peaked at 76,115 tokens/s/GPU on Vera Rubin and 43,874 on GB300. Those are multi-request serving points. In a separate 64-session test on eight GB300s with an initial 8.22-million-token working set, expanding GPU L1 and enabling host L2 together raised prefix hits from 52.6% to 98.2% and reduced step latency from 269 to 75.3 seconds. Both capacity changes contribute. Miles separately exercised colocated LoRA reinforcement learning. Its reward curve describes the training rollout, a different measurement from serving throughput.

Rollout rewards and their moving average track progress in the colocated LoRA run.View original ↗

Rollout rewards and their moving average track progress in the colocated LoRA run.

Checking the state returned by a cache hit

Moving pages to host memory expands capacity, but a hit must also return the right state. For BF16 and FP8 KV, the team checked that L2-to-L1 and L3-via-L2 reloads were bit-identical to GPU L1 hits. Each performance result has its own constraint too. The AgentX curves impose a ten-second p90 first-token limit, while the Miles reward curve covers steps 0–79 on DAPO-Math-17k with 16 GB300s. Cache integrity, latency-constrained throughput and training progress each have a different verification condition.