Sponsored by
Crazyrouter
-The enterprise-grade, cost-effective AI API gateway that provides one API key to access 300+ AI models through OpenAI-compatible endpoints, with
A lightweight EAGLE3 draft head for
Qwen3-Coder-Next
(80B MoE, 512 experts, 10 active per token, GDN+attention hybrid, 48 layers). Trained with
SpecForge
on 8x H200 GPUs using the
EAGLE-3
training-time test objective.
Qwen3-Coder-Next uses a hybrid layer design that interleaves standard multi-head attention with GDN (linear recurrence) layers. Only 12 of 48 layers are attention layers (every 4th: 3, 7, 11, ..., 47). EAGLE3 auxiliary layers must be selected from attention layers only — GDN layers produce recurrent hidden states that are not compatible with EAGLE3. The model code handles this automatically, selecting layers 3, 23, 47 (first, middle, last attention layers).
Blog post
: [TODO: link after publication]
Usage
SGLang (GPU)
Requires our
SGLang fork
for Qwen3-Coder-Next Eagle3 support.
B=1 server
(wide tree — optimal for single-user, real-time requests):
Important
: Wide tree (topk=4) maximizes MT-Bench at B=32 (1.31x) but regresses Terminal-Bench (0.89x). Narrow tree (topk=1) eliminates the regression at the cost of lower peak speedup (1.10x MT-Bench). Use narrow tree for mixed or unknown workloads.
Python Client
import requests
response = requests.post(
"http://localhost:30000/v1/chat/completions",
json={
"model": "default",
"messages": [{"role": "user", "content": "Write a Python function to merge two sorted lists."}],
"max_tokens": 512,
"temperature": 0,
}
)
print(response.json()["choices"][0]["message"]["content"])
6 epochs on 54K mixed data (ShareGPT / UltraChat / PerfectBlend), LR=1e-4
Optimizer
AdamW
Batch size
1 (per device)
max_length
2048
TTT (tree training tokens)
7
Precision
bfloat16
Training accuracy (acc_0)
0.97
Training Method
EAGLE3 trains a single-layer draft head that predicts the next token using hidden states captured from three auxiliary layers of the target model (layers 3, 23, 47 — first, middle, and last attention layers out of 12 total). The training objective is the Training-Time Test (TTT) loss, which simulates the speculative decoding accept/reject process during training to maximize the expected number of accepted tokens at inference time.
GDN (linear recurrence) layers are excluded from auxiliary layer selection because their hidden states encode sequential recurrence rather than per-token representations, making them incompatible with EAGLE3's draft prediction.
@inproceedings{li2025eagle3,
title={{EAGLE-3}: Scaling up Inference Acceleration of Large Language Models via Training-Time Test},
author={Li, Yuhui and Wei, Fangyun and Zhang, Chao and Zhang, Hongyang},
booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
year={2025}
}
Runs of thoughtworks Qwen3-Coder-Next-Eagle3 on huggingface.co
68
Total runs
6
24-hour runs
8
3-day runs
5
7-day runs
-18
30-day runs
More Information About Qwen3-Coder-Next-Eagle3 huggingface.co Model
Qwen3-Coder-Next-Eagle3 huggingface.co is an AI model on huggingface.co that provides Qwen3-Coder-Next-Eagle3's model effect (), which can be used instantly with this thoughtworks Qwen3-Coder-Next-Eagle3 model. huggingface.co supports a free trial of the Qwen3-Coder-Next-Eagle3 model, and also provides paid use of the Qwen3-Coder-Next-Eagle3. Support call Qwen3-Coder-Next-Eagle3 model through api, including Node.js, Python, http.
Qwen3-Coder-Next-Eagle3 huggingface.co is an online trial and call api platform, which integrates Qwen3-Coder-Next-Eagle3's modeling effects, including api services, and provides a free online trial of Qwen3-Coder-Next-Eagle3, you can try Qwen3-Coder-Next-Eagle3 online for free by clicking the link below.
thoughtworks Qwen3-Coder-Next-Eagle3 online free url in huggingface.co:
Qwen3-Coder-Next-Eagle3 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-Coder-Next-Eagle3 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-Coder-Next-Eagle3 install, users can directly use Qwen3-Coder-Next-Eagle3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-Coder-Next-Eagle3 install url in huggingface.co: