EAGLE-4: One Flexible Drafter for All Batch Sizes and Hardware
EAGLE-4 introduces a speculative decoding framework that speeds up large language model inference. The system employs a single draft model that adapts its draft tree to accommodate varying batch sizes, hardware configurations, and workload characteristics while preserving the target model's output distribution. This approach enables significant throughput improvements across diverse deployment scenarios.
Performance benchmarks on NVIDIA B300 GPUs
Testing on four NVIDIA B300 GPUs demonstrates substantial speedups over baseline inference without speculation. With Qwen3.8-27B at temperature 0 using SPEED-Bench evaluations, EAGLE-4 achieves 3.40× faster throughput than SGLang for single request processing. The speedup scales across concurrent request levels: 1.91× faster at 8 concurrent requests and 1.35× at 64 concurrent requests. vLLM shows similar gains at 2.96× for one request, 1.70× at 8 concurrent, and 1.16× at 64 concurrent. TokenSpeed, an experimental engine, reports 2.02× at 8 concurrent and 1.42× at 64 concurrent.
AMD MI355X compatibility
On a single AMD MI355X GPU, EAGLE-4 paired with SGLang delivers 2.07× faster throughput at 8 concurrent requests and 1.56× at 32 concurrent requests. These results demonstrate the framework's adaptability beyond NVIDIA hardware, though performance characteristics differ based on underlying architecture.
Technical requirements and deployment
The system requires Linux operating system with four NVIDIA GPUs featuring CUDA 13 driver (tested on B300). Approximately 70 GB of disk space is needed for Qwen3.8-27B model weights and its associated EAGLE-4 draft model. The repository functions as eagle-harness, integrating EAGLE-4 drafts within SGLang, vLLM, and TokenSpeed engines.
Installation methods
Two primary installation paths exist. Docker deployment involves running an SGLang container with specified environment variables and volume mounts for Hugging Face cache. The command configures four tensor parallel units, disables overlap scheduling, and sets EAGLE_HARNESS as the speculative algorithm with 12 speculative steps, top-k value of 4, and 16 draft tokens.
Alternatively, Python 3.12 users can create a virtual environment and install via pip with appropriate index URLs for CUDA 13 compatible wheels. The installation pulls eagle-harness and sglang packages from custom repositories alongside PyPI and PyTorch wheels.
Request execution
After server initialization confirmed by "The server is fired up and ready to roll!" message, clients can send chat completion requests via curl. Example requests specify model path, message format with user role, and token limits.
Licensing considerations
EAGLE-4 operates under source-available licensing rather than OSI-approved open source. The Eagle 4 Source-Available License governs usage, modification, and distribution, incorporating an Eagle Trademark Policy. Commercial use beyond $20 million aggregate revenue measured over any consecutive 12-month period requires separate commercial agreement. The license terms specify this requirement persists even after subsequent revenue decreases. Users contributing to the repository agree to Eagle Contribution License and Submission Terms, with Eagle AI Corp controlling outbound licensing for accepted contributions.
Citation and attribution
Appropriate citation follows the EAGLE-4 paper preprint. The framework builds upon previous EAGLE, EAGLE-2, and EAGLE-3 iterations. SPEED-Bench serves as the benchmarking framework, developed by NVIDIA. Model weights remain licensed by their respective owners.
Acknowledgments
Contributions to the ROCm port of EAGLE-4 on AMD Instinct MI355X came from Aditya Nandakumar and contributors. AMD AITER and Triton kernels on GFX950 were developed by Andy Luo and team. TokenSpeed implementation, including MLP L2 warm-ahead and TGV SwiGLU work, acknowledged Nicolas Perrin and TokenSpeed/LightSeek contributors. The EAGLE-4 project received PR contributions across multiple dimensions including ROCm porting, kernel development, and engine integration.