An EAGLE-3 draft head for Qwen3-1.7B. It is one decoder layer that reads the big model's hidden states after layers 1, 13 and 24, plus the token that followed, and guesses the next token from a 32,000-token vocabulary. It runs again on its own output for each further guess, and Qwen3-1.7B checks all of them in one forward pass. With greedy decoding the text comes out exactly as Qwen3-1.7B writes it alone.
It powers Figure 1 of switchboard, where a daily GitHub job explains the top Hacker News headline with it on the free runner's 2 CPU cores and races that against the big model writing alone. Its first run there was 1.38 times as fast with the same 42 tokens.
It started from AngelSlim/Qwen3-1.7B_eagle3 (Apache 2.0) and was trained for 2 more epochs on Qwen3-1.7B's own greedy answers, with thinking off, to 9,337 prompts. Of those, 6,837 are Hacker News titles asked as "In three sentences, explain this Hacker News headline" and 2,500 are English first turns from OpenAssistant oasst1. Training unrolls the head for 4 guesses on its own outputs, as it runs while decoding, and scores each against Qwen3-1.7B's full next-token distribution. It took about 90 minutes on an RTX 4070 laptop GPU.
On 60 held-out prompts (Hacker News titles from the 3 days after the training set, and oasst1 turns it never saw), its first guess matches Qwen3-1.7B 63.8% of the time, up from 44.0% for the starting head. The fourth guess in a chain matches 55.0%, up from 28.2%.
On a Ryzen 7 7745HX with 4 threads in fp32, guessing 4 tokens a pass makes Qwen3-1.7B 1.6 to 1.9 times as fast as it is alone, with identical text. That needs the weights packed for oneDNN once, as torch.compile does when it freezes a model. Plain F.linear repacks every weight on each call with more than one row, which makes the check cost twice as much as writing one token and eats most of the gain.
The weights are fp16 with the usual EAGLE-3 names, plus d2t and t2d to map between the head's vocabulary and Qwen3-1.7B's. The decoding loop is switchboard/eagle.py and the training scripts are in training/ in the switchboard repo.
model.safetensors 261 MiBonnx/pass.onnx 324.1 KiBonnx/big.onnx 308.9 KiB