Ergo
Serve Ergo with NVIDIA Dynamo and SGLang on GB300 and B200. The recipes use DSpark speculative decoding and target an agentic SLA of at least 50 user tokens/s (P50) with TTFT P50 below 2 s on the AgentX trace. Pick your serving topology; deployment commands update to match. These recipes are experimental and were measured with one workload.
What changed in this version
- Checkpoint: Ergo from Hugging Face:
Amazon-FMR/Ergo-mxfp8(MXFP8 target model) andAmazon-FMR/Ergo-dspark(DSpark draft model). - Image: a self-contained Dynamo 1.8.0 image with the Ergo SGLang runtime.
- The draft KV cache is bf16 (
--speculative-draft-kv-cache-dtype bf16). It is required. - The workers use the
ergoreasoning and tool-call parsers. The frontend uses--dyn-chat-processor dynamo. - The frontend runs on CPU and requests no GPU.
- Invalid JSON schema requests return HTTP 400.
Choose your deployment target
Prerequisites
- A Kubernetes cluster with the Dynamo platform installed and 8 GB300 GPUs available (2 nodes, 4 GPUs each, in one NVLink domain). The frontend runs on CPU and needs no GPU. See the Kubernetes Deployment Guide.
- A Kubernetes cluster with the Dynamo platform installed and 16 GB300 GPUs available (4 nodes, all in one NVLink domain). The frontend runs on CPU and needs no GPU. See the Kubernetes Deployment Guide.
- A Kubernetes cluster with the Dynamo platform installed and 8 B200 GPUs available on one node, with about 1.45 TiB of free host memory on that node (HiCache and the bf16 draft host pool). The frontend runs on CPU and needs no GPU.
- A Kubernetes cluster with the Dynamo platform installed and 16 B200 GPUs available (2 nodes, 8 GPUs each), with RDMA between the two nodes for the Mooncake KV transfer. The prefill node needs about 1.45 TiB of free host memory (HiCache and the bf16 draft host pool). If your cluster exposes RDMA through a device plugin resource or needs an explicit device list, add them in your own overlay. The frontend runs on CPU and needs no GPU.
- The
v1beta1DynamoGraphDeployment API. The manifests setruntimeVersionOverride: "1.8.0", which pins the runtime version explicitly. - Access to nvcr.io for the runtime image.
- A
shared-model-cachePVC readable from all pods (ReadOnlyMany or ReadWriteMany). The two model directories are about 1.1 TB. - The Ergo weights and the DSpark draft model on that PVC. The model-cache directory has a Job (
model-download.yaml) that downloads them from Hugging Face.
- The NVIDIA ComputeDomain DRA driver. The GB300 manifests create one
ComputeDomainfor the workers.
The model cache uses this layout:
The weights come from the public Hugging Face repositories Amazon-FMR/Ergo-mxfp8 and Amazon-FMR/Ergo-dspark. No token is needed. model-cache/model-download.yaml contains a Job that downloads them into Ergo-mxfp8_hf and dspark_hf on the PVC. See the license in each repository.
Deploy
Create the shared model cache. The Job in the same file fills it with the layout above:
Edit storageClassName in recipes/ergo/model-cache/model-cache.yaml to a class that suits your cluster before you apply it. Review node placement, registry credentials, and resource claims before you apply a manifest.
Deploy the selected DynamoGraphDeployment (DGD). Run only one Ergo recipe on the same nodes.
Plan for a long start. Weight loading is slower when several pods read the same shared volume at once, and CUDA graph capture follows. When many pods read one shared volume, the load can take more than 2 hours. Some clusters remove pods that are not Ready after 2 hours, so start the engine alone.
Smoke Test
The deploy command sets DGD to the selected resource name. Wait for readiness and forward the frontend port:
In a second terminal (set NAMESPACE there too), send a chat completion with the served model name ergo:
Benchmark
Use perf.yaml to run AIPerf 0.13.0 against the deployment. It uses the chat endpoint with streaming on the AgentX agentic trace (semianalysis_cc_traces_weka_062126, scenario inferencex-agentx-mvp), with an agentic warmup and a 1200 s profiling phase. Use the Ergo tokenizer (the Ergo-mxfp8_hf directory) in the client; a wrong tokenizer changes prompt token counts a lot.
Set these values in the Job env section:
ENDPOINT: the frontend Service,${DGD}-frontend:8000.CONCURRENCY: the knee for your target. On GB300 use 48 for aggregated and 96 for disaggregated; on B200 use 66 for aggregated and 32 for disaggregated.DURATION: 1200 s for a full run.
Restart the workers between independent runs. A warm engine gives higher numbers than a fresh one.
Optimization Targets
Performance Results
The knee is the highest concurrency that meets the SLA. Throughput is output tokens/s per worker GPU (8 for aggregated, 16 for 1P1D). The selected target is highlighted. Knobs: sweep at concurrency 48 with the acceptance length pinned to 4.28. The fused Ergo/DSpark kernel settings and attention KV splits are in both recipes. DSpark block size 4 (acceptance 3.60) and block size 5 (acceptance 3.92) are both below block size 7 (acceptance 4.28).
Measurement method. Throughput rows were measured with the DSpark acceptance length pinned to the vendor-measured golden value of 4.28 (block size 7), by using the acceptance simulation of SGLang, so that runs are comparable. Accuracy and functional checks were measured without pinning. The pinning is not part of the recipe: the manifests use real DSpark acceptance.
Accuracy and functional checks
Measured on the aggregated recipe without acceptance pinning:
The functional gate passes 7/7 checks. An invalid JSON schema returns HTTP 400 (it returned HTTP 500 before).
B200, measured without acceptance pinning:
On B200 the QA API suite has one P0 failure on both recipes, high_effort_reasoning on /v1/responses (reasoning-budget exhaustion), the same known failure as on GB300.
Compare All Targets
Notes
- Status is experimental. All results use one trace (AgentX), and throughput was measured with the acceptance length pinned (see the measurement method above).
- The Dynamo frontend rejects some OpenAI parameters:
custom_labels,json_schema, andresponse_formaton/v1/completions;max_tool_callsandtop_logprobson/v1/responses; and more than 32stop_token_ids. min_pis not supported together with DSpark speculative decoding.- Streaming on
/v1/responsesdoes not send theresponse.in_progress,response.created, andresponse.completedevents. - Forward-pass metrics are off in both recipes: the workers set
DYN_FORWARDPASS_METRIC_PORTto an empty string. In the aggregated recipe this is also the cost of SGLang gateway mode (--tokenizer-worker-num 2). This affects the planner and some observability. - The recipe unit is one 8-GPU worker. Scale with independent deployments.
- Disaggregated performance depends on your fabric. KV cache moves between workers with Mooncake: over MNNVL on GB300 and over RDMA on B200.
- On B200 the bf16 draft KV cache reduces the KV cache capacity of one 8-GPU worker (about 2.9M tokens), which limits the 1P1D recipe to low concurrency on the AgentX trace.
Source
- Deployment assets: Ergo recipes
- Setup assets: model-cache.yaml and model-download.yaml
- Benchmark manifest: perf.yaml
- Full measurements and sweeps: recipe README
- GB300 aggregated: deployment manifest
- GB300 disaggregated: deployment manifest
- B200 aggregated: deployment manifest
- B200 disaggregated: deployment manifest