Description
Amazon Ergo DSpark is an open-weights speculative decoding draft model developed with 3.24 billion parameters, specifically engineered to accelerate inference for the Amazon Ergo language model family. Operating as a draft network, Ergo DSpark generates token sequences ahead of the target model, allowing the larger primary system to verify and accept multiple tokens in a single forward pass, significantly reducing overall generation latency without sacrificing output quality.
Read More
The model architecture comprises five decoder layers with an 8,192 hidden size and a 16,384 feed-forward size. It incorporates grouped-query attention featuring 64 query heads, 8 key/value heads, and a 32,768-token sliding window to maintain context across extended inputs. Target layer IDs are set at layers 1, 16, 31, 46, and 61. The draft block generates 8 draft tokens per block step, while a rank-256 Markov head serves as the confidence head for token evaluation. The vocabulary size spans 262,144 tokens, and the model weights are distributed in BF16 format, occupying 6.48 GB in a single safetensors file.
Designed for deployment alongside the base Amazon Ergo model and tokenizer, Ergo DSpark requires a serving runtime that implements the DSparkDraftModel architecture. Integration instructions and serving recipes are provided through the SGLang Ergo cookbook and vLLM Ergo recipe documentation. Checkpoint integrity can be validated using SHA256 verification tools provided within the repository files. The model is released under the Amazon Ergo Open-Weights License and is intended for researchers and engineers deploying large language model inference pipelines on supported cloud infrastructure and serving frameworks.
Targeted primarily at machine learning engineers, MLOps professionals, and backend infrastructure teams, Ergo DSpark offers a specialized solution for production environments seeking to optimize large language model throughput and response times. By offloading preliminary token prediction to a lightweight 3.24B draft network, organizations can achieve higher token-per-second generation rates while utilizing standard serving frameworks like vLLM and SGLang. Limitations include the requirement for compatible serving runtimes supporting the DSparkDraftModel implementation and adherence to the specific configuration parameters outlined in the model documentation.
- CategoryAI Models & LLMs
- Pricing ModelUsage-based
- DeploymentCloud
- PlatformsWeb
Amazon Ergo DSpark Highlights
3.24B parameter speculative decoding draft model
5 decoder layers with 8,192 hidden size
16,384 feed-forward size architecture
Grouped-query attention with 64 query heads and 8 key/value heads
32,768-token sliding window support
Draft block generation of 8 draft tokens
Rank-256 Markov confidence head
262,144 token vocabulary size
BF16 weight precision in a 6.48 GB safetensors file
Compatible with SGLang and vLLM serving frameworks
Getting Started with Amazon Ergo DSpark
Access model: Download the model weights and tokenizer files from Hugging Face
Authenticate: Set up necessary Hugging Face credentials for repository access if required
Set up environment: Configure the serving runtime environment with support for DSparkDraftModel implementation
Integrate via API: Configure SGLang or vLLM using the provided Ergo cookbook and serving recipes
Optimise: Run checkpoint verification using sha256sum and deploy the draft checkpoint alongside the base Amazon Ergo model
Amazon Ergo DSpark's Use Cases
- Speculative Decoding Acceleration
- LLM Serving Optimization
- Cloud AI Infrastructure
- High-Throughput Text Generation
- Research and Experimentation










