TinkerLab
ARTIFACT // RUN-AMAZON-ERGO-VLLM-SGLANG-DSPARK.SH (SHELL)

Amazon Ergo (1.1T-A55B MXFP4) Day-0 vLLM DeepGEMM + DSpark / SGLang & Bedrock Probe (run-amazon-ergo-vllm-sglang-dspark.sh)

Launches self-hosted Amazon-FMR/Ergo (MXFP4 ~626 GB) on single-node 8× H200 / GB200 / GB300 via vLLM (with 5-layer DSpark speculative decoding & selective FP8 KV cache) or SGLang, and includes an AWS Bedrock Trainium3 / Trainium3SR latency benchmark mode.

[KEY VERIFIED TAKEAWAY / TL;DR]This reproducible configuration artifact "Amazon Ergo (1.1T-A55B MXFP4) Day-0 vLLM DeepGEMM + DSpark / SGLang & Bedrock Probe" (run-amazon-ergo-vllm-sglang-dspark.sh, SHELL) is paired with Tinker AI Lab's hardware-verified guide "aws-reinvent-2026-trainium3sr-sram-decode-and-amazon-ergo-1t-moe-vllm-sglang-dspark". It exposes 6 customizable browser variables (RUN_MODE=vllm_ergo_dspark, MODEL_REPO=Amazon-FMR/Ergo, DRAFT_REPO=Amazon-FMR/Ergo-dspark, TP_SIZE=8, MAX_MODEL_LEN=262144, LISTEN_PORT=8000) with loopback-first security defaults.
01 // HOMELABLocal AI / HomeLab· Verified: 2026-12-02
Browse All 76 Artifacts →
run-amazon-ergo-vllm-sglang-dspark.sh

Amazon Ergo (1.1T-A55B MXFP4) Day-0 vLLM DeepGEMM + DSpark / SGLang & Bedrock Probe

Launches self-hosted Amazon-FMR/Ergo (MXFP4 ~626 GB) on single-node 8× H200 / GB200 / GB300 via vLLM (with 5-layer DSpark speculative decoding & selective FP8 KV cache) or SGLang, and includes an AWS Bedrock Trainium3 / Trainium3SR latency benchmark mode.

View Paired Guide →
Customizable Variables (Saved in Browser)
UTF-8 Encoded · Live Client-Side Compilation
#!/usr/bin/env bash
# Tinker AI — Amazon Ergo (1.1T-A55B MXFP4) vLLM DSpark / SGLang Launcher (Guide #75)
set -euo pipefail

MODE="vllm_ergo_dspark"
MODEL="Amazon-FMR/Ergo"
DRAFT="Amazon-FMR/Ergo-dspark"
TP="8"
CTX="262144"
PORT="8000"

if [ "$MODE" = "vllm_ergo_dspark" ]; then
  echo "=== [vLLM Day-0 Amazon Ergo MXFP4 (~626GB) + 5-Layer DSpark Speculator] ==="
  echo "Tip: Official container image: vllm/vllm-openai:amazon-fmr-ergo"
  exec vllm serve "$MODEL" \
    --tensor-parallel-size "$TP" \
    --enable-expert-parallel \
    --max-model-len "$CTX" \
    --kv-cache-dtype fp8 \
    --speculative-config "{\"model\":\"$DRAFT\",\"num_speculative_tokens\":5}" \
    --gpu-memory-utilization 0.90 \
    --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "sglang_ergo_tp8" ]; then
  echo "=== [SGLang Day-0 Amazon Ergo 1.1T-A55B · 1M Context SWA-512 + NoPE] ==="
  exec python3 -m sglang.launch_server \
    --model-path "$MODEL" \
    --tp "$TP" \
    --context-length "$CTX" \
    --kv-cache-dtype fp8_e4m3 \
    --mem-fraction-static 0.88 \
    --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "bedrock_ergo_bench" ]; then
  echo "=== [AWS Bedrock Trainium3 (>400 tok/s) / Trainium3SR Turbo (up to 2,200 tok/s) Probe] ==="
  echo "Pricing reference (Standard Trainium3): \$1.00 / 1M input (\$0.03 cached) | \$3.00 / 1M output"
  aws bedrock-runtime converse \
    --model-id amazon.ergo-v1:0 \
    --messages '[{"role":"user","content":[{"text":"Write a concise Rust ring buffer with zero unsafe blocks."}]}]' \
    --inference-config '{"maxTokens":512,"temperature":0.2}' \
    --query '{outputTokens:usage.outputTokens,latencyMs:metrics.latencyMs}'
