Hugging Face says an agent sped up Inkling 2 Mini 40% on one GPU
In short
- In a blog post dated 25 November 2026, Hugging Face's Niels Rogge describes giving a coding agent a fixed tuning protocol, the hf command-line tool and access to Hugging Face Jobs, then letting it run serving experiments "for an afternoon" on the new open model Inkling 2 Mini.
- On one NVIDIA RTX PRO 6000 (96 GB), single-user generation went from 136 to 190.6 tokens per second, a 40% gain, across 46 valid benchmark runs. Throughput with eight users at once went from about 570 to 716 tokens per second (+26%).
- The gain came from switching serving engine (SGLang to a vLLM nightly build) and switching on the model's bundled draft model for speculative decoding. Most other flags the agent tried were unsupported, within noise or slower, the post says.
- With greedy decoding, outputs were byte-identical with and without speculation on all six test prompts, and a hidden-fact retrieval test passed 3 of 3 times at almost 250,000 tokens of context.
What the agent was asked to do
Inkling 2 Mini came out the week before the post. Hugging Face describes it as a mixture-of-experts model with about 26 billion parameters, of which about 3 billion are active for each token, a 1-million-token context window and multimodal input. The post calls it a new state of the art for local and smaller open models; that is Hugging Face's description, which we did not check.
It has 24 physical layers, and the middle 12 run three times, so every token passes through 48 layers. The published serving recipes target NVIDIA's B200 and GB300 data-centre GPUs, not the RTX PRO 6000, the post says.
Rather than tune by hand, the team gave a coding agent an "inference-optimisation skill": a written protocol plus a small benchmark script. The rules were strict:
- Measure the hardware and estimate the theoretical speed limit first.
- Change one setting at a time, and run every candidate between two control runs. Keep a change only if it beats both controls without hurting other measures.
- Log every run, including failures and dead ends.
- Pass long-context, concurrency and output-equivalence checks before calling a winner.
Each run used the same six prompts at temperature 1.0, the model's default, with 512 output tokens. Because Jobs run on separate machines, the agent tested SGLang and vLLM in parallel.
The results
190.6 tok/s single-user decode after tuning, up from 136 (+40%); 716 tok/s eight-user throughput, up from about 570 (+26%); 46 valid benchmark runs; ~95% share of the GPU's memory-bandwidth limit reached at the measured draft acceptance, per the post
Source: results table in the Hugging Face post. SGLang's draft-model recipe for this GPU caps running requests at 4; raised to 8 it reached 660 tok/s. The endpoint's first-token time includes about 160 ms of network round trip.
The post splits the gain in two. Moving to vLLM nightly gave +15% (136 to 157 tok/s). Turning on the draft model, called DSpark, with 7 drafts and probabilistic draft sampling added +21% on top (157 to 190.6, from four runs of 189.3, 190.4, 191.1 and 190.7).
The 190.6 is also above a community benchmark of 167.7 tok/s for SGLang with DSpark on the same GPU, the post says.
Why does the model stop getting faster at around 190 tokens per second?
Before tuning, the agent measured the card: 1,469 GB/s copy bandwidth, 416 TFLOPS in BF16 and 792 in FP8. Generating one token without speculation re-reads about 2.7 GB of attention and dense weights, about 2 GB of expert weights (8 of 128 experts per layer) and about 0.9 GB for the output layer. At that bandwidth, the post puts the single-user ceiling at about 256 tok/s; plain vLLM at 157 reaches 61% of it.
Speculation changes the sum. Checking 8 positions at once wakes the experts that any of them need, about 40% of each layer's experts instead of 6%. At the measured acceptance of about 2.3 tokens per step, the ceiling falls to about 201 tok/s, so 190.6 is already near the limit. Going further would need a draft model that guesses better at temperature 1.0, or a checking step that touches fewer experts, the post says.
What didn't work
The post lists the dead ends. In vLLM, shorter draft lengths were rejected at startup because the checkpoint fixes the block size; greedy draft sampling was 11% slower (168.6 against about 190.4 tok/s). In SGLang, one setting looked like a +4% win once and then failed against fresh controls; two others gave +1% to +2%, within noise.
The control runs mattered. Across identical runs with speculation, vLLM varied by 0.4% while SGLang swung by ±4.5%, the post says. Without repeat controls, noise would have been reported as a gain.
The team also skipped two vLLM sampling modes on purpose because they change the output distribution; it wanted a strictly lossless speed-up.
Checks before deployment
Source: verification table in the Hugging Face post.
Terms in plain English
- Mixture of experts: a model split into many smaller sub-networks ("experts"); for each token only a few are used, so only a fraction of the weights is read. (Our wording.)
- Tokens per second: how fast the model writes; a token is a word or part of a word. (Our wording.)
- Speculative decoding: a small draft model guesses several next tokens and the big model checks them all in one pass, keeping the ones it agrees with. (Our wording.)
- Byte-identical: the text is exactly the same, character for character. It shows the speed-up did not change what the model says, at least in greedy mode. (Our wording.)
Where things stand
The tuned configuration is running as a Hugging Face Inference Endpoint from a pinned image, and the post says every log, script and raw measurement is in a public repository so the loop can be reused on other models. All numbers are Hugging Face's own, on one GPU model, and the equivalence check covered six prompts at temperature 0, not the temperature-1.0 setting used for the speed runs.
Sources
- Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000, Hugging Face blog, 25 November 2026
Sources
Related stories
- Hugging Face's 2026 releases are mostly open tools, no flagship model
- CoRover ships five BharatGPT releases, only one openly licensed
- NVIDIA releases open synthetic data for training document readers
- Hugging Face says four small AI agents learned to team up
- SpeakLeash releases Bielik-One, four open decision models
- SpeakLeash releases Bielik 11B v3.1, an open Polish model
More from Teach the Bot
- Google releases Fuse, a test of how AI assistants read motives
- Z.ai says GLM-5.4 runs 28 layers twice per token for more depth
- Most multi-step AI benchmark tasks fail review, a preprint says
- Thinking Machines releases Inkling 2 Mini, an open looped model
- OpenAI releases MedChemBench, a test of AI on drug chemistry