Inkling 2 Mini (Saber served pack)

Inkling 2 Mini (Thinking Machines Lab; a 128-expert top-8 MoE with a three-pass looped middle, 24 physical layers = 48 layer visits a token) packed for the Saber engine, a native ROCm inference engine for AMD RDNA4 GPUs. It keeps the model's native expert precision (NVFP4 in layers 0-19, MXFP8 in layers 20-23, codes and scales unchanged), runs the attention trunk and the LM head in 8-bit, and includes the model's own bundled block drafter for speculative decoding. It serves an OpenAI-compatible API on one or two Radeon AI PRO R9700 cards: the same download runs on one card (TP=1) or two (TP=2), and the launcher picks the layout from the number of GPUs it finds.

Self-contained: one download, 20.73 GB. Nothing else is fetched: the non-expert tensors the engine reads, the tokenizer, the chat template and the configs are in this repository's base/.

This is not a general-purpose checkpoint: its files load only in the Saber engine.

Engine version. The public engine (GGZ14/saber-engine) serves this pack on two cards (TP=2) from its main branch (since 2026-11-24, 1da27661). The one-card (TP=1) path is in the engine branch inkling-tp1-sync, pending merge: until it is merged, one card needs that branch (git checkout inkling-tp1-sync after the clone below); main boots two cards only.

Quick start

You need:

GPUs 1 or 2x AMD Radeon AI PRO R9700 (RDNA4, gfx1201, 32 GB each): one card = TP=1, two = TP=2. Other GPUs are not supported.
OS Linux with the ROCm kernel driver (/dev/kfd, /dev/dri) and podman or docker (builds and GPU work run in the engine's container)
Disk 20.73 GB (this repository)

1. Get the engine and build its container (once):

git clone https://github.com/GGZ14/saber-engine && cd saber-engine
tools/build-image.sh
pip install -U "huggingface_hub[cli]"

2. Download (resumable; it checks free space first). Pick any directory as the storage root:

SABER_NVME=/data/saber tools/fetch_packs.sh inkling

This creates /data/saber/saber-packs/inkling-2-mini-nvfp4/ (this repository). Without the script:

hf download Launch80/Inkling-2-Mini-NVFP4-SABER --local-dir /data/saber/saber-packs/inkling-2-mini-nvfp4

3. Serve on port 8080 (the first run builds the engine, a few minutes; the boot itself takes under a minute):

SABER_NVME=/data/saber tools/serve_inkling.sh

With one GPU the launcher boots the one-card layout (tp1/, TP=1); with two or more it boots TP=2. INK_TP=1 forces one card on a two-GPU machine (DEVICE=1 picks the second card), INK_TP=2 forces two.

4. Ask it something:

curl -s localhost:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "model": "Inkling-2-Mini",
  "messages": [{"role": "user", "content": "Explain in one sentence why ice floats on water."}],
  "max_tokens": 256,
  "reasoning_effort": "none"
}'

reasoning_effort is the chat template's (none .. max; the template's default applies when it is absent). /v1/models and /v1/completions are also served, with streaming, logprobs (up to 20), stop strings and seeds.

5. Stop: tools/serve_inkling.sh stop. Logs: podman logs -f saber-inkling-serve.

Extra arguments to tools/serve_inkling.sh go to the engine, for example --ink-serve-ctx 16384 for longer sequences (the default is 4,096 tokens a sequence, prompt + output; up to 8 sequences at once, more requests queue).

What is in the pack

The files are laid out for two GPUs: each rank holds half of the experts (expert parallel) and half of every split dense tensor. tp1/ is the one-card layout of the SAME files (three small index files, 286 kB): the experts are already whole records, every dense tensor is whole in base/dense.safetensors, and the 8-bit trunk's two halves re-join exactly, so one card reads every byte from the files below, nothing is stored twice. The engine boots tp1/ only at --tp 1 and the repository root only at --tp 2, and each refuses the other by name.

