MEASURED·EXPERIMENTAL·2 min read·Nov 23, 2026

Inkling-2-Small on 4× DGX Spark with a 4-bit KV cache (experimental)

The Inkling-2-Small recipe with its KV cache stored in 4 bits: the same memory holds 1.8 times the tokens, quality unchanged, and decode behind long contexts is faster. One script sets up all four nodes.

4× DGX Spark GB10 · TP4/EP4 · SGLang experimental-1.6 · aidendle94/sparkrun-sglang-inkling2-gb10:experimental-1.6 · measured Nov 23, 2026

  • Inkling-2-Small
  • SGLang
  • multi-node
  • TP4
  • DGX Spark
  • NVFP4
  • MoE
  • speculative decoding
3,248 / 2,840tok/sPrefill · cold, 30K / 120K tokensPrompts the server has not seen, with the recipe's larger prefill chunks
56.9tok/sDecode · one stream, temperature 1.016 coding questions with 400-token answers
524KtokensContextPer request
1.41MtokensKV poolThe memory of 793K tokens of the 8-bit cache

01Overview

What you need
  • Four DGX Spark nodes with nothing else on their GPUs, linked by a RoCE network
  • ssh without a password from one node to the other three, and Docker usable without sudo
  • About 130 GB free in the home directory of every node

This recipe serves Inkling-2-Small on four DGX Spark nodes with its KV cache, the model's memory of the conversation, stored in 4 bits (NVFP4) instead of 8. The same memory holds 1,409,000 tokens instead of 793,000.

Quality is unchanged on held-out text, and one request writes its answer at 56.9 tok/s at temperature 1.0. Behind 500K tokens of context it writes 52.2 tok/s, against 47.6 with the 8-bit cache.

02Build

Run it

  1. Find each node's fabric address. It is the address on the 200G port: ip -br addr lists it next to an interface named like enp1s0f0np0.
  2. Let the first node log in to the others. On the first node, run ssh-copy-id <address> once for each of the other three.
  3. Let your user run Docker on every node. Run sudo usermod -aG docker $USER, then log out and in again.
  4. Run the script on the first node. It checks every node, pulls the image, downloads each node’s 93 GB of weights, starts the fleet and sends a first request. If a step fails, it says what to fix; run the same command again.
setup · the first node
git clone https://github.com/aidendle94/sparkrun-recipes
cd sparkrun-recipes/recipes/inkling-2-small/sglang-nvfp4-kv
./quickstart.sh 192.0.2.11 192.0.2.12 192.0.2.13 192.0.2.14   # your four fabric addresses, this node first

# Only the checks, nothing changed:
./quickstart.sh --check

# First request (port 8210 on the first node).
curl -s http://<first-node>:8210/v1/chat/completions -H 'content-type: application/json' \
  -d '{"model":"inkling-2-small","messages":[{"role":"user","content":"Is 91 prime?"}],"max_tokens":400}'
day to day
./quickstart.sh --status          # serving? which KV cache on each node?
./quickstart.sh --stop            # stop the fleet and its watchdog
launch/relaunch.sh                # start or restart
KV_NVFP4= launch/relaunch.sh      # the same stack with the 8-bit (FP8) KV cache

03Performance

Measured2026-11-23, one boot each, against the 8-bit cache on the same day. Experimental: the Inkling-2-Small recipe with its KV cache in 4 bits (NVFP4), at temperature 1.0. Image: aidendle94/sparkrun-sglang-inkling2-gb10:experimental-1.6.

