Inkling-2-Mini setup

On this page

New in v0.8.0. Inkling-2-Mini is supported from veloGB10 v0.8.0 on.

Inkling-2-Mini is Thinking Machines Lab's compact looped mixture-of-experts model. veloGB10 serves its stock checkpoint as published (NVFP4 / MXFP8 weights, a 16-bit vision tower and a bundled MTP drafter), on one machine or across several. The model page links to the measured speed in the benchmarks.

What you need

  • One GB10 machine (DGX Spark, ASUS Ascent GX10 or another GB10 system). For more speed, two or four connected through their ConnectX-7 ports; Velo-Fabric also supports three, six and eight machines for this model (see Velo-Fabric).
  • The same gb10_inference build (v0.8.0 or later) on every machine.
  • The checkpoint on one machine only: the head. About 20 GB of disk.

1. Download the checkpoint (head only)

hf download thinkingmachines/Inkling-2-Mini --local-dir ./Inkling-2-Mini

The directory holds the weights (model-00001-of-00001.safetensors, which also carries the vision tower) and the drafter (mtp.safetensors). Only this stock layout is served: third-party EXL3 packs of Inkling-2 are not supported yet.

2. One machine

gb10_inference --server --host 0.0.0.0 --port 9000 \
  --model-dir /path/to/Inkling-2-Mini \
  --max-seq-len 262144 --max-batch 4 --max-tokens 65536 --prefix-cache on

Speculation with the bundled drafter is on by default. From v0.8.1 --max-seq-len can go up to 1,048,576 (the model's own maximum); a longer context costs memory per request. The server also offers /v1/tokenize and /v1/detokenize. When the head prints a line that starts with SERVING, the API is up.

3. Two or four machines

On every machine other than the head, start one node process. It needs no model and no other flags:

gb10_inference --node --port 29500

Then start the head and name the nodes:

gb10_inference --server --host 0.0.0.0 --port 9000 \
  --model-dir /path/to/Inkling-2-Mini \
  --tp 2 --nodes <node-ip>:29500 \
  --max-seq-len 262144 --max-batch 4 --max-tokens 65536 --prefix-cache on

For four machines use --tp 4 and name three nodes, separated by commas. The head sends each node its share of the model; later starts send nothing that a node already holds in its cache.

The thermal guard stays on (the default): it paces GPU work when a machine runs hot. See Heat and the thermal guard.

4. Send a request

A request that sends no sampler fields uses the model's own defaults, which is how the speed on the model page was measured:

curl -s http://<head-ip>:9000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"Inkling-2-Mini","max_tokens":256,"messages":[{"role":"user","content":"Write a haiku about memory bandwidth."}]}'

Images go in as image_url content parts on every machine count. Per-request reasoning_effort and OpenAI tool calling are supported.

Options worth knowing

Option Default What it does
--mtp off speculation on Turns speculation off. With it on, output at temperature 0 is the same as without it, and sampled output (including top_p / top_k) keeps the same distribution.
--inkling2-mtp-max-drafts N 7 The most tokens the drafter proposes per step (1 to 7).
--inkling2-expert-act native a16 Runs the expert activations at the precision the pack declares, on the 4- and 8-bit tensor cores: faster, and it changes the output's rounding against the 16-bit default.
--inkling2-ulysses-wire bf16 fp32 From three machines up: sends the sequence-parallel attention exchange in 16 bits instead of 32. Faster prefill, different rounding.
--image-max-tokens N 4096 The most tokens one image may take; a larger image is scaled down to fit, and the log says so.
--max-batch N 4 Requests served at once (up to 16); the rest wait in a queue.

The full list is in the command-line reference and in gb10_inference --help-advanced.

Watching it

curl -s http://<head-ip>:9000/metrics | grep -E "velo_fabric|inkling2"

Credits