Inkling-2-Small for four DGX Sparks: the weights of the serving variant

This repository holds the weights of the Inkling-2-Small variant that serves on four NVIDIA DGX Spark nodes (GB10, 128 GB each), pre-sharded: one folder per node, with exactly the weights that node holds.

folder what size
rank0/ … rank3/ each node's weights: its quarter of every expert's width and its share of the rest, plus the config, tokenizer and chat template. Load with the recipe's PRESHARDED=1 about 93 GB each
full/ the official NVFP4 checkpoint, thinkingmachines/Inkling-2-Small at revision b0e7afb8892a07897c78ce1c5b801a0d9cbd5e7b, byte for byte: for other layouts or node counts 394 GB
spark/gate-head-mlp-reg.pt the confidence head of this variant: a 256-unit MLP that tells the speculative decoding how many draft tokens to verify, trained for this variant on the draft's hidden states 4.7 MB, sha256 0bc7b3d52da6c1bd...

A node downloads only its own folder, about a quarter of the official checkpoint. The rank folders hold each node's parameters as the engine's loader leaves them, before any post-processing: the node's slices of the official checkpoint, byte for byte. The rest of the variant is applied by the recipe's hooks when the server loads them:

  • the 384 experts of every layer are sharded by width over the four nodes (this is what the folders hold);
  • the attention weights are packed into 12 bits without rounding;
  • the draft reads int8 copies of its own weights;
  • the block scales of the NVFP4 experts stay packed in memory;
  • the KV cache is FP8;
  • the confidence head picks how many of the draft's tokens the full model verifies.

On the test fleet, a boot from the rank folders gave every parameter of every node the same checksum, after the full load, as a boot from the official checkpoint, and the same greedy text on 16 of 16 questions. Every node also checks its folder at boot: rank, node count, the switches that shape the weights, and a checksum of every parameter.

The rank folders work with four nodes and the recipe's default expert layout only. For anything else, use full/. Status: experimental. The variant runs on a development image of SGLang, and every number below is a single boot on one fleet. The open problems are in the recipe's README.

The code

The launcher, the watchdog, the hooks, the tests and the lab notes are on GitHub, under the MIT licence: github.com/aidendle94/sparkrun-recipes, recipes/inkling-2-small/sglang. The recipe's README there is the full documentation. A walk-through is on the blog: aidenle.com/recipes/inkling-2-small-sglang-4x-dgx-spark. The engine image with the hooks inside is aidendle94/sparkrun-sglang-inkling2-gb10:experimental-1.5 on Docker Hub.

The recipe recipes/inkling-2-small/sglang-nvfp4-kv runs the same stack with the KV cache in NVFP4 (1,409,000 tokens in the memory of 793,000 FP8 tokens, held-out NLL unchanged, faster decode behind long contexts) and sets everything up with one script, these rank folders included.

Download and run

The short way, on the node of rank 0 (the script downloads each node's folder, starts the fleet and checks it):

git clone https://github.com/aidendle94/sparkrun-recipes
cd sparkrun-recipes/recipes/inkling-2-small/sglang-nvfp4-kv
./quickstart.sh <fabric address of node 0> <node 1> <node 2> <node 3>

By hand, with the FP8 KV cache:

# On node R (R = 0, 1, 2, 3), its own folder, about 93 GB. On a node that serves something else, cap the download's
# memory: on GB10 the page cache competes with the GPU for the same memory.
systemd-run --user --wait --pipe -p MemoryMax=4G hf download aidendle94/Inkling-2-Small-DGX-Spark \
  --include "rank<R>/*" --local-dir ~/inkling2-weights

# On the node of rank 0: the recipe, then the site file (nodes, users, RDMA devices).
git clone https://github.com/aidendle94/sparkrun-recipes
cd sparkrun-recipes/recipes/inkling-2-small/sglang
cp launch/fleet.env.example launch/fleet.env      # then edit it

# Load every node's own folder (the path is relative to each node's home), check the four commands, launch.
export PRESHARDED=1 INKLING_REPO_REL=inkling2-weights
launch/launch-inkling2.sh --dry-run
launch/relaunch-inkling2.sh

The recipe's patches/ folder carries the same confidence head as spark/ here. The launcher reads the copy in patches/. With full/ instead (394 GB on every node): --include "full/*", then INKLING_REPO_REL=inkling2-weights INKLING_SNAP=full and no PRESHARDED.

Measured

On the test fleet, 2026-11-21, with every launcher default. Speed is at temperature 1.0, the standard way to run the model.

what measured
decode, one stream, 16 coding questions of 400 tokens 55–56 tok/s
decode, four / eight streams 92–107 / 131–137 tok/s for the batch
cold prefill, 30K / 120K tokens 3,110 / 2,786 tok/s (2026-11-16)
context, KV pool 524,288 tokens of context, a pool of 793,000 tokens (1,409,000 with the NVFP4 KV cache)
decode behind 500K tokens of context, one stream (2026-11-23) 47.6 tok/s with the FP8 KV cache, 52.2 with the NVFP4 one
a picture, one request 1.2–3.2 s with 60–80 answer tokens

The conditions of each number are in the recipe's docs/results.md on GitHub.

Licence

The model weights (full/, and the slices of them in rank0/ to rank3/) are the work of Thinking Machines Lab, released under the Apache License 2.0 (LICENSE), and their use is subject to the publisher's acceptable use policy. full/ is redistributed unmodified; the rank folders hold byte-for-byte slices of it. spark/gate-head-mlp-reg.pt is released under the MIT licence, as is the recipe's code on GitHub. See NOTICE.

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 aidendle94/Inkling-2-Small-DGX-Spark

Finetuned
(11)
this model