Downloads · 30 days
2.3K
15% of all-time downloads
novita/kimi-k2.7-code-eagle3-mla
kimi-k2.7-code-eagle3-mla is a text generation model from novita. Use it when you need the model to write or continue text. The card lists the license as mit.
kimi-k2.7-code-eagle3-mla is an Eagle3 MTP draft model with MLA (Multi-Latent Attention) for accelerating inference of Kimi-K2.7-Code under vLLM speculative decoding. The draft proposes numspeculativetokens candidate…
Downloads · 30 days
2.3K
15% of all-time downloads
All-time downloads
15.9K
Public
Parameters
1.8B
9.7 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors3.7 GB · 100%
From the Hugging Face model README
kimi-k2.7-code-eagle3-mla is an Eagle3 MTP draft model with MLA (Multi-Latent Attention) for
accelerating inference of Kimi-K2.7-Code under vLLM speculative decoding. The draft proposes
num_speculative_tokens candidate tokens per step; the Kimi-K2.7-Code verifier accepts them in
parallel, so the output distribution is identical to plain autoregressive decoding while decode
throughput improves.
Compared with an MHA draft model, the MLA variant is a better fit for Kimi-K2.7-Code deployment:
Eagle3DeepseekV2ForCausalLM shares the target's
embed_tokens when the draft weights omit it). This keeps the checkpoint compact (~3.7 GB).ttt_steps=4.The primary metric is accept_length — the average number of tokens accepted per speculation
step with num_speculative_tokens=3. Higher is better.
Benchmarks were run on vLLM 0.20.0 (TP=8, greedy decoding, concurrency=1) against the Kimi-K2.7-Code verifier.
| Category | Benchmark | N | Accept Length |
|---|---|---|---|
| Dialogue | MTBench | 80 | 2.427 |
| Chinese | CEval | 212 | 2.348 |
| Math | GSM8K | 500 | 3.201 |
| Code | HumanEval | 164 | 2.738 |
| Math | MATH500 | 500 | 2.918 |
| Math | AIME | 30 | 2.542 |
| Code | LiveCodeBench | 200 | 2.362 |
| Code | SPEED-Bench (coding) | 80 | 2.515 |
vllm serve moonshotai/Kimi-K2.7-Code \
--tensor-parallel-size 8 \
--speculative-config '{"model": "novita/kimi-k2.7-code-eagle3-mla", "method": "eagle3", "num_speculative_tokens": 3}' \
--trust-remote-code
MLA Eagle3 draft model is not yet supported in SGLang. Will update once support is available.