Inkling-2-Mini Swift โ Loom (NVFP4 + Q8_0)
A Loom-native port of ukisai/Swift-Inkling-2-Mini, the reasoning-efficient Inkling-2-Mini fine-tune, converted from the official safetensors and measured on a 128 GB AMD Strix Halo (gfx1151). Routed experts stay in the model's native NVFP4 (bit-exact repack, no Q4 downgrade), layers 20-23 keep their published 8-bit precision, and the DSpark MTP drafter and vision encoder are the official components, unchanged. On this box the port matches the official checkpoint's decode speed and cuts 64% of the completion tokens on a verifiable coding suite, finishing in 2.8x less wall time and passing the task the official checkpoint truncates at the card's 4096-token output cap.
Check fit and compatibility before downloading: These are Loom GGUF files for hrx-loom 0.3.0 on
gfx1151(RDNA3.5) and cannot be loaded by mainlinellama.cpp. Weights are 16.41 GiB (text), 0.36 GiB (drafter) and 0.61 GiB (vision); a 262k-token fixed KV pool reports 30.89 GiB of committed storage. Tested on a 128 GB unified-memory Strix Halo with one GPU-bound server resident. The model is a 26.4B-parameter looped MoE (24 physical layers, 48 logical passes, 128 experts top-8) with a 1M-token native window.
| Model | Swift-Inkling-2-Mini (UkisAI fine-tune of thinkingmachines/Inkling-2-Mini) |
| Quantization | native NVFP4 experts (layers 0-19, bit-exact) + Q8_0 (layers 20-23, attention, embeddings, head); F32 norms; BF16 routers |
| Text weights | 17,617,827,840 bytes (16.41 GiB) |
| DSpark drafter | 390,348,672 bytes (0.36 GiB), Q8_0 + BF16, unchanged from the official release |
| Vision encoder | 639,347,520 bytes (0.61 GiB), F16 + F32, unchanged from the official release |
| Runtime | AMD Loom / hrx-loom 0.3.0 (loom-serve), OpenAI-compatible |
| Tested hardware | 128 GB AMD Strix Halo, Radeon 8060S (gfx1151) |
| Decode | 89.9 tok/s warm short-context; 57.9 tok/s at 2.9k (official: 89.3 / 57.3) |
| Prefill | 2,059 tok/s at 2.9k, 2,114 tok/s at 11.5k (official: 2,140 / 2,173 on the same run) |
| Concurrency | 104.9 tok/s aggregate over 4 streams (official: 107.2) |
| Deep context | 126,852 tokens: 1,434 tok/s prefill, 31.3 tok/s decode, 88.5 s TTFT (official: 1,439 / 30.6 / 88.2 s) |
| Draft acceptance | 37.6-51.8% of generated tokens from drafts (adaptive DSpark d1<->d3) |
What makes this build different
- It is the fine-tune, not the base model, in the official quantization. Converted directly from Swift's
model-00001-of-00001.safetensors. The NVFP4 expert repack is verified bit-exact against the source (0.0 max reconstruction error), and the converted tensor layout matches the official Loom card tensor-for-tensor: 734 tensors with identical names, shapes, quant types, offsets and metadata. - No Q4 downgrade. The 11.46 GiB of routed experts in layers 0-19 stay NVFP4; layers 20-23 stay at their published 8-bit precision. Only the conversion the vendor's own format requires is applied.
- The drafter and vision tower are the official ones. Swift's card states the fine-tune keeps the base MTP head;
mtp.safetensorsand the vision weights are byte-identical tothinkingmachines/Inkling-2-Mini, so this package ships them unchanged. The drafter is not re-trained and the vision path is not touched. - The point of Swift survives the port. On the same box, same prompts and same engine, the port cut completion tokens by 64% and reasoning text by 71% across three verifiable tasks, and finished the one task the official checkpoint could not finish inside the 4096-token output budget.
- Full chat surface. Thinking control (
reasoning_effortnone through max), OpenAI-style tool calls, image input, and a 262k-token Loom KV pool are all served by the bundled programs. The card preset serves 262k context, 4 rows and adaptive DSpark depth 3.
Measured performance
Same box, same prompts, same Loom version, one server resident at a time. Throughput from the bundled verification script (warm medians; T=1.0 for the benchmark rows):
| Workload | Official Inkling-2-Mini | This package (Swift) |
|---|---|---|
| Warm text decode, 192 tok | 89.3 tok/s | 89.9 tok/s |
| Prose decode, 256 tok | 54.6 tok/s | 54.7 tok/s |
| Code decode, 320 tok | 58.4 tok/s | 62.9 tok/s |
| Math/thinking decode, 384 tok | 64.9 tok/s | 60.1 tok/s |
| Decode at 2.9k context | 57.3 tok/s | 57.9 tok/s |
| Prefill at 2.9k / 11.5k | 2,140 / 2,173 tok/s | 2,059 / 2,114 tok/s |
| 4-stream aggregate | 107.2 tok/s | 104.9 tok/s |
| 127k prompt | 1,439 tok/s prefill, 30.6 tok/s decode | 1,434 tok/s prefill, 31.3 tok/s decode |
Decode is within run-to-run noise: the two official runs differ by 0.1% on warm decode and up to 2.7% on prefill, and the Swift-vs-official prefill gap on this pass is 3-4%, the same order as that spread. The 127k row is effectively identical.
Verifiable coding tasks at reasoning_effort: max, temperature 0, hidden tests (an LRU cache checked against a randomized reference, a strict duration parser, and an even-length median bug fix), max_tokens 4096:
| Task | Official | Swift |
|---|---|---|
| LRU cache | pass, 15.55 s, 1,167 tok | pass, 4.37 s, 331 tok |
| Duration parser | fail, 59.87 s, 4,096 tok, finish=length |
pass, 15.34 s, 1,092 tok |
| Median bug fix | pass, 4.33 s, 363 tok | pass, 9.14 s, 618 tok |
| Total | 2/3, 79.8 s, 5,626 tok | 3/3, 28.9 s, 2,041 tok |
| Reasoning text | 16,941 chars | 4,970 chars |
The one task where Swift reasoned longer is the median fix (618 vs 363 tokens). The official checkpoint's duration failure is the overthinking pattern Swift targets: it spent the entire 4096-token budget on reasoning (finish=length, 12,793 reasoning chars) and emitted no code. The 4096 figure is the card preset, not an engine limit: with a max_tokens: 8192 request, the engine honors the larger budget, the official checkpoint finishes the same task (finish=stop, 5,142 tokens, 73.8 s), and Swift still needs only 1,092 tokens and 16.5 s. The token gap survives the fair test.
Recommendation
Which checkpoint to run, based on the measurements above and the fine-tune's design target:
Use Swift for:
- High-volume coding assistance, docstrings, unit tests, small refactors, code explanation, review passes.
- Interactive chat and batch jobs where thinking cost and latency matter.
- Clients with a tight output budget: it closes its reasoning where the official keeps going.
- Anything where you were already running the official model at
reasoning_effort: maxand paying for overthinking.
Keep the official checkpoint for:
- Hard debugging, architecture, and tasks where deep exploration is the point.
- Long-horizon agent runs where you want maximum reasoning headroom and have the token budget.
- Cases where you want vendor-default behavior with no fine-tune in the loop.
Run it
pipx install "hrx-loom[hf]>=0.3.0"
# Either clone/download this repository, or fetch the package with loom-fetch:
# loom-fetch huggingface:datayoda/Inkling-2-Mini-Swift-loom
# then, from the directory that contains model.json:
loom-serve --model=./model.json \
--device='amdgpu://?completion_spin_ns=4294967295' \
--pool_backing=fixed --listen=127.0.0.1:8080
Use reasoning_effort: "max" for the setting Swift was trained and benchmarked at; "high" is the template default. The preset serves max_tokens 8192 (the official card ships 4096), and per-request max_tokens is honored above the preset, verified to 8192. The bundle includes the program sources, weights.loom, head_weights.loom and llm_config.json, so it is self-contained under hrx-loom 0.3.0.
File details
| File | Bytes | SHA-256 |
|---|---|---|
weights/Inkling-2-Mini-Swift-nvfp4-q8.gguf |
17,617,827,840 | 27085820413caa77715c5bc87a2e43850ea9dd785e8b8e038e00d25e729160fb |
weights/dspark-Inkling-2-Mini-Swift-q8.gguf |
390,348,672 | 24a82d722846cea1ff5058d88b146752c54769f71fbfdd6e321a4c20f1c4b355 |
weights/mmproj-Inkling-2-Mini-Swift-f16.gguf |
639,347,520 | 17bb58b57f7584516ba1412316339ec7af3cda58fab53bba8fdda665bdf39df1 |
tokenizer.json |
10,993,207 | 440cd8cf3b7f6ba2dcd37e710aa2880e2a306306b2af2f075703177d84c2c8be |
- The tokenizer is the official Loom-patched tokenizer, byte-identical to the one in the official Inkling-2-Mini Loom package.
- Source:
ukisai/Swift-Inkling-2-Minisafetensors, converted with pure NumPy; no third-party quantized upload was used. bench/contains the exact suite, the per-task JSON (including the emitted code and reasoning) and the cap probe used for the numbers above.
Evaluation notes
- Throughput: the official package's
scripts/verify_and_bench.py, warm medians, one server resident at a time on an otherwise idle box. The 127k row is one streaming request with thinking disabled and a 128-token cap. - Coding suite: three tasks with hidden tests, temperature 0,
max_tokens4096 (the card preset),reasoning_effort: max. Scoring is test pass/fail, not an LLM judge. - Draft acceptance is reported by the server's own metrics.
- Swift's published claim is 58.6% fewer thinking tokens at max effort with under 1% accuracy loss; this card reports what the port measured on this box, not a re-run of the full benchmark suite.
- The vision encoder and MTP head are byte-identical to the official release, so no vision or drafting quality change is expected from this package.
- 3 coding tasks is a sample, not a benchmark suite. The per-task rows are shown so the variance is visible.
Credits
Thanks to Thinking Machines Lab for Inkling-2-Mini, UkisAI for the Swift fine-tune, Eric Flo for the Loom conversion and serving package this builds on, and the AMD Loom / hrx-system authors. If you run this package, sharing your engine version, hardware, context length and reproducible numbers is welcome.
- Downloads last month
- -
4-bit
Model tree for datayoda/Inkling-2-Mini-Swift-loom
Base model
thinkingmachines/Inkling-2-Mini