Faster Inference for Inkling 2 Mini by Neural Nova

Neural Nova helps model developers and inference providers improve the performance and cost efficiency of serving AI. Nova AI Platform connects profiling, kernel investigation, and validation in one workflow, focusing optimization on the operations that matter to the deployed model.
Neural Nova’s kernel optimizations added additional End-to-End model throughput on top of DSpark in the recorded 1K/1K and 4K/4K H100 comparisons. The work targeted Inkling 2 Mini’s quantized MoE and dense projections, with selected attention projection kernels achieving up to 26.5% speedup in isolated tests. Correctness checks and complete-model measurements validated the combined configuration.
Together, DSpark and Neural Nova’s optimized kernels delivered 3.98× native throughput at Concurrency 1 (C1) and 3.33× at Concurrency 4 (C4) on the 4K/4K workload. The 1K/1K results reached 3.39× and 2.97×, respectively. These are full deployment gains over native kernels with DSpark disabled; the additional kernel gains above compare configurations with DSpark already enabled.
Inkling 2 Mini in brief
Inkling 2 Mini is a language model from Thinking Machines. It uses specialized groups of parameters, called experts, and repeats part of its network to process information. Its published weights are stored in compact numerical formats to reduce memory requirements. Model overview
It also includes DSpark, a small model that proposes several tokens for the main model to check together. This helps the system generate text faster. The optimized Inkling configuration builds on that foundation by making selected calculations more efficient on H100. DSpark integration
How Nova AI drives the optimization workflow
Nova AI starts with a defined model, runtime, GPU, workload, and performance objective. It brings execution profiles into a kernel investigation loop, where candidates for supported targets can be proposed, checked for correctness, and measured in the serving workload.
The platform feeds each serving result back into the investigation. A change can be refined, rejected, or combined with other improvements; the combined configuration receives its own validation and benchmark. Nova AI retains the measurements and decisions, producing an optimization record that teams can review and reproduce.
Benchmark and environment setup
Item | Configuration |
|---|---|
Hardware | 1 × NVIDIA H100 80GB HBM3, SM90; tensor parallelism 1 |
Runtime | vLLM |
Model |
|
Precision | Published NVFP4/MXFP8 expert weights; BF16 serving dtype |
Serving settings | 131,072-token context limit; 64 maximum sequences; 8,192-token batch budget; 75% GPU memory utilization |
Execution | CUDA graphs enabled; prefix caching disabled |
DSpark when enabled | 7 speculative tokens; probabilistic draft sampling |
Workloads | Fixed 1,024-input/1,024-output and 4,096-input/4,096-output tokens; C1 and C4; 32 requests per timed run |
Sampling | Temperature 0, request seed 42; EOS ignored to reach the fixed output length |
Each configuration used the same frozen prompts for its workload. Timing followed at least two full workload warmups, with up to three allowed to reach a final warmup without observed compilation. Timed runs had zero observed JIT compilation or compiler-cache writes. Throughput is total output tokens divided by total measured duration; latency comes from the client’s recorded requests. Latency summaries below use p50, the median request latency.
The 1K native DSpark-off/on results use one timed run per concurrency; the combined results pool three runs on a different physical H100. All 4K results pool three runs per configuration and concurrency. The 4K native DSpark-ON and optimized configurations were compared on the same GPU; the DSpark-OFF reference was collected later on a different H100. Full-stack ratios therefore compare recorded runs, while the 4K kernel-only comparison holds the physical GPU fixed.
What Neural Nova optimized
Identify the costly operations
Nova AI uses execution profiles to focus optimization on the work that matters to serving performance. For Inkling, the evaluated configuration retained an 8,192-token batch budget with DSpark enabled. Profiles at C1 and C4 exposed the operations consuming the most GPU time.
Dense matrix multiplications accounted for approximately 34.7% of GPU time at C1 and 24.2% at C4 in the saved profiles. Alongside the expert layers, this made attention projections, output projections, and the target and draft models’ vocabulary heads important optimization targets.
DSpark also shaped the optimization targets. Verifying several proposed tokens together creates small matrix batches, including recurring 8-row and 32-row target projections. These observed shapes guided the specialized kernel configurations.
Retune the quantized MoE kernels
Nova AI’s investigation loop connects a performance hypothesis to a concrete kernel change and its validation results. In Inkling’s optimized configuration, the Humming kernels for selected NVFP4 expert calculations use tuned tile sizes, thread-block scheduling, and pipeline depth. The gate/up and down projections have separate settings because their work layouts differ.
The optimized paths preserve FP32 accumulation and retain the native implementation for MXFP8 experts and other shapes. The changes improve how the existing quantized computation executes on H100 without changing the model’s weight format.
Specialize the dense projections
Kernel selection follows the dimensions, precision requirements, and measured performance of each operation. Inkling’s combined configuration uses a different approach for each projection family:
Projection | Optimization in the combined configuration |
|---|---|
Attention full and query projections | Tuned matrix tiles and a four-stage pipeline, using H100’s Tensor Memory Accelerator for data loads |
Target and DSpark context key/value projections | DeepGEMM’s BF16 implementation for the shapes where it performed well |
Attention output projections | Two-way Split-K, dividing the matrix reduction into two parts to change how work is parallelized |
Vocabulary and Markov projections | Separately tuned, unsplit GEMMs for their large output dimensions while preserving each operation’s output precision |
DeepGEMM supplies the selected key/value kernels; the other paths use specialized implementations. The selected attention full/query kernels showed 11.76% to 26.46% speedups in kernel time across four cases. Complete serving measurements then established the impact of the combined changes.
Integrate the changes with DSpark and CUDA graphs
The Inkling integration installs the optimized paths before CUDA graph capture so they become part of the model’s serving execution. Dispatch checks the tensor shape, precision, layout, and device, selecting an optimized kernel for supported cases and retaining native execution elsewhere.
Nova AI evaluates composed candidates through joint correctness checks and a fresh serving measurement. Inkling’s combined-stack benchmarks likewise measure the MoE and dense changes together with DSpark, capturing their interaction with the draft model, verification, and request scheduling.
Validate correctness and serving performance
The 4K DSpark-ON comparison passed numerical checks per configuration against the loaded model weights. In a separate 32-question math check, both DSpark-on configurations answered 31 correctly and produced matching responses.
Results
C1 means one concurrent request; C4 means four. Nova optimized combines Neural Nova’s MoE and dense-kernel optimizations with DSpark. All latency values are p50 (median). ↑ Higher throughput is better; ↓ lower latency is better. TTFT is time to first token, TPOT is time per output token, and E2E is total response time.
1K input and 1K output
Each request contains 1,024 input tokens and 1,024 output tokens.
C1
Configuration | Output tokens/s ↑ | TTFT p50 (ms) ↓ | TPOT p50 (ms/token) ↓ | E2E p50 (s) ↓ |
|---|---|---|---|---|
Native kernels · DSpark OFF | 158.96 | 75.29 | 6.206 | 6.424 |
Native kernels · DSpark ON | 510.59 | 79.15 | 1.554 | 1.668 |
Nova optimized · DSpark ON | 538.36 | 78.37 | 1.463 | 1.575 |
C4
Configuration | Output tokens/s ↑ | TTFT p50 (ms) ↓ | TPOT p50 (ms/token) ↓ | E2E p50 (s) ↓ |
|---|---|---|---|---|
Native kernels · DSpark OFF | 475.51 | 188.04 | 8.158 | 8.533 |
Native kernels · DSpark ON | 1,332.14 | 94.24 | 2.373 | 2.523 |
Nova optimized · DSpark ON | 1,411.62 | 92.71 | 2.262 | 2.406 |
Gains at C1 and C4
Total gain versus DSpark OFF: throughput reached 3.39× at C1 and 2.97× at C4. Median TPOT fell 76.42% and 72.28%, and median E2E latency fell 75.48% and 71.80%, respectively.
Additional kernel gain versus DSpark ON: throughput increased 5.44% at C1 and 5.97% at C4. Median TPOT fell 5.82% and 4.71%, and median E2E latency fell 5.56% and 4.62%, respectively.
At C1, median TTFT was 4.09% higher than native DSpark OFF; at C4, it was 50.70% lower. Against native DSpark ON, it was 0.98% lower at C1 and 1.62% lower at C4.
4K input and 4K output
Each request contains 4,096 input tokens and 4,096 output tokens.
C1
Configuration | Output tokens/s ↑ | TTFT p50 (ms) ↓ | TPOT p50 (ms/token) ↓ | E2E p50 (s) ↓ |
|---|---|---|---|---|
Native kernels · DSpark OFF | 157.88 | 154.58 | 6.279 | 25.868 |
Native kernels · DSpark ON | 594.84 | 153.11 | 1.526 | 6.401 |
Nova optimized · DSpark ON | 628.86 | 153.20 | 1.436 | 6.036 |
C4
Configuration | Output tokens/s ↑ | TTFT p50 (ms) ↓ | TPOT p50 (ms/token) ↓ | E2E p50 (s) ↓ |
|---|---|---|---|---|
Native kernels · DSpark OFF | 467.94 | 511.03 | 8.357 | 34.699 |
Native kernels · DSpark ON | 1,494.03 | 173.70 | 2.334 | 9.738 |
Nova optimized · DSpark ON | 1,556.82 | 172.99 | 2.235 | 9.325 |
Gains at C1 and C4
Total gain versus DSpark OFF: throughput reached 3.98× at C1 and 3.33× at C4. Median TPOT fell 77.13% and 73.25%, and median E2E latency fell 76.67% and 73.13%, respectively.
Additional kernel gain versus DSpark ON: throughput increased 5.72% at C1 and 4.20% at C4. Median TPOT fell 5.87% and 4.25%, and median E2E latency fell 5.71% and 4.24%, respectively.
Median TTFT was 0.89% lower at C1 and 66.15% lower at C4 than native DSpark OFF. Against native DSpark ON, it changed by less than 0.5% at both concurrency levels.
What this means for inference cost
Higher throughput gives a provider the opportunity to produce the same output with less GPU time. At a fixed GPU-hour price, the recorded 4K ratios are equivalent to approximately 75% less GPU time at C1 and 70% less at C4 under the benchmark conditions.
The additional kernel gains in the controlled 4K comparison correspond to approximately 5.4% and 4.0% less elapsed time for the same output volume. How those gains translate into a deployment’s costs depends on its traffic, utilization, and latency requirements.
For a model team, this work helps carry an architecture’s capabilities into efficient execution. For an inference provider, it provides a concrete configuration and kernel package to evaluate against the workload it serves.
Takeaways
Inkling 2 Mini shows two levels of improvement: up to 3.98× recorded throughput from DSpark plus the optimized kernels, and 4.2–6.0% additional model throughput from Neural Nova’s kernel work with DSpark already enabled. That added gain comes from targeted changes to the quantized MoE and dense projections, tested together in the serving workload.
Nova AI turns profiling evidence into an iterative optimization workflow: investigate the bottleneck, evaluate a targeted change, validate the combined configuration, and measure the complete model. For model developers and inference providers, that means optimization decisions grounded in the hardware and traffic they need to serve.
Try it Yourself
Explore Neural Nova’s optimized Inkling 2 Mini on Hugging Face. You’ll find the Docker image, setup instructions, benchmark scripts and reference results to evaluate performance on your own H100.
