Nemotron-3.5-Bolt-E4B-MTP-Drafter
A speculative-decoding drafter for NVIDIA Nemotron 3.5 Bolt E4B: Google's Gemma-4-E4B-it MTP assistant (google/gemma-4-E4B-it-assistant) fine-tuned on Nemotron's own outputs. The drafter proposes the next few tokens and the main model verifies them, so the output is identical to decoding without it; only the speed changes. It is used by the strix-halo-engine-lab gemma4 model family (model guide).
Where the speed-up comes from: the Gemma-4-E4B-it MTP assistant architecture together with the engine's exact speculative decoding. Google's untuned assistant is about as fast in this engine (see the drafter comparison in this card). Our fine-tune on Nemotron's outputs adds about +1.5 % expected tokens per cycle on a held-out set (English 3.61 -> 3.65, Japanese 2.52 -> 2.60); with the engine's confidence window it is +1.4 % faster than the untuned assistant (geometric mean over English, Spanish, Japanese and code).
Speed
Decode C1: 91.9 tok/s with the drafter, 51.8 tok/s without it (engine default profile, official Q4_K_M weights, English chat). Token ids are identical with the drafter on and off.
One AMD Strix Halo (Ryzen AI Max+ 395, Radeon 8060S gfx1151, 128 GB), greedy decoding, 256 tokens, 3 interleaved rounds with the drafter on and off in the same turn, prompt lookup off so the columns show the drafter alone (STRIX_G4_LOOKUP=0). All numbers in this table come from one measuring session of one engine build.
| Profile (weights) | Drafter on | Drafter off | Speed-up | Shipped (drafter + prompt lookup) |
|---|---|---|---|---|
default (official Q4_K_M) |
91.9 | 51.8 | x1.78 | 91.9 |
fast (Q4_K_M, int8 activations) |
99.3 | 50.5 | x1.97 | 99.5 |
quality (EXL3 M4 pack) |
96.4 | 47.1 | x2.05 | 96.4 |
Reference: llama.cpp 74a4fb00, official Q4_K_M, same turn |
55.5 (plain decode) |
On an agent code-edit prompt (a 2.2K-token file plus an edit request, default) the drafter reaches 149.0 tok/s and the shipped configuration 149.1 (drafting off 48.0). With 4 concurrent requests (default) the drafter drafts only where its measured cost pays off: 137.1 tok/s aggregate with the drafter vs 130.4 without, output again identical.
Drafter comparison
Same engine and machine, official Q4_K_M weights, default profile, one request, 256 tokens, the same prompt per language, interleaved rounds with drafting on and off for each drafter, MTP drafters with the confidence window at their own thresholds (0.4 for this drafter, 0.6 for Google's). Token ids are identical to drafting off for every drafter. Tokens / step = generated tokens per main-model verification step. This table comes from an earlier session than the speed table above; the DFlash columns from an earlier session still.
| Prompt | This drafter: tokens / step | tok/s | Google assistant, untuned: tokens / step | tok/s | NVIDIA's official DFlash drafter: tokens / step | tok/s | Drafting off: tok/s |
|---|---|---|---|---|---|---|---|
| English | 2.39 | 93.8 | 2.59 | 97.6 | 2.21 | 69.0 | 52.1 |
| Spanish | 2.10 | 86.7 | 2.10 | 83.4 | 1.55 | 58.5 | 52.0 |
| Japanese | 2.13 | 85.9 | 2.19 | 85.0 | 1.56 | 59.9 | 52.0 |
| Code | 3.46 | 113.3 | 3.32 | 108.1 | 2.15 | 73.6 | 52.0 |
- Google assistant, untuned: google/gemma-4-E4B-it-assistant (78.8M parameters), loaded unchanged.
- NVIDIA's official DFlash drafter: nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-4GB-DFlash (BF16 GGUF, 360M parameters). It gets more tokens per step in English, but each of its draft steps costs about 10 ms on this machine against about 1 ms for the MTP assistant, so its speed-up is lower (x1.12-1.41 vs x1.60-2.18).
- Either MTP assistant gives about the same speed in this engine. This repository packages the fine-tuned weights in the engine's
drafter-mtp/release layout; they are the drafter used for the engine's published measurements.
How to use
Put the drafter in a drafter-mtp/ folder next to the model; the engine then uses it automatically for single-request decode:
hf download hyukudan/Nemotron-3.5-Bolt-E4B-MTP-Drafter --local-dir MODEL_DIR/drafter-mtp
cd MODEL_DIR/drafter-mtp && sha256sum -c SHA256SUMS && cd -
./build/strix-gemma4-serve MODEL_DIR --rope-tables rotary-tables --tokenizer MODEL_DIR/tokenizer.json --profile default
MODEL_DIRis the Nemotron model directory (with the Q4_K_M GGUF fordefault/fast, or the EXL3 M4 pack for--profile quality --exl3-arm DIR).--draft-mtp DIRpoints to a drafter elsewhere;--draft off(orSTRIX_G4_DRAFT=0) disables drafting.- Build and setup: see the engine README and the model guide.
How it was made
- Base: Google's Gemma-4-E4B-it MTP assistant (78.8M parameters: 4 layers of width 256 and a clustered full-vocabulary head with 2,048 centroids). It reads the main model's last hidden state and its KV cache. Nemotron 3.5 Bolt E4B is post-trained from Gemma-4-E4B-it and shares its tokenizer, so the base assistant already fits it.
- Fine-tuning data: about 6.3M tokens generated by Nemotron 3.5 Bolt E4B from 17,865 prompts across eight languages (EN, ES, JA, ZH, FR, DE, IT, PT), code, tool calls and reasoning, including multi-turn and long-context conversations. The prompts come from permissively licensed public datasets; evaluation prompts are held out.
- Training targets: the main model's greedy tokens, top-32 logits, hidden states and KV, several steps ahead.
- Effect of the fine-tune: on a held-out set of 697 prompts, expected tokens per cycle (5 drafted tokens, official Q4_K_M main model) go from 2.82 to 2.86 overall (+1.5 %; English 3.61 -> 3.65, Japanese 2.52 -> 2.60). On the measured prompts above the fine-tuned and untuned assistants are within noise of each other.
- Result: same tensor keys, shapes and dtypes as the base assistant; best validation checkpoint. Per-tensor changes and training settings are listed in
LINEAGE.md.
Files
| File | Bytes | What |
|---|---|---|
LICENSE |
11,357 | Apache License 2.0 |
LINEAGE.md |
4,391 | base, training data and settings, per-tensor change |
MANIFEST.json |
1,027 | release layout drafter-mtp/v1, sha256 and size per file |
NOTICE |
673 | attribution and modification notice |
config.json |
2,315 | base assistant config (unchanged format) |
generation_config.json |
307 | base generation config |
model.safetensors |
159,138,208 | drafter weights (BF16) |
SHA256SUMS |
SHA-256 of every file |
Licence and attribution
Apache License 2.0 (LICENSE), as the base model google/gemma-4-E4B-it-assistant, Copyright Google LLC (Gemma 4 licence). Modified by hyukudan as a drafter for NVIDIA Nemotron 3.5 Bolt E4B; see NOTICE and LINEAGE.md. The training signal is outputs of NVIDIA Nemotron 3.5 Bolt E4B (OpenMDW-1.1); no tensor of that model is contained in these weights.