Prefill · cold, 30K / 120K tokens3,248 / 2,840tok/sPrompts the server has not seen, with the recipe's larger prefill chunks
Decode · one stream, temperature 1.056.9tok/s16 coding questions with 400-token answers
Context524KtokensPer request
KV pool1.41MtokensThe memory of 793K tokens of the 8-bit cache
Decode behind 500K tokens52.2tok/sOne stream, against 47.6 with the 8-bit cache
Held-out text1.4437lossThe same as with the 8-bit cache
Decode with the 8-bit and the 4-bit KV cachetok/s, one stream, temperature 1.0 · higher is better
8-bit (FP8) cache4-bit (NVFP4) cache
Short prompts54.056.9+5%
Behind 130K tokens54.155.7+3%
Behind 500K tokens47.652.2+10%

The same stack and fleet on the same day.

Cold prefill with prefill chunks of 4,096 and 8,192 tokenstok/s on new prompts · higher is better
4,096-token chunks8,192-token chunks (the default here)
30K tokens2,8213,248+15%
60K tokens2,8203,113+10%
120K tokens2,6152,840+9%

Lower of two prompts per length on an idle fleet. The 8-bit cache prefills the same.

Across recipes

Single-stream decode, by recipetok/s · higher is better
Inkling-2-Small · 4-bit KV cache (experimental)shipped56.9
Inkling-2-Small · SGLang (experimental)55.6
DeepSeek-V4.1-Flash · SGLang (1.8)96.5
DeepSeek-V4.1-Flash (1.1, DCP2)60.8
GLM-5.3-Flash (1.2)89.7
DeepSeek-V4-Flash (3.76.1)71.0
DeepSeek-V4-Flash-Vision (3.73)67.9

One request at a time. Inkling-2-Small at temperature 1.0, the others at temperature 0.

Cold prefill, by recipetok/s · unique content · higher is better
Inkling-2-Small · 4-bit KV cache (experimental)shipped2,840
Inkling-2-Small · SGLang (experimental)2,615
DeepSeek-V4.1-Flash · SGLang (1.8)4,892
DeepSeek-V4.1-Flash (1.0)2,143
GLM-5.3-Flash (1.2)2,070
DeepSeek-V4-Flash (3.76.1)2,200
DeepSeek-V4-Flash-Vision (3.73)2,380

Prompts the server has not seen.

Measured 2026-11-23, one boot each8-bit (FP8) KV cache4-bit (NVFP4) KV cache
KV cache, same memory793,000 tokens1,409,000 tokens
Held-out text, average loss (lower is better)1.44371.4437
Lookups in a 130K-token context, 40 questions36 right35 right
One stream, short prompts54.0 tok/s56.9 tok/s
One stream, behind 130K tokens54.1 tok/s55.7 tok/s
One stream, behind 500K tokens47.6 tok/s52.2 tok/s
Cold prefill of 120K tokens, the same settings2,615 tok/s2,615 tok/s
Cold prefill of 120K tokens, this recipe’s larger prefill chunksnot measured2,840 tok/s

The same stack and fleet on the same day, decode at temperature 1.0.

Measured 2026-11-24, timed at the clientGreedyTemperature 1.0
One stream, 21 short prompts64.3 tok/s57.2 tok/s
Two streams at once, total85.4 tok/s85.8 tok/s
Eight streams at once, total164.1 tok/s148.4 tok/s
One stream behind 130K tokens49.0 tok/s49.2 tok/s
One stream behind 500K tokens47.2 tok/s42.2 tok/s

Chat requests through the OpenAI-style endpoint, decode timed from the first to the last output. A cold 129K-token prompt took 46 s and a cold 498K-token prompt 276 s.

04Notes

If the script stops

  • Cannot log in without a password:run ssh-copy-id <user>@<address> from the first node.
  • Docker does not answer:add the user to the docker group on that node and log in again.
  • No RDMA device:the 200G port of that node is not set up for RoCE.
  • Not enough disk:free about 130 GB in that node’s home directory.
  • Not an address of this node:run the script on the node you list first.

Known problems

  • The open problems of the 8-bit recipe apply here too:see Inkling-2-Small on SGLang.
  • About one long lookup in ten ends without an answeron either cache, because the model re-reads the context until it runs out of tokens.