Llama-3.2-1B-Instruct-EAGLE3
An EAGLE-3 draft head for Llama 3.2 1B Instruct, for speculative decoding. It proposes the next few tokens and the main model checks them in one pass, so generation gets faster while the output stays exactly what the main model would have produced on its own.
Built with Llama.
It was made for Turbo LLM, an exact CPU runner for this model, and is published here in the SpecForge checkpoint format and as a GGUF for llama.cpp.

At a glance
- Acceptance length: 2.64 tokens per pass in Turbo LLM (all 480 Spec-Bench questions), 2.54 in llama.cpp.
- Speedup in llama.cpp: 1.42x over no drafting with a bf16 target, 1.10x with Q8_0.
- Speedup in Turbo LLM: 3.15x llama.cpp bf16 without drafting, with output identical to fp32.
- Size: 251 MB as a bf16 GGUF, about 122M parameters (one decoder layer, 32k-token draft vocabulary).
- Training: self-distilled on the model's own greedy replies to 400k SmolTalk prompts.
Files
| File | For |
|---|---|
model.safetensors, config.json | SpecForge-style EAGLE-3 checkpoint (LlamaForCausalLMEagle3), bf16 |
Llama-3.2-1B-Instruct-EAGLE3-BF16.gguf | llama.cpp (--spec-type draft-eagle3), converted with b12470 |
Usage with llama.cpp
llama-server -m Llama-3.2-1B-Instruct-BF16.gguf \
-md Llama-3.2-1B-Instruct-EAGLE3-BF16.gguf --spec-type draft-eagle3
The target model can be any GGUF of Llama 3.2 1B Instruct; with a quantized target the head still works, but the drafts are then checked against the quantized model. Every drafted token is verified by the target, so greedy output only differs from running the target alone by floating-point rounding: in our test, llama.cpp's batched bf16 verification changed 1 of 18 outputs.
Running it with Turbo LLM
Turbo LLM is a single-file C runner for this model that keeps the output token-identical to the fp32 reference while reading about a third of the memory per token of a bf16 runner. It ships this head built in (in its own int5 format), so there is nothing to configure:
git clone https://github.com/ViezeVingertjes/turbo-llm && cd turbo-llm && make
# the model file, 2.1 GB
url=https://github.com/ViezeVingertjes/turbo-llm/releases/latest/download
curl -LO $url/llama-3.2-1b-instruct-eagle3.tlm
./tlm llama-3.2-1b-instruct-eagle3.tlm "Explain how a CPU cache works."
Same head, same prompts as identical token ids, same CPU (Spec-Bench dev subset, up to 1,024 new tokens):
| Engine | Weights | Decode speed | Output |
|---|---|---|---|
| llama.cpp b12470 + this head | bf16 | 1x (baseline) | differs from the exact output on 3 of 18 |
| llama.cpp b12470 + this head | Q8_0 | 1.35x | lossy (8-bit weights), differs on 10 of 18 |
| Turbo LLM + this head | lossless 12-bit | 2.21x | exact on all 18 |
End-to-end, including prompt processing, Turbo LLM is 2.22x llama.cpp bf16 with this head (its current version, with a faster prompt kernel; measured a day later, so its prompts differ from llama.cpp's only in the date token).
How it was trained
- Architecture: standard EAGLE-3. One Llama decoder layer whose attention input is the normalized embedding of the
current token concatenated with a fused feature: a linear projection of the target's hidden states entering
layers 2, 8 and 13. Its MLP is 4096 wide (half of the target's), and its output layer covers the 32,768 most
frequent tokens of the training data, mapped back to the full vocabulary with
d2t. - Data: self-distillation. 400,000 prompts from SmolTalk (any that appear in Spec-Bench removed) were answered by Llama 3.2 1B Instruct itself with greedy decoding, 220 million tokens in total. The head therefore learns to predict this exact model, not human-written text.
- Objective: KL divergence to the target's next-token distribution (renormalized over the draft vocabulary), with EAGLE-3's training-time test unrolled over 3 draft steps, step k weighted 0.8^k.
- Optimization: AdamW (lr 2e-4, betas 0.9/0.95, no weight decay), 200 warmup steps then cosine decay to 10%, sequences of 1,024 tokens, batch 64 sequences, one hour on 4x H100. Warm-started from an earlier head trained on SmolTalk's own replies.
Results
Tokens per forward pass is the number of tokens each pass of the main model produces: the accepted draft tokens plus one. It depends on the head, the model and the prompts, not on the hardware.
Spec-Bench (pinned commit fd2c1cd, all 480 questions, first turn only, up to 1,024 new tokens), greedy, up to 3
drafted tokens per pass with EAGLE-2 style tree selection, in Turbo LLM:
| Task group | Tokens per forward pass |
|---|---|
| MT-Bench | 2.76 |
| translation | 2.24 |
| summarization | 2.39 |
| question answering | 2.48 |
| math reasoning | 3.16 |
| RAG | 2.57 |
| all | 2.64 |
In llama.cpp (b12470, --spec-type draft-eagle3, its default of up to 3 drafted tokens, bf16 target and head),
on the Spec-Bench dev subset (18 questions, up to 1,024 new tokens), compared with the other public EAGLE-3 head
for this model:
| Draft head | Tokens per forward pass | Decode speed vs. no drafting | Output identical to the exact fp32 result |
|---|---|---|---|
| this head | 2.54 | 1.42x (16.17 vs 11.36 tok/s) | no, 15 of 18 (llama.cpp's batched bf16 rounding) |
| rescommons/SpecForge-EAGLE3-Llama-3.2-1B-Instruct | 2.09 | 1.12x (12.71 vs 11.36 tok/s) | no, 15 of 18 |
Measured on one machine with the same prompts given as identical token ids. "Output identical" compares with the exact fp32 result; llama.cpp's bf16 output differs on 2 of 18 prompts even without drafting, and batched verification changes one more. Greedy output from an exact runner such as Turbo LLM does not depend on the head.
Compatibility
Tested with llama.cpp b12470 and with Turbo LLM. The checkpoint uses the SpecForge LlamaForCausalLMEagle3
layout (fc, midlayer.*, norm, lm_head, d2t, t2d), which other EAGLE-3 implementations such as SGLang
and vLLM also read, but we have not tested those.
Limitations
- It only helps Llama 3.2 1B Instruct. It reads that model's hidden states and was trained on its outputs.
- It was trained on English chat data, so other languages and very different domains will see lower acceptance and less speedup. Correctness does not depend on it: drafts are always checked by the main model.
- The training prompts are SmolTalk's; questions that also appear in Spec-Bench were removed before training.
References
- EAGLE-3: Li et al., "EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test", arXiv:2503.01840.
- SmolTalk: HuggingFaceTB/smoltalk.
- Spec-Bench: Xia et al., "Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding", hemingkx/Spec-Bench.
License
The weights are a derivative of Llama 3.2 and are distributed under the Llama 3.2 Community License (LICENSE)
and its Acceptable Use Policy (USE_POLICY.md).
Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.