Inkling 2 Mini β€” Optimized Inference on NVIDIA H100

Faster inference for Inkling 2 Mini by Neural Nova β€” up to 5.26Γ— throughput on H100

Neural Nova's optimized serving package for Thinking Machines Lab's Inkling 2 Mini, combining DSpark speculative decoding with H100-tuned MoE and dense projection kernels.

Up to 5.26Γ— output throughput versus native kernels with DSpark disabled, measured on the 1K-input/1K-output workload at C1. With DSpark already enabled, Neural Nova's optimized kernels delivered an additional 4.32–6.61% throughput across the 1K/1K and 4K/4K benchmarks. Within each benchmark suite, all three configurations used the same H100 and automatic context sizing. The 64K-input/4K-output benchmark below extends this comparison to longer prompts.

This repository documents the container-based deployment and recorded optimization results. Model weights are provided by the upstream model repository; this page is a serving recipe, not a separate fine-tuned checkpoint.

Model Overview

  • Provider: Thinking Machines Lab; inference optimization by Neural Nova.
  • Architecture: A multimodal, looped Mixture-of-Experts transformer with 26.4B parameters. Its middle layers execute three times with shared weights, giving approximately 5.4B effective active parameters per token.
  • Precision: Published mixed NVFP4/MXFP8 weights, with BF16 activations in the tested serving configuration.
  • Acceleration: DSpark proposes multiple tokens for the target model to verify together; optimized kernels accelerate selected expert and projection operations.
  • Benchmark scope: Text generation on one H100, at one and four concurrent requests.

See the upstream model card for model capabilities, training, intended uses, and limitations.

Docker

Item Value
Image registry.neural-nova.io/public/inkling2-mini:v1.0.2
Digest sha256:95b5dfa8ea7a81f253c976cbfb704a42cadc548db7ab238205a1892ea3076cf6
API port 8000

Run these commands in Bash on a Linux NVIDIA GPU host, with Docker and NVIDIA Container Toolkit configured. The reference hardware is one NVIDIA H100 80GB.

Serve

The default command enables DSpark plus Neural Nova's compiled optimized kernels, with normal draft-token verification.

docker run --rm --gpus 'device=0' --ipc=host \
  -p 8000:8000 \
  -v inkling2-mini-hf-cache:/root/.cache/huggingface \
  registry.neural-nova.io/public/inkling2-mini:v1.0.2

Once startup completes, check the API in another terminal:

curl --fail --silent --show-error http://localhost:8000/health
curl --fail --silent --show-error http://localhost:8000/v1/models

Automatic context sizing

Release v1.0.2 uses --max-model-len auto and vLLM's native GPU-memory budget. At startup, vLLM selects the context that fits available GPU memory after warmup, up to the model's native 1,048,576-token maximum. Context includes input plus generated tokens.

The tested H100 80GB selected 1,025,024 tokens. The exact value depends on available memory; check max_model_len in /v1/models on your host.

Release validation: v1.0.2 passed six normal-generation requests on H100: all five scored answers were correct, and the explanatory response completed normally. A separate 131,104-token input also completed with one generated token. DSpark accepted draft tokens under normal verification. The full automatically selected window was not exercised; these are separate serving checks. Performance results for the same release are below.

Pin the image

To pin the serving image, replace its tag with:

registry.neural-nova.io/public/inkling2-mini@sha256:95b5dfa8ea7a81f253c976cbfb704a42cadc548db7ab238205a1892ea3076cf6

Optimization Changes

Component Optimization
Speculative decoding DSpark with seven speculative tokens in the benchmarked configuration.
Quantized MoE H100-specific tile sizes, scheduling, and pipeline depth for NVFP4 expert gate/up and down projections; FP32 accumulation retained.
Attention full/query projections Specialized BF16 GEMMs using H100 Tensor Memory Accelerator loads and tuned pipelines.
Target and DSpark key/value projections Selected DeepGEMM BF16 paths for supported shapes.
Attention output projections Two-way Split-K to distribute the reduction work.
Vocabulary and Markov projections Tuned unsplit GEMMs, preserving each operation's output precision.
Runtime integration Optimized paths installed before CUDA graph capture, with shape, dtype, layout, and device guards and native fallbacks.

