Hugging Face sped up Inkling 2 Mini on an RTX PRO 6000 by 40%, to 190 tok/s
Hugging Face asked an agent to find the best settings for Inkling 2 Mini on an RTX PRO 6000 with 96 GB of memory, and throughput rose from 136 to 190.6 tokens per second. Switching the engine from SGLang to vLLM added 15%, and DSpark speculative decoding added another 21%, while greedy generation output did not change. For your own card, the takeaway is simple: pick the engine and speculation mode first, since minor flags barely move the needle.
AI-processed from Habr AI; edited by Hamidun News
Getting a fresh open model running on a single GPU at an acceptable speed usually means several evenings of flags, logs, and crashing servers. The Hugging Face team handed this work to an agent and published a breakdown: on an RTX PRO 6000 with 96 GB of memory, Inkling 2 Mini delivers 190.6 tokens per second for one user and 716 tokens per second combined across eight. The starting point was about 136 tokens per second, so the overall gain came to roughly 40%.
Why this model is hard to speed up
Inkling 2 Mini has 24 layers, but the middle 12 of them run three times with the same weights. As a result, each token passes through 48 layer applications, and in each one it selects 8 experts out of 128. According to the model card, the three passes add about one billion effective parameters: active parameters rise to 5.4 billion from 3.4 billion.
For generation, this means the weights are read from memory for every token, and 48 times over. There is almost no computation to speak of; everything is limited by memory bus bandwidth. The card's spec sheet lists 1792 GB/s, and in practice a copy benchmark measured 1469 GB/s. Any optimization here comes down to reading fewer bytes per token or producing several tokens per pass.
How the agent worked
The agent was not given a list of flags but a protocol. First, it measured the card's characteristics and estimated the theoretical ceiling. Then it changed one variable at a time, sandwiching each candidate between two control runs: if a candidate was not better than both controls or degraded at least one metric, it was discarded. Every run, including dead ends, was logged to a PLAN.md file. Before declaring a winner, the agent checked long-context behavior, parallel requests, and whether greedy output matched the unaccelerated version.
Measurements used six different prompts (code, explanation, story, table, bash script, summary) at temperature 1.0, with reasoning mode enabled and 512 output tokens. Where speculative decoding was active, each test was repeated 12 times. Runs were performed on HF Jobs with the same card at $2.75 per hour. The agent found undocumented settings by reading the package source in a cheap CPU job: this is how the SGLANG_OPT_* variables and the speculative-config fields were discovered.
What helped and what did not
Two things worked. Switching from SGLang to a nightly build of vLLM raised single-request speed from 136 to 157 tokens per second (+15%). Then DSpark speculative decoding with seven draft tokens and probabilistic sampling added another 21%, reaching 190.6. vLLM's prefill is also faster: 20.7 thousand tokens per second versus 18–19 thousand for SGLang. Four runs of the winning configuration differed by less than two tokens: 189.3, 190.4, 191.1, and 190.7.
There were more dead ends than findings. vLLM does not accept fewer than seven draft tokens, because the checkpoint has a fixed block size. Greedy draft sampling costs 11% at temperature 1.0. The rejection_sample_method: "block" setting changed nothing, enable_adaptive_verification crashes on a check in the code, and fp8 for the drafter head is supported only for DeepSeek. In SGLang, one variable gave +4% only once and did not reproduce, and two others gave +2% and +1%, which is within the noise. Identical runs varied by 0.4% on vLLM and by up to ±4.5% on SGLang, so small wins cannot be trusted there.
Measurement pitfalls were a story of their own. Triton compiled kernels during the timed request, so the first run in each task understated results for the 32K context. The driver killed the server by PID, leaving the old process on port 8000 and breaking the next launch even though it looked alive. Two "Engine core initialization failed" errors had different causes: first, a cache of one million tokens did not fit alongside the drafter, and then vLLM 0.34 raised the default --gpu-memory-utilization from 0.92 to 1.0. Starting on 96 GB required --max-model-len 262144 and --gpu-memory-utilization 0.85.
What it costs and who it is for
At $2.75 per hour and 190.6 tok/s, the card produces 686 thousand tokens per hour, which works out to $4.01 per million output tokens. At the starting 136 tokens, the cost would be $5.62, and with eight users the price drops to $1.07. Utilization affects cost more than any amount of flag tuning. In terms of money, this setup does not compete with APIs: Prime Intellect charges $0.30 per million output tokens, which is thirteen times cheaper.
The value of your own card lies elsewhere: data stays inside your perimeter, there are no queues or rate limits, and you can change the weights. For a home workstation the math is even gentler, because the card is already bought.
Long-context testing passed without failures: at 126,537 tokens the first token appeared after 12.5 seconds, and at 249,970 tokens after 28.7 seconds. Four parallel requests of 58 thousand tokens each also completed. On a deployed Hugging Face endpoint, the team measured 194.9 tokens per second, and about 160 ms of the 198 ms time to first token was network latency. The authors did not publish the endpoint address.
The practical takeaway for anyone hosting models themselves: check the engine and speculative decoding first, keep two control runs around every change, and do not trust a gain of a few percent without repeated measurements.
- Nov 26, 2026Blogger Releases Ready-Made Colab Notebooks for ComfyUI: Weights Download 9x Faster
- Nov 26, 2026Ostris Releases Open VAE Decoder for MiniMax-H3-Image: Cleaner Small Text and Faces Without Over-Sharpening
- Nov 25, 2026Sber's OrbitLM Scores 14.2 Points Higher on School Math Problems Thanks to Looped Layers
- Nov 25, 2026Qwen3-0.6B inference engine fits in 12 KB of assembly: 105 tokens/s on CPU
Key Questions Answered
Why this model is hard to speed up?
Inkling 2 Mini has 24 layers, but the middle 12 of them run three times with the same weights. As a result, each token passes through 48 layer applications, and in each one it selects 8 experts out of 128. According to the model card, the three passes add about one billion effective parameters: active parameters rise to 5.4 billion from 3.4 billion. For generation, this means the weights are read from memory for every token, and 48 times over.
How the agent worked?
The agent was not given a list of flags but a protocol. First, it measured the card's characteristics and estimated the theoretical ceiling. Then it changed one variable at a time, sandwiching each candidate between two control runs: if a candidate was not better than both controls or degraded at least one metric, it was discarded. Every run, including dead ends, was logged to a PLAN.md file.
What helped and what did not?
Two things worked. Switching from SGLang to a nightly build of vLLM raised single-request speed from 136 to 157 tokens per second (+15%). Then DSpark speculative decoding with seven draft tokens and probabilistic sampling added another 21%, reaching 190.6. vLLM's prefill is also faster: 20.7 thousand tokens per second versus 18–19 thousand for SGLang. Four runs of the winning configuration differed by less than two tokens: 189.3, 190.4, 191.1, and 190.7. There were more dead ends than findings.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