else
  echo "Unknown RUN_MODE=$MODE" >&2
  exit 1
fi
PARAMETER SPECIFICATION // 参数化变量规范说明表

Customizable Parameter Reference for run-amazon-ergo-vllm-sglang-dspark.sh

This SHELL artifact exposes 6 template variables compiled client-side in your browser.

Template TokenParameter DescriptionVerified DefaultExample Format
{{RUN_MODE}}Mode (vllm_ergo_dspark | sglang_ergo_tp8 | bedrock_ergo_bench)vllm_ergo_dsparkvllm_ergo_dspark
{{MODEL_REPO}}Hugging Face Repo or Local PathAmazon-FMR/ErgoAmazon-FMR/Ergo
{{DRAFT_REPO}}DSpark Draft Speculator RepoAmazon-FMR/Ergo-dsparkAmazon-FMR/Ergo-dspark
{{TP_SIZE}}Tensor Parallel GPUs (e.g. 8 for 8×H200)88
{{MAX_MODEL_LEN}}Max Context Length (up to 1048576)262144262144
{{LISTEN_PORT}}OpenAI API Port80008000
PAIRED HARDWARE MANIFEST // 配套实测环境与边界记录

Verified Environment for "AWS re:Invent 2026 Disaggregated SRAM Inference & 1.1T Open-Weight MoE: AWS Trainium3SR (2,200 tok/s) vs Self-Hosting Amazon Ergo (1.1T-A55B · 1M Context · MXFP4 626GB) on vLLM DSpark & SGLang"

Tested Hardware & OS

AWS Trainium3 + Trainium3SR (Disaggregated SRAM Decode Preview) vs Single-Node 8× NVIDIA H200 SXM (1,128GB HBM3e · 38.4 TB/s) / GB200 / GB300

Pinned Stack & Model Versions
vLLM Day-0 (vllm/vllm-openai:amazon-fmr-ergo · DeepGEMM MegaMoE / Marlin)SGLang Day-0 (FP8 KV Cache · 1M Context SWA-512 + NoPE)Amazon-FMR/Ergo (MXFP4 ~626 GB) + Amazon-FMR/Ergo-dspark (5-Layer Speculator)
Offline Boundary (100% air-gapped self-hosting on 8× H200 / GB200+ (with Bedrock API hybrid option))

Amazon Ergo weights on Hugging Face (Amazon-FMR/Ergo, Ergo-mxfp8, Ergo-bf16) are ungated and free to self-host internally with no revenue cap; a separate MaaS agreement with Amazon applies only if commercial third-party API revenue exceeds $20M over 12 months.

Known Operational Limits & Failure Modes
  • Trainium3SR Turbo mode (up to 2,200 tok/s) launched in limited preview on Dec 1, 2026 with final Turbo pricing still TBD.
  • Even in MXFP4 (~626 GB), Amazon Ergo exceeds single-workstation 512GB unified memory; full GPU-speed self-hosting requires at least a single 8× H200 (1,128GB) or GB200/GB300 node.
DEPLOYMENT CHECKLIST // 配置落地核验步骤

3-Step Verification Checklist After Deploying run-amazon-ergo-vllm-sglang-dspark.sh

  1. Confirmed aggregate HBM capacity >= 1,024 GB (e.g., 8× H200 1,128GB) before pulling Amazon-FMR/Ergo (~626 GB MXFP4).
  2. Enabled --kv-cache-dtype fp8 and --speculative-config pointing to Amazon-FMR/Ergo-dspark in vLLM.
  3. Reviewed Amazon Ergo Open-Weights License terms (internal/product embedding unrestricted; $20M MaaS threshold noted).