These changes optimize execution of the existing model weights. They do not introduce another quantization step or change the model's architecture.

Benchmark Setup

Measured on November 30, 2026 using the published v1.0.2 image by the digest above. Within each suite, all three configurations ran on the same physical H100 with --max-model-len auto and no explicit GPU-memory-utilization override. The 1K/1K–4K/4K suite and the 64K/4K suite used separate H100 allocations.

Item Configuration
Hardware 1 Γ— NVIDIA H100 80GB HBM3, SM90; tensor parallelism 1
Runtime vLLM 0.34.0rc1.dev1235+gf2f9edcac; CUDA 13.0; driver 580.196.07
Model revision c9d028302cd0f035fdf8e7e91f089a4ce94d2195
Context auto: 1,048,576 tokens without DSpark; 1,025,024 with DSpark
Serving 64 maximum sequences; 8,192 batched tokens; CUDA graphs enabled; prefix caching disabled
DSpark when enabled 7 speculative tokens; probabilistic draft sampling; normal draft-token verification
Synthetic workloads Exactly 1,024/1,024, 4,096/4,096 and 65,536/4,096 input/output tokens
Prompts Fixed token-ID prompts shared across all configurations and repeated runs
Load C1 and C4; 8 requests per pass; 3 measured passes per case
Warmup 2 full passes, excluded from timing. 1K/1K and 4K/4K use the measured prompts; 64K/4K uses separate fixed warmup prompts.
Sampling Temperature 0, seed 42, top-p 1, top-k 0, min-p 0; repetition penalty 1; presence/frequency penalties 0; EOS ignored for exact output length
Timing checks No detected JIT compilation or compiler-cache artifact changes in any measured pass

Results

C1 means one concurrent request; C4 means four. Nova optimized combines DSpark with Neural Nova’s MoE and dense-kernel optimizations. The native DSpark-ON and Nova configurations share the same serving settings; the optimized-kernel plugin is the difference.

Throughput pools all three runs as total output tokens divided by total measured duration. Latencies are p50 (median) over 24 measured requests per case: TTFT = time to first token, TPOT = time per output token, and E2E = complete response time. Acceptance is the measured fraction of draft tokens accepted under normal verification.

1K input / 1K output

C1

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 159.50 74.54 6.200 6.418 β€”
Native kernels Β· DSpark ON 791.06 81.36 1.082 1.190 85.67%
Nova optimized Β· DSpark ON 839.57 81.12 1.017 1.121 85.67%

C4

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 513.96 184.32 7.560 7.906 β€”
Native kernels Β· DSpark ON 2,027.65 128.59 1.614 1.763 87.07%
Nova optimized Β· DSpark ON 2,119.70 132.10 1.537 1.690 87.07%

4K input / 4K output

C1

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 158.25 146.06 6.284 25.878 β€”
Native kernels Β· DSpark ON 366.60 148.60 2.553 10.602 32.49%
Nova optimized Β· DSpark ON 390.85 148.71 2.417 10.047 32.49%

C4

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 510.57 465.72 7.714 32.094 β€”
Native kernels Β· DSpark ON 1,045.61 243.65 2.989 12.406 36.17%
Nova optimized Β· DSpark ON 1,090.77 242.72 2.865 11.898 36.16%

64K input / 4K output

Each request contains 65,536 input tokens and 4,096 output tokens, using automatic context sizing. The settings and three-way comparison follow the setup above.

C1

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 125.55 3291.39 7.163 32.623 β€”
Native kernels Β· DSpark ON 287.22 3302.40 2.572 13.834 39.24%
Nova optimized Β· DSpark ON 298.41 3303.28 2.450 13.334 39.24%

C4

