Inkling 2 Mini came out last week and sets a new state of the art for local AI and smaller open-source models. With ~26B total parameters (3B active per token), multimodal inputs, and a 1M-token context window, it leads its weight class on the Artificial Analysis Intelligence Index v5 and across 32 of 48 benchmarks against models like Gemma 4 31B and Qwen3.8-27B, making it a strong open option for coding, tool use, and reasoning on modest hardware. We wrote an extensive blog post on how you can use it within the Hugging Face ecosystem here.

One of the interesting aspects of Inkling 2 Mini that might explain its great performance is its unusual architecture. Inkling 2 Mini is a looped Mixture-of-Experts (MoE) model with 24 physical layers where the middle 12 layers run three times, so every token passes through 48 layers. The checkpoint ships in mixed NVFP4 and MXFP8 and bundles a DSpark drafter for speculative decoding. Both vLLM and SGLang, the go-to frameworks for LLM inference, support it on nightly builds, though the published serving recipes target NVIDIA B200 and GB300 GPUs (sm100), leaving out sm120 cards like the NVIDIA RTX PRO 6000 where kernel compatibility can differ. (Related: How to train a newly introduced language model from scr...)

In a recent development, we wanted to see how fast we could serve it on a single NVIDIA RTX PRO 6000 96 GB, the GPU behind an nvidia-rtx-pro-6000 Inference Endpoint. Rather than tuning flags by hand, we gave a coding agent the inference-optimisation skill, the hf CLI, and access to Hugging Face Jobs, and let it run experiments for an afternoon. (Related: How we sped up transformer inference 100x for ๐Ÿค— API cus...)

In a recent development, across 46 valid benchmark runs, single-user decode went from 136 to 190.6 tok/s (+40%) (ahead of the 167.7 tok/s community SGLang + DSpark benchmark on LocalMaxxing for the same GPU) and 8-user aggregate throughput went from ~570 to 716 tok/s (+26%) using vLLM nightly with DSpark speculative decoding. Greedy outputs are byte-identical with and without speculation, long-context needle retrieval passes 3/3 up to 250K tokens, and the winning config is now running as an Inference Endpoint from a pinned image digest. All logs, scripts, and raw measurements are in NielsRogge/inkling-2-mini-hillclimb.

The inference-optimisation skill gives an agent a fixed experimental protocol and a small, engine-agnostic benchmark script (bench.py):.

bench.py measures single-user decode, aggregate decode at concurrency N, cold prefill at several lengths, and TTFT, using token counts directly from the server's usage response. All runs used a fixed panel of six prompts (code, an explanation, a story, a comparison table, a bash script, and a history summary) at temperature 1.0 (the model's default), thinking on, 512 output tokens, and 12 repetitions whenever speculative decoding was enabled.

The skill was written for a local GPU, so we adapted it to Hugging Face infrastructure:.

The baseline was our existing org endpoint config: SGLang with --attention-backend fa4 and no speculative decoding.

Sources indicate that single-user decode speed (median of 12 requests). vLLM + DSpark reaches ~95% of the memory-bandwidth ceiling at its measured acceptance rate.

In a recent development, ยน SGLang's RTX PRO 6000 DSpark recipe caps --max-running-requests at 4. Raising it to 8 reached 660 tok/s, still behind vLLM. ยฒ Includes ~160 ms of client-to-endpoint network round trip.

All of the speedup comes from switching to vLLM nightly (+15% over SGLang without speculation, 136 โ†’ 157 tok/s), enabling DSpark with 7 drafts and probabilistic draft sampling (+21% on top, 157 โ†’ 190.6 tok/s across four runs: 189.3, 190.4, 191.1, and 190.7), and adding two memory flags so vLLM's DSpark setup actually starts on 96 GB:.

Both num_speculative_tokens: 7 and draft_sample_method: "probabilistic" were validated directly: shorter draft counts (such as 5) are rejected at startup because both engines enforce the checkpoint's fixed block size, and switching to greedy draft sampling dropped vLLM decode speed by 11% at temperature 1.0 (see What didn't work).

Before tuning, the agent probed the RTX PRO 6000 inside a Job (1,469 GB/s copy bandwidth, 416 TFLOPS BF16, 792 TFLOPS FP8) and read tensor sizes from the safetensors header. Because every token makes 48 layer visits, plain decode re-reads ~2.7 GB of attention and dense weights, ~2 GB of routed experts (8 of 128 per layer), and ~0.9 GB for the LM head. At 1,469 GB/s, that gives a single-user bandwidth ceiling of ~256 tok/s. Without speculation, vLLM at 157 tok/s hits 61% of that ceiling, mostly limited by kernel launch latency across 48 visits.

Speculative decoding changes the memory math on an MoE. Verifying 8 positions together activates the union of their routed experts, reading roughly 40% of each layer's experts instead of 6%. At our measured acceptance of ~2.3 tokens per step at temperature 1.0 (per-position acceptance drops from 0.6 on the first draft to 0.33 and 0.19), the bandwidth ceiling falls to ~201 tok/s. At 190.6 tok/s, vLLM + DSpark is already at ~95% of hardware bandwidth, so further flag tuning has almost nowhere left to go. Moving past 190 tok/s would take a drafter with higher acceptance at temperature 1.0 or a verification path that touches fewer experts per layer.

Most candidate flags were unsupported, noisy, or slower:.

We also skipped rejection_sample_method: "fly" and "synthetic" on purpose because they alter the output distribution, and we wanted a strictly lossless speedup.

A few measurement issues caught us along the way:.

Before deploying, we pinned the exact vLLM nightly digest (vllm/vllm-openai@sha256:eaa63fd6โ€ฆ, build 0.34.0rc1.dev1235+gf2f9edcac) and ran the acceptance gates inside a Job:.

Once those passed, we deployed the endpoint with a single hf endpoints deploy command, pinning both the image digest and model revision (authenticated access, scale-to-zero after 60 idle minutes):.

Running bench.py against the live endpoint gave 194.9 tok/s single-user, matching the Job runs once network latency is accounted for.

Recent findings suggest that everything from this run (STRATEGY.md, THEORY.md, jobs/driver.py, submit.sh, deploy.sh, and the raw ledger-*.jsonl files) is in NielsRogge/inkling-2-mini-hillclimb. To reuse the loop on another model, put your candidate and control server commands into a configs/plan-*.json file and submit it to whichever HF Jobs GPU flavor matches your target endpoint.

There is Dflash2 for it already.Quite a bit faster.

โ†’ Read original article