eagle-hq/EAGLE-4
EAGLE-4
Official Inference Code of EAGLE-4
GitHub metrics
- Stars
- 1.2K
- -69 this week
- Forks
- 45
- 30-day growth
- —
- Open issues
- 4
| Day | GitHub stars |
|---|---|
| 2026-10-29 | 1035 |
| 2026-11-16 | 1290 |
| 2026-11-23 | 1221 |
What it does
EAGLE-4 is a Python package that uses speculative decoding to speed up large language model generation. Its eagle-harness plugin works with SGLang, vLLM and TokenSpeed. A separate trained draft model proposes tokens, which the target model then verifies. The serving engine continues to handle requests, scheduling, sampling and its HTTP interface. EAGLE-4 adjusts the amount of drafting based on measured serving costs, batch size and workload. It is intended for developers running inference servers rather than people looking for a ready-made chat application.
The documented starting point pairs Qwen3.8-27B with an EAGLE-4 draft checkpoint on SGLang. Installation options include published Docker images and engine-specific Python packages. The NVIDIA quick start uses Linux with a CUDA 13 driver and was checked on a B300 GPU. Separate guides cover vLLM, TokenSpeed and SGLang on AMD MI355X. SGLang measures drafting costs during serving, while tuned vLLM and TokenSpeed configurations use calibration data. Published throughput measurements show gains under specified model, hardware and concurrency settings. The documentation also records slower high-load cases, numerical differences in some correctness checks and hardware configurations that have not been qualified.
Why it matters
Speculative decoding can waste computation when drafting costs exceed the benefit of accepted tokens. EAGLE-4 addresses this by choosing draft work from measured serving costs instead of using the same tree size for every workload. It integrates with existing inference servers, retaining their scheduling and HTTP interfaces. SGLang also has a documented high-load configuration that switches to ordinary decoding when speculation is no longer useful. The same automatic switch is not yet available in vLLM or TokenSpeed.
Main features
- Integrates EAGLE-4 draft models with SGLang, vLLM and TokenSpeed.
- Adjusts draft work using measured serving costs and batch conditions.
- Provides published Docker images for the three CUDA serving engines.
- Supports AMD MI355X inference through SGLang ROCm.
- Includes engine-specific calibration, configuration and troubleshooting guides.
- Documents measured throughput and correctness checks for supported configurations.
- Provides an installation checker for required serving-engine hooks.
Who it's for
- LLM infrastructure developers running SGLang, vLLM or TokenSpeed who want to evaluate speculative decoding.
- Inference engineers working with NVIDIA B300 hardware or the documented AMD MI355X configuration.
- Teams benchmarking generation throughput across different request concurrency levels.
- Developers building serving integrations for models with compatible EAGLE-4 draft checkpoints.
Strengths
- Uses plugin hooks inside existing inference engines rather than replacing their schedulers or HTTP servers.
- Provides published Docker images and pinned engine packages for CUDA installation.
- Includes throughput measurements with corresponding hardware, concurrency and correctness information.
- Documents distinct setup procedures for NVIDIA and AMD inference configurations.
Limitations
- EAGLE-4 requires a compatible trained draft model. Loading an unqualified model architecture does not establish correct or faster generation.
- Published performance measurements cover specific hardware and workloads. Other GPU architectures, multi-node deployment and pipeline parallelism are not fully qualified.
- Some SGLang high-concurrency correctness checks exceed the documented numerical tolerance. The README's identical-output statement is therefore not a universal guarantee.
- TokenSpeed static mode fails at startup with the released sliding-window draft. TokenSpeed is CUDA-only, and vLLM and TokenSpeed lack the automatic high-load switch to ordinary decoding.
Getting started
The README offers Docker and pip installation paths. The snippet below is the opening line of the SGLang pip command, not a complete installation command. Follow the installation guide (opens in a new tab) for the required package indexes, environment setup and remaining arguments.
pip install "eagle-harness[sglang]" "sglang==0.5.23.dev252+eagle.9" \
Requirements: For CUDA pip installation: Linux x86-64, Python 3.12, an NVIDIA GPU with a CUDA 13 driver, CUDA toolkit, C++ compiler, a compatible serving-engine build and a matching target/draft model pair. The documented AMD MI355X route uses SGLang ROCm with Python 3.10.
Always follow the official instructions in the README on GitHub. This overview is our summary, not a copy.
Sources
- eagle-hq/EAGLE-4RepositoryPrimarygithub.com
- EAGLE - AI at blazing speedOfficial sitePrimaryeagle.ai
- github.com/eagle-hq/EAGLE-4/blob/main/docs/architecture.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/quickstart-sglang.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/README.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/install.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/quickstart-vllm.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/known-limits.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/support-matrix.mdRepositoryPrimary
- github.com/eagle-hq/EAGLE-4/blob/main/docs/faq.mdRepositoryPrimary