Configuration Output tokens/s ↑ TTFT p50 (ms) ↓ TPOT p50 (ms/token) ↓ E2E p50 (s) ↓ Draft acceptance
Native kernels Β· DSpark OFF 286.20 4591.47 12.828 57.190 β€”
Native kernels Β· DSpark ON 548.59 3418.11 5.427 27.340 41.52%
Nova optimized Β· DSpark ON 555.71 3420.85 5.325 27.219 41.24%

At C1, Nova optimized delivers 2.38Γ— throughput versus native DSpark OFF and +3.90% versus native DSpark ON. At C4, the pooled results are 1.94Γ— and +1.30%, respectively. The C4 DSpark configurations varied by about 7% across repeats; the smaller +1.30% difference does not establish a repeatable incremental kernel gain.

Throughput Improvement

Workload Concurrency Nova vs native DSpark OFF Additional gain vs native DSpark ON
1K/1K C1 5.26Γ— +6.13%
1K/1K C4 4.12Γ— +4.54%
4K/4K C1 2.47Γ— +6.61%
4K/4K C4 2.14Γ— +4.32%
64K/4K C1 2.38Γ— +3.90%
64K/4K C4 1.94Γ— +1.30% (pooled; see variation above)

Measurement Scope

Each suite used three fresh servers in a fixed order: native DSpark OFF, native DSpark ON, then Nova optimized with DSpark ON. Each reported cell contains three runs of the same eight prompts; every run is retained. These are same-server repeats, rather than independent server-order trials. Results describe this synthetic workload and do not imply the same gains for every traffic pattern.

This benchmark uses a fixed token-ID workload and the current automatic context setting. It replaces the earlier reference tables on this page; changes from those older measurements cannot be attributed solely to context sizing.

All per-run values, p50/p95 latencies, acceptance counters, output agreement, configuration and verification hashes are available in 1K/1K and 4K/4K results and 64K/4K results.

Validation

1K/1K and 4K/4K suite:

  • 288/288 measured requests completed with the exact input and output token counts, zero cached prompt tokens and zero preemptions. All 36 measured passes had no detected JIT compilation or compiler-cache artifact changes.
  • Native DSpark ON and Nova optimized produced identical full output token sequences in 96/96 paired measured requests. Each workload/concurrency pair uses eight unique prompts repeated three times; this is output-agreement evidence for these inputs, not an accuracy score.
  • Independent offline verification checked 1,120 artifact hashes, 6 deployed source hashes and all 480 response records, including warmups.

64K/4K suite:

  • 144/144 measured requests completed with exact token counts, zero cached prompt tokens and zero preemptions. All 18 measured passes had no detected JIT compilation or compiler-cache artifact changes.
  • Native DSpark ON and Nova optimized had identical full output token sequences in 24/24 paired records at C1 and 21/24 at C4. Output variation also occurred within native DSpark-OFF repeats at C4; these records do not identify a single cause.
  • Offline verification checked 580 artifact hashes, 6 deployed source hashes and all 240 response records, including warmups.

The underlying kernel package also has earlier numerical and task checks: 1,794 exact numerical checks per configuration (960 expert and 834 dense checks), plus a 32-question GSM8K smoke test at C4 in which native DSpark ON and Nova optimized both scored 31/32, with identical text and output token IDs. Those checks are separate from this synthetic performance benchmark.

Files

File Purpose
README.md Deployment instructions, optimization summary and current auto-context benchmark.
benchmark-results-auto-20261130.json 1K/1K and 4K/4K pooled and per-run metrics, output agreement and verification hashes.
benchmark-results-64k-auto-20261130.json 64K/4K pooled and per-run metrics, output agreement and verification hashes.
benchmark-results.json Retained historical benchmark data.

Upstream Model and License

The base model is thinkingmachines/Inkling-2-Mini, released under Apache 2.0. Consult its model card for intended uses and limitations, and its legal section for the upstream terms. The upstream model license does not determine the license of Neural Nova's container components.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for neural-nova/Inkling-2-Mini-Optimized

Finetuned
(195)
this model