part form files
routed experts, layers 0-19 (128 a layer) NVFP4 (e2m1 codes, e4m3 scale per 16, the source's per-tensor scale), the source's bytes re-laid per rank rank<r>/experts.xtier
routed experts, layers 20-23 MXFP8 (e4m3 codes, e8m0 scale per 32), the source's bytes re-laid per rank rank<r>/experts_mx8.xtier
attention projections of the 20 local layers + the LM head int8, one bf16 scale per 32 columns (RTNE) trunk8/
every other non-expert tensor (embeddings, global-layer attention, norms, router, message gates; the bf16 originals of the trunk records) BF16 / FP32, byte for byte base/dense.safetensors + rank<r>/dense.json, shared/dense.json (the record tables)
block drafter (the model's bundled draft) its BF16 tensors as raw files + a precomputed f64 fold of its head; the engine stores the block layers int8 at load draft/
draft vocabulary the 32,768 most frequent token ids the drafter scores (the target decides every token) draft/vocab_rank.u32
config, generation config, chat template, tokenizer verbatim base/
the one-card (TP=1) view: manifest, whole-tensor record table, 8-bit trunk index JSON, every record sha256-pinned to the files above tp1/

The drafter is in this repository (it pairs only with this target), not a separate download.

Results (the maintainers' gates; 2x AMD Radeon AI PRO R9700)

Measured on 2x R9700 (gfx1201, 32 GB each) at TP=2, cards capped at 210 W, the engine's default flags, BetterBench --quick (temperature 0.7, top_p 0.95, top_k 20), 4 boots an arm in A B B A order on an idle host (2026-11-23).

metric value
decode tok/s, single stream 140-145 (4 boots: 145.4 / 141.6 / 140.3 / 140.7)
decode tok/s, 8 concurrent (aggregate) 283-292 (282.6 / 286.2 / 292.7 / 287.7 on the earlier build; 291.0 / 292.0 with the merged multi-verify default)
time to first token p50 / p99, single 74-76 / 86-89 ms
time to first token p50 / p99, 8 concurrent 144-148 / 515-532 ms
update (inter-token) p99, single 27.8-28.2 ms
served prefill, one sequence (1k / 2k / 4k / 8k / 16k-token prompt) 4,119 / 4,384 / 4,601 / 4,667 / 4,607 tok/s (the earlier build: 2,629 at 2k, 1,972 at 16k)
first-token KL vs an f32 host reference of the same weights (40 prompts; measured on the earlier build, before the matrix-core prefill levers) mean 0.00108, max 0.0135 (0 of 40 over 0.0227)

What the KL row measures: the engine's numerics (8-bit trunk, int8 prefill activations, fused kernels) against an exact f32 evaluation of THESE weights. It is not a comparison with an unquantized model: the experts are the source's own NVFP4 / MXFP8 weights.

The drafter never changes the output: with greedy or seeded sampling the committed tokens are exactly the ones the engine produces without it (the engine's byte gate). At one live request it drafts up to 7 tokens a round, verified while the running probability product stays >= 0.6; at 2-8 live requests it drafts 2.

One card (TP=1)

Measured on ONE R9700 (card 0 of the same box, 210 W, the engine's default flags, BetterBench --quick, 2026-11-24, one boot). These are one-card numbers, a different class from the two-card table above.

metric value
decode tok/s, single stream (median) 98.4
decode tok/s, 8 concurrent (aggregate) 201.2
time to first token p50 / p99, single 103 / 137 ms
time to first token p50 / p99, 8 concurrent 222 / 682 ms
update (inter-token) p50 / p99, single 26.2 / 44.2 ms
served prefill, one sequence (1k / 2k / 4k / 8k / 16k-token prompt) 3,280 / 3,493 / 3,664 / 3,708 / 3,629 tok/s
first-token KL vs the f32 host reference (40 prompts) mean 0.00159, max 0.0279 (1 of 40 over 0.0227: the near-tie prompt that also moves across summation orders at TP=2)
decode-token KL vs the f32 host reference mean max 0.00807 against the two-card envelope's 0.00798: 1 % outside the decode half of the envelope (accepted)
memory weights 20.21 GiB; 8 sequences x 16,384 tokens boot at 31.4 of 31.86 GiB (the default 4,096-token sequences: 25.8 GiB)

Known limitations

  • One or two cards. TP=1 or TP=2 on gfx1201. On one card, up to 8 sequences of 16,384 tokens fit (the default is 4,096); more context a sequence at fewer sequences (--ink-serve-seqs, --ink-serve-ctx) is untested.
  • Text only. The source model takes images; the vision tower is not in this pack and the engine does not serve it.
  • No tool-call or reasoning parser. The raw text comes back; the model's message tokens separate reasoning from the answer and are dropped from the returned text.
  • Context. Tested to 16,896 tokens a sequence (the source advertises 1M; not exercised).
  • Sampling. Greedy and top_k <= 64 sample on the card; other settings (top_k 0, penalties) are exact but slower (host sampling).
  • Status. A research artifact. No support is provided.

File layout

path size
base/ (8 files: dense.safetensors 3.22 GB, index, config, generation config, chat template, tokenizer files) 3.25 GB
draft/ (62 files) 747.80 MB
manifest.json 4.21 kB
rank0/dense.json 77.32 kB
rank0/experts.xtier 5.74 GB
rank0/experts_mx8.xtier 2.10 GB
rank1/dense.json 77.32 kB
rank1/experts.xtier 5.74 GB
rank1/experts_mx8.xtier 2.10 GB
shared/dense.json 106.17 kB
trunk8/manifest.json 157.61 kB
trunk8/rank0/trunk8.bin 531.87 MB
trunk8/rank1/trunk8.bin 531.87 MB
tp1/manifest.json, tp1/shared/dense.json, tp1/trunk8.json (the one-card view) 286 kB
LICENSE, NOTICE 13 kB
total (86 files + README.md + SHA256SUMS) 20.73 GB

SHA256SUMS lists every file except README.md and itself: sha256sum -c SHA256SUMS.

manifest.json, trunk8/manifest.json and tp1/manifest.json record the maintainers' build paths (/mnt/nvme/...). They are build provenance and an input of the pack's plan checksum; the engine reads this repository's base/ instead of the recorded checkpoint path whenever base/ is present.

Provenance

A derivative of thinkingmachines/Inkling-2-Mini (revision 6e7c8248), taken from the packed conversion nativ-community/Inkling-2-Mini-nvfp4 (revision 26f71eef), which keeps the source's native expert precision. The modifications are listed in NOTICE.

License

Apache License 2.0 (LICENSE), as the source model. Use is also subject to the Thinking Machines Model Acceptable Use Policy.

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 Launch80/Inkling-2-Mini-NVFP4-SABER

Quantized
(325)
this model

Collection including Launch80/Inkling-2-Mini-NVFP4-SABER