Repository navigation
Description
Model
Inkling 2 Mini — Thinking Machines Lab, released 20 November 2026, Apache 2.0.
- Base model card: https://huggingface.co/thinkingmachines/Inkling-2-Mini
- Unsloth GGUF: https://huggingface.co/unsloth/Inkling-2-Mini-GGUF
- Announcement: https://thinkingmachines.ai/news/inkling-2-mini/
- Unsloth guide: https://unsloth.ai/docs/models/inkling-2-mini
- Hugging Face release blog: https://huggingface.co/blog/inkling2mini
GGUF
https://huggingface.co/unsloth/Inkling-2-Mini-GGUF
Published quant sizes (GB): UD-IQ1_S 7.76, UD-IQ1_M 8.02, UD-IQ2_XXS 8.49,
UD-Q2_K_XL 9.14, UD-IQ3_XXS 11.7, UD-Q3_K_XL 13.6, UD-IQ4_XS 15.7,
UD-Q4_K_M 16.6, UD-Q4_K_XL 17.6, UD-Q8_K_XL 22.9.
Also two DSpark drafter GGUFs: Q8_0 402 MB and BF16 648 MB.
I would run UD-Q3_K_XL (13.6 GB) or UD-Q2_K_XL (9.1 GB) on an AMD
Radeon RX 7600 XT with 16 GB VRAM and 31 GB system RAM. Q4_K_M (16.6 GB) does
not fit without offload. The model card recommends 32 GB+ VRAM for other GPUs.
Does llama.cpp run it?
Yes. The base model card lists "llama.cpp, for quantized GGUF versions"
under Required software, and the Unsloth GGUF page publishes working launch
commands (llama serve -hf unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M). The release
blog also confirms llama.cpp/Llama App, transformers, MLX and day-zero SGLang
support. So if the engine reads the same GGUF files as llama.cpp, the weights
are available and the reference implementation exists.
Total and active parameters
- 26.2–26.4B total (Unsloth card says 26.2B, base card says 26.4B)
- 3.4B active weights per text token, of which ~3.1B are unique
- The middle 12 layers are looped three times, adding ~1.0B effective active
parameters per extra pass, for ~5.4B effective active parameters per token - MoE: each token is routed to 8 of 128 experts in each layer
Sources: both model cards; https://artificialanalysis.ai/articles/inkling-2-mini
Architecture
general.architecturein the GGUF: inkling2; the base model is also
taggedinkling2_loopon Hugging Face- 24-layer decoder-only transformer with sparse MoE feed-forward layers
- Looped layers: the middle 12 of 24 layers run three times with shared
weights, giving 48 layer applications per token from 24 layers of weights - Hybrid attention: a mixture of local and global layers
- Natively multimodal: a vision transformer encodes images into the same
hidden space as text; recommended image dimensions 40–4096 px per side - Context window: 1M tokens
- Numerics: native weights shipped as mixed NVFP4 and MXFP8 in a ~20 GB
checkpoint; safetensors tensor types include F32, BF16, F8_E4M3 and U8 - Drafting: DSpark drafter GGUFs ship with the model for extra speed at a
small memory cost - The model card notes that "support for looped models in local runtimes is
new, and speed varies by runtime and hardware" — which is exactly why a
second, optimized engine like PolyStrata would be valuable here.
Why this model?
Correction on the comparison: the model I actually use every day is
Qwen3.6-35B-A3B (35B total / 3B active, Apache 2.0, 262K native context,
extensible to ~1,010,000), not Qwen3.8-27B. Inkling 2 Mini's vendor table
compares against Qwen3.8-27B, where both score 20.1 on the AA Intelligence
Index v5 with ~2.8× less compute for Inkling. That is not a claim about
Qwen3.6-35B-A3B.
I could not find a published, like-for-like head-to-head between Inkling 2 Mini
and Qwen3.6-35B-A3B. Thinking Machines' launch post mentions an
"Intelligence per Watt" experiment against Qwen3.6-35B-A3B, but the numeric
chart is not extractable from the page text, so I am not quoting it.
Where the two publishers report the same benchmark names, the numbers are:
| Benchmark | Inkling 2 Mini | Qwen3.6-35B-A3B | Comparable? |
|---|---|---|---|
| SWE-bench Verified | 79.2% (bash only, mini-swe-agent v2.4.6) | 73.4% (Qwen internal scaffold, file-edit tools, temp 1.0, 200K ctx) | No — different harness |
| SWE-bench Multilingual | 73.7% (bash only) | 67.2% (Qwen internal scaffold) | No — different harness |
| SWE-bench Pro | 77.9% (v2 Hard, 51 tasks) | 49.5% (public subset) | No — different benchmark version |
| MCP Atlas | 82.7% (MCP Atlas Public) | 62.8% (vendor) / 68.4% (Qwen3.5-27B) | Possibly different setups |
| BrowseComp | 79.0% (with compaction) | 57.4% estimated ±4.3 (benchgap, medium confidence) | Estimate, not measurement |
| MMMU-Pro | 74.9% | 75.0% (AA) / 71–75% by mode | Roughly comparable |
| GPQA | — (not in vendor table) | 86.0% (vendor) / 84.1% (AA) | n/a |
| HLE / HLE-Diamond | 15.2% (Diamond) | 22.2% (HLE text-only) | Different subsets |
Sources for the Qwen3.6 numbers: https://huggingface.co/Qwen/Qwen3.6-35B-A3B
and https://qwen.ai/blog?id=qwen3.6-35b-a3b ; third-party estimates from
https://benchgap.net/model/qwen3-6-35b-a3b .
So I am not claiming Inkling 2 Mini is better than Qwen3.6-35B-A3B. The
honest summary is that Inkling leads on several agentic/search benchmarks in
its own vendor runs, Qwen3.6 has stronger published knowledge/reasoning scores
in its own runs, and the harnesses differ enough that only a same-harness local
A/B can settle it. Having both models run well on PolyStrata would make that
comparison possible.
The practical appeal is a ~13.6 GB quant with a 1M context window and strong
agentic/search behaviour on a 16 GB card — a capability that is not currently
available with the models PolyStrata supports.
This is a feature request, not a blocker for me: llama.cpp/Unsloth Desktop can
run it today. PolyStrata's faster engine and multi-GPU/layer-split support would
make it much more useful on consumer AMD hardware.
Local check performed
The local checkout A:\StrataTools\PolyStrata (release 0.1.45-poly.10) has no
inkling references in source or docs. For orientation only, the architecture
guard appears in src/artifact/gguf_reader.cpp (strata::check_architecture),
per-architecture defaults in src/core/arch_defaults_test.cpp, the MoE path
uses n_expert in src/prefill/prefill.cpp, and Qwen3.6 has its own dispatch
in src/qwen35/q36_main.cpp. I am not prescribing an implementation — just
pointing at where the local version handles model families.
Activity
vehystrix commentedon Nov 20, 2026
Just to cut trough the comparison hedging: If this model trades blows with Qwen3.8-27B, it will absolutely be better than Qwen3.6-35B-A3B
Also, there's the AA benchmarks that absolutely do show it better than Qwen3.6-35B-A3B
JuggyBob commentedon Nov 21, 2026
Local measurements on the hardware from the original request, posted as follow-up data (2026-11-21). These are speed and compatibility measurements only, not a quality verdict.
Hardware: AMD RX 7600 XT 16 GB, Ryzen 7600X, ~31 GB system RAM.
Runtime finding first
The root quant files in
unsloth/Inkling-2-Mini-GGUF(includingUD-Q3_K_XL) use Unsloth's looped layout and need Unsloth's llama.cpp prebuilt (I usedb12588-mix-c0c3de8, Windows Vulkan). Mainline llama.cpp builds b12532 and b12602 both reject the root file with:Unsloth publishes separate
Mainline_Support/files for mainline, but their README says mainline also needs PR #32704, which is still open. So the model is not broken — today it simply needs the matching runtime. With the correct prebuilt, Q3_K_XL loads at 32K context and generates coherent output.Measured comparison (single runs, same three prompts)
Inkling: Unsloth prebuilt b12588, Vulkan0, root
UD-Q3_K_XL, 32K context, temp 1.0 / top-p 1.0 / top-k 0 / min-p 0.Qwen: PolyStrata HIP,
Qwen3.6-35B-A3B UD-Q3_K_M, 96K context (config default), MTP speculative decoding on.Qwen's 27.9 tok/s includes MTP (40/48 drafts accepted on that request). Inkling held about 3.2 GiB in system memory rather than local VRAM; decode did not collapse to single digits.
DSpark drafter
The 402 MB
dspark-Inkling-2-Mini-Q8_0.ggufworks with the same prebuilt (no mmproj needed). Draft acceptance was 0.607 on the coding prompt (102/168), but decode fell from 17.45 to 11.90 tok/s (−32%) and VRAM rose by roughly 0.5 GiB dedicated / 0.9 GiB shared. So speculation does not reproduce Qwen's MTP gain on this card. Cause not investigated — this is the measured result only.Reasoning behaviour
--no-reasoning-preserveis accepted but does not stop the model emittingreasoning_content— per the binary's own help, it only controls preserving reasoning across multi-turn history. With largermax_tokens(256/512/256 instead of 64/160/48), all three answers became visible and correct, with decode essentially unchanged (17.75 vs 17.45 tok/s on coding). Because the flag and token budget changed together, the visible answers are attributable to the budget, not provably to the flag.Caveats
Why the feature request still matters
On this 16 GB card the model runs, but only with ~3.2 GiB spilled to system memory and with a runtime-specific GGUF layout. A specialized engine that understands the looped layout and manages the expert/KV cache could plausibly address both, and 1M context plus the multimodal path are not available in the models PolyStrata supports today. That is the motivation for the request — not a claim that the model is already faster.
Full reports (exact commands and verbatim log lines):
A:\StrataTools\docs\reports\INKLING-2-MINI-LOCAL-RESULT-UNSLOTH-PREBUILT-2026-11-21.mdA:\StrataTools\docs\reports\INKLING-VS-QWEN36-A-B-2026-11-21.mdA:\StrataTools\docs\reports\INKLING-2-MINI-DSPARK-RESULT-2026-11-21.mdA:\StrataTools\docs\reports\INKLING-2-MINI-NO-REASONING-RESULT-2026-11-21.mdcantonapplet commentedon Nov 21, 2026
Seconding from the NVIDIA / 8 GB side. I run v0.1.45-poly.10 on Windows with an RTX 3070 Laptop (8 GB VRAM, 32 GB RAM), currently Qwen3.6-35B-A3B UD-Q3_K_M and Gemma 4 26B UD-Q3_K_M through the poly engine's hybrid expert split. A 4-bit Inkling 2 Mini (UD-Q4_K_XL / ggml-org IQ4_NL, ~17.6 GB) is exactly the size class that cannot sit whole on an 8 GB card - the case the poly engine exists for - and the ~13.6 GB Q3 would be very comfortable there. The looped layers and per-pass KV/conv caches are new engine work, but the MoE routing, expert cache and CPU-offload machinery should carry over. +1. (Found via setup.py --inspect, which correctly reports architecture inkling2_loop as unsupported today.)
JuggyBob commentedon Nov 21, 2026
Coordination note from a user following this request: an independent AMD HIP / RDNA3 implementation of Inkling 2 Mini is being worked on locally, aimed at gfx1102 (RX 7600 XT) on Windows. This is not a working model yet — no inference or speed claims.
Current status, stated precisely:
inkling2layout (including the 48-visits / 24-physical-layers loop metadata and per-layer head-count arrays);Inkling2class skeleton are in place, with unimplemented methods failing explicitly rather than mis-running another family;The loop/attention/expert kernels for HIP are still to be written. The existing PR #200 covers Linux/NVIDIA/CUDA and explicitly leaves HIP/Metal unported, so this effort is intended to be complementary rather than a competing implementation.
If it reaches correct, reproducible behaviour, we may open a PR for the HIP/RDNA3 side. Posting here so nobody duplicates the from-scratch work in the meantime. No timeline promises.
Final update (2026-11-22) — the port failed the correctness gate; no PR was opened
The note above is kept verbatim as the historical record. Everything below is the actual outcome. All Inkling source changes were reverted and the experiment is closed. I'm posting the per-stage numbers so the failure is explained with evidence rather than left as "didn't work".
The oracle used throughout was Maya's MIT
ref/inkling2.pyrun in float64 on the same Q3 GGUF and the same six token IDs (86228,149899,152703,25,171551,150770=Reply with exactly: hello world). All model runs were guard-enforced, one at a time, with daily config/engine hashes unchanged.Stage 1 — GGUF reader guard: PASS after four attempts
basic_string<char>→boolerrors, fixed with.empty().head_countkeys are 48-entry arrays; auniform()helper was added.visits / loops= 16); corrected using the loop span.Stage 2 — separate geometry: PASS
A standalone
Inkling2Geometry/kCompiledIk2Geometryplusik2_visit_physical()andik2_visit_pass()was added. Verified with 17static_asserts and a full 48-visit runtime loop: 0 mismatches for both mapping functions.ModelGeometry/ Qwen defaults (2560 / 48 / 512) unchanged. The build emitted a pre-existing informational warning: "gfx1102 builds, but it is not validated on a real card yet".Stage 3 — dispatch and skeleton: PASS after a configuration fix
no matching function for call to 'ggml_cuda_mmq_get_config'(4 args passed, 5 required), missingexpert_bounds/ncols_max/ncols_optinmmq_args, 20 errors for gfx1102. This was a build-configuration problem, not an Inkling defect.third_party/llama.cpp; clean reconfigure andstrata-polybuild both passed (20,031-line verbose log). The smoke test failed at the intended next unimplemented method:load_geometry is not implemented.Stage 4 —
load_geometry(): PASS after an include fixFirst version failed with 11 "incomplete type" errors because
engine.hpponly forward-declared the needed types; addingruntime.hppfixed it. The smoke test then advanced toload_layer is not implemented, confirming the loop metadata was read and validated successfully.Stage 5 — weights, forward path and first generation: runs, degenerate output
layer_head,layer_tailandsave_layerwere implemented; all 48 logical visits run in order. Two runtime bugs were found and fixed:save_layerthrew onceread()checkpointed state, and host-sideroute()dereferenced a VRAM pointer (access violation0xC0000005), fixed with a host copy ofexp_bias_h.First output from token IDs
1,2,3:164775,153676,153676,153676,153676,153676,24700,198— heavy repetition, not comparable tohello worldbecause the CLI accepted IDs only and no tokenizer was available yet. Measured: prompt 20.8 tok/s, 28.50 tok/s generation. Kernel parity tests passed in isolation (24/24, 9/9, 9/9) but did not establish end-to-end parity. Known gaps at this point: genericmoe()used plain SiLU instead of the model's SiTU softcaps; loop messages were an approximation; dynamic conv taps used the wrong inputs; multi-token KV ring untested.Stage 6 — layer-wise divergence oracle: four real bugs found and fixed
First numeric mismatch was visit 0
qat rel 0.0055, but this came from HIP MMVQ dequant precision —embdmatched to 4.77e-07 and recomputing q float64 matched the reference to 4.8e-08. The first logic divergence was in attention/experts. Four concrete bugs were fixed:attend_f16called with arguments in the wrong order (kv_cap, k0, nkinstead ofk0, nk, kv_cap) →nk = 0on visit 0, attention output exactly zero.__half→uint16_tconversion on HIP → only 2 of 1024 values matched the expected fp16 bits. This was the largest single cause of the gibberish. Explicit__half_as_ushort(__float2half_rn(...))fixed it to 1024/1024.attn_outputprojectionlin(B.wo, att_, .)— added.attn_gatedfrom rel 2.59 → 0.00274 andattn_outfrom 2.56 → 0.00208.Generation after these fixes:
' war God [,...'— still wrong.Stage 7 — three arithmetic gaps closed: still wrong
SiTU expert activation was wired in through a gated virtual hook whose default body is byte-identical for other model families; cross-pass loop messages were replaced with the real previous-pass bank and sliced root query; dynamic conv taps were taken from pre-norm inputs. The model's own tokenizer was extracted and round-tripped the prompt exactly to the six IDs above.
Output:
68017repeated as newlines with stray tokens; 15.84 tok/s decode, 29.9 prompt. Kernel suites still passed 24/24, 9/9, 9/9.Stage 8 — MoE divergence: router was correct, block state was not
Router picks matched the float64 reference exactly:
[22, 26, 31, 36, 63, 85, 89, 99], weights max abs diff 1.393e-07; expert scales max abs diff 0.0. The actual bug was block-state bookkeeping: at a block boundary we stored the post-attention stream, while the reference stores the stream that entered the layer. Fixing it changedffn_infrom rel 0.5761 / corr 0.79027 to rel 0.006374 / corr 0.999981, and the picks changed from[9,19,22,26,31,36,63,99]to the exact reference list. All visit-0 seams then agreed within ~0.5% (the HIP dequant floor), but visit 1 still diverged at attn_out rel 0.761. Generation: 14.47 tok/s, still gibberish.Stage 9 — final logits: logic bug, not quantization
Our top-1 was
11, the float64 reference's was68014. Our token was reference rank 5 (trailing by 2.360 nats) and the reference token was our rank 4. Over the unpadded vocabulary the distributions differed by max 11.71 / mean 2.16 log-probability, with only 32 of the top-64 tokens shared. A ~0.5% dequant error cannot produce that ordering error. A separate graph/replay discrepancy also existed: with graphs the first token was196973, without them11.Stage 10 — core-pass oracle: two more off-by-one bugs fixed
Before fixes: visit 6
qrel 0.595, visit 18 0.356, visit 30 0.709. Two bugs were found: (a) ourvisit_passis 1-based while the reference's is 0-based, so loop messages were applied one pass too early; (b) an off-by-one in which block stream was copied into the bank at pass boundaries. After fixing both, visits 6/18/30 hadqrel 0.00464/0.00399/0.00303 andoutrel 0.00204/0.00249/0.00273 — and top-1 finally matched the reference (68014). But the full logprob distribution still differed by max 10.481 / mean 1.971 (35 of top-64 shared), and the generated text still degenerated. 17.41 tok/s.Stage 11 — multi-token path: divergence starts at visit 0
outThe CLI split the 6-token prompt into a 5-token
read()plus a 1-tokeneval(), which misaligned the dumps; an env-gated one-call eval path was added. Aligned 5-token errors: visit 0q0.0044,attn_gated0.0054,attn_out0.0048, butout0.1082 — the first divergence. Visit 1q0.4304 /attn_out0.9964; visit 2attn_out1.859; visit 3 3.230. This points to the multi-token expert path, not attention. No single bug was isolated, so no fix was applied. 23.88 tok/s.Stage 12 — why "hello world" was the wrong target
The recorded
hello worldcame from a temperature-1.0 request, not greedy decoding. Greedy decoding of the same prompt gives"\n\nYou are a helpful assistant..."— its first token is"\n\n", which is exactly our token68014. So the early first-token mismatch was partly a sampling-condition mismatch, not a model bug. The remaining logprob error was one-sided: mean signed +1.451, reference bottom-10k tokens +2.767 vs top-10k +0.563, 7,002 tokens with error > +5 vs 85 with error < −5 — a systematic over-estimation of rare tokens. The output softcap was verified exact (pre-cap −3.77…40.51, post-cap −3.75…26.22).Stage 13 — route-card speed work: reverted
A device-side router was implemented behind an opt-in gate. Weights matched the host router to max abs 1.19e-07 (gate 1e-6). The guarded A/B measured decode 22.43 → 24.10 tok/s mean (+7.4%) and router wait 9.95 → 1.15 ms/token (−88%). However the gate-on 16-token sequence had substantive disagreements with float64 at positions 5, 8, 11, 13 and 15, with ranks up to 1452 and logprob gaps up to 8.31. Importantly, the gate-off baseline also disagreed substantively at the same early positions (positions 5 and 8 are identical tokens in both arms), so the error was pre-existing rather than introduced by the route card — but it still failed the explicit KEEP criterion. All five route-card changes were reverted and the baseline reproduced at 22.30 tok/s with 10.1 ms/token router wait.
Stage 14 — continuation diagnosis: the actual root cause
The oracle setup was re-verified correct (same IDs, no chat template, teacher-forced full sequence). The 6-token prompt's logits already diverge from float64: max abs 10.95505, mean abs 2.77753, top-1 matching but top-10 ordering different (only 37 of top-64 shared). There is also a separate state-carry problem: feeding the same 10-token prefix in one call predicts
83, while incremental calls predict153935; the reference top-1 is150183. So the continuation failure is a pre-existing forward-pass accuracy problem plus a one-call vs incremental state-carry discrepancy, not a single fixable recurrence bug.Net result on the 16-token greedy oracle: 3/16 agreement with float64 top-1, with substantive gaps up to 8.31. The port's measured speed was 22.4 tok/s decode and roughly 70–96 tok/s prefill.
Outcome
No PR was opened and no upstream HIP implementation is claimed. Every Inkling source change was reverted; the worktree, reports and fixture logs were moved to a local archive and the GGUF was removed. Inkling 2 Mini has not replaced Qwen3.6-35B-A3B as the daily driver — on this hardware it is slower in real use and weaker on the repair fixtures. I'm leaving this correction so the request is judged on the final result rather than the earlier optimism.
cobra91 commentedon Nov 22, 2026
Hi @JuggyBob, @cantonapplet, and PolyStrata team!
Reading through @cantonapplet's 14-stage breakdown above, I wanted to share some very encouraging news: Inkling 2 Mini is not broken, and the recurrent loop divergences you encountered are completely solvable!
Over on Strata (PR #6506 / cobra91/Strata-DualGPU:feat/inkling2-support), we have a fully functional, bit-exact, and zero-divergence implementation running on consumer hardware:
UD-IQ3_XXS+ FP8 KV cache, 100% in VRAM).If you are interested in reviving Inkling 2 support for PolyStrata, we would be more than happy to adapt our C++/CUDA engine (
ik2_engine.cu, layout rewrites, and o200k tokenizer) to PolyStrata'ssrc/tree and submit a clean PR!Feel free to check out our implementation in Strata PR #6506 if you want to inspect how the recurrence loop was handled. 🚀
okada-shogo commentedon Nov 22, 2026
@JuggyBob Hey just wanted to note that thanks to @Tako88 testing on a 9060XT and getting the ball rolling #200 has preliminary support for AMD on 9060/9070 series cards.
Could you try this branch currently in progress and measure performance on the RX 7600 XT? It's difficult to easily rent an AMD GPU box online...
@cobra91 Those decode speeds on the RTX 2060 Super are really impressive! Do you mind if I look through your PR to see if there's any speed ups I can incorporate into #200 ? Those are similar figures I'm getting to UD-Q2_K_XL on an RTX2070 Super
JuggyBob commentedon Nov 22, 2026
Thanks @cobra91 — appreciate you taking the time to write this up, and congratulations on getting the loop/state-carry issues solved. Having the pass indexing and message-bank synchronization fixed in a working implementation is exactly what this thread needed, and the Strata 0.2.19 release notes credit your PR by name, so this is clearly more than a claim on paper.
To be precise about our side, so nobody draws the wrong conclusion:
For anyone following along: Strata 0.2.19 now ships native
strata-inklingwith SQ-10/15/20 quant packs, which is the easiest way to test the fixed implementation yourself.If you do open a PolyStrata PR, I would support it — just please scope it honestly as CUDA/NVIDIA rather than AMD/HIP.
JuggyBob commentedon Nov 22, 2026
@okada-shogo Thanks — I'll give the
inkling2-amd-previewbranch a try on my hardware.To set expectations precisely:
AMDGPU_TARGETS=gfx1102build or hits an RDNA3-specific kernel gap, I'll report the exact error rather than guess.UD-Q2_K_XLyou mentioned, orUD-Q3_K_XL? And is there a preferred launch command for the preview branch?I'll report results here whether they pass or fail, including exact commands and
NOT RUNwhere applicable.merbanan commentedon Nov 22, 2026
@okada-shogo https://github.com/merbanan/Strata/commits/inkling2-turing/ something in here is bound to apply to other platforms also. Feel free to pick and choose among the patches.
With 8GB VRAM compromises have to be done and that is ~3bit quant model + int8 kv-cache (I did try k8v8 that give slightly better KL). And on top of that all kind of tricks to keep as many experts as possible in VRAM.
okada-shogo commentedon Nov 22, 2026
Hey @JuggyBob, thanks for the prompt reply! If you tried fetching the branch and it wasn't up yet, sorry, it should be up now. I didn't expect anyone to try it so fast! 😅
If AMD performance on Windows is anything like my AMD performance on WSL right now, it really hates it when experts spill out of VRAM... I think something that would fit in VRAM is probably ideal, so probably the UD-Q2_K_XL or UD-Q3_L_XL. My tests have all been on UD-Q2_K_XL
okada-shogo commentedon Nov 22, 2026
@merbanan Thank you, I'll take a look!
JuggyBob commentedon Nov 22, 2026
@okada-shogo Thanks — the branch is up and I confirmed it at
3bc4042c(the earlier fetch was just too early). No apology needed; I'll note the timing in the results.I'm currently building
strata-polyfor gfx1102 / Windows HIP with the TheRock toolchain. Per the pinned recommendation I'll useInkling-2-Mini-UD-Q2_K_XL.gguf(9.14 GB, SHA-25620292e81…), which is what you tested, with--kv q8_0 --kv-wholeand 32K context so the weights stay resident. I'll skip vision and the DSpark drafter.One expected limitation from reading the diff: the new matrix-core prompt attention is gfx12-only, so my card falls back to the scalar path — the gfx1201 prompt numbers won't transfer. I'll report exactly what gfx1102 does, including any build or runtime error.
I'll run the 16-token float64 top-1 oracle before any speed claim, then post a short guarded benchmark here — pass or fail.
cobra91 commentedon Nov 22, 2026
Hi @okada-shogo,
Please feel completely free to borrow, adapt, and incorporate anything you find useful from our PR (Niko1221/Strata#6506) into #200! That implementation is itself an open-source collaborative effort combining contributions from several people and projects (including @merbanan's Turing/low-VRAM patches, Unsloth's layout, and our CUDA graph / Dual-GPU synchronizations). Open-source thrives on cross-pollination, so please make full use of anything that helps!
One finding from our lab benchmarks that gave a noticeable throughput boost: tuning and increasing the speculative draft window / depth (--window\ / max draft tokens). When draft acceptance is high (>70–85%), expanding the verification window allows the model to accept multiple tokens per forward pass without bottlenecking memory bandwidth, yielding a very solid decode uplift.
Really great work driving PR #200 forward — looking forward to testing and seeing it land in PolyStrata! 🚀
JuggyBob commentedon Nov 22, 2026
@okada-shogo Results are in — tested on RX 7600 XT / gfx1102 / Windows 11,
inkling2-amd-preview@3bc4042c, built with the TheRock HIP toolchain for gfx1102, modelInkling-2-Mini-UD-Q2_K_XL.gguf(SHA-25620292e81…),--kv q8_0 --kv-whole, 32K context.Correctness: PASS. Greedy 16-token output from prompt IDs
86228,149899,152703,25,171551,150770matched a fresh float64 oracle (rawmw00/project-mayaref/inkling2.py, teacher-forced on the exact 22-token sequence) at rank 1, gap 0.000000 on all 16 positions. First substantive divergence: none. The fresh baseline was necessary because commitsa284a962/d230bec9changed cache selection and final-bit answers, so our archived earlier baseline is invalid.Speed (graphs on, 6-token prompt, 128 generated, CLI timing line): decode 47.58 tok/s, prompt 33.0 tok/s. No-graphs 16-token control: 44.88 / 31.6 tok/s. All 3,072 routed experts stayed in VRAM (7.3 GiB), 100% from VRAM, 0 swaps, 0 left out.
Caveats, so nobody over-reads this:
--tokens ID,ID,…and has no token-file input, so the prompt was exactly six tokens; the 33.0 tok/s is dominated by overhead. pp128/1024 prefill is NOT RUN._ENABLE_EXTENDED_ALIGNED_STORAGE(Added toCMAKE_HIP_FLAGS/CMAKE_CXX_FLAGS). Without it, MSVC's STL rejectsstd::stable_sortof the 16-byte-alignedMmq::Tileatsrc/poly/mmq.cu:287. This is a toolchain issue, not an Inkling/gfx1102 defect, but it will block anyone else building this on Windows — worth fixing upstream.STRATA_POLY_MMQ_TILES=1stayed enabled.setup.pystill refuses--family inklingon AMD/Windows, so this required a manual CMake build and hand-written config.Every engine run was guard-wrapped (80% commit ceiling, preflight before each load, one model at a time). No abort, no timeout, no leaked processes, locks or listeners; daily setup untouched. Full commands, verbatim outputs, oracle table and cleanup check are in my local report.
Thanks for the work — this is the first Inkling engine on this card that passes the 16-token oracle.
cobra91 commentedon Nov 22, 2026
Huge congratulations @JuggyBob and @okada-shogo! Seeing Inkling 2 pass the 16-token float64 oracle with gap 0.000000 and hit 47.58 tok/s decode on an RX 7600 XT under Windows 11 with 100% VRAM residence is a massive milestone! 🚀
Regarding the two friction points mentioned in the report:
_ENABLE_EXTENDED_ALIGNED_STORAGEMSVC blocker:This occurs because
struct alignas(16) Tileinsrc/poly/mmq.hppexceeds MSVC STL's defaultalignof(max_align_t)(8 bytes on x64). Whenstd::stable_sortallocates its internal scratch buffer via default allocator traits, MSVC's<xmemory>asserts unless_ENABLE_EXTENDED_ALIGNED_STORAGEis defined.setup.pyrefusing--family inklingon Windows & AMD:Under
FAMILIES["inkling"],"windows": False, "cuda_only": Truewas still set. Flipping those flags now that Windows 11 HIP convergence is proven enables automatic runner script generation.To save @okada-shogo the manual work, I've opened a clean 2-commit PR directly against your preview branch: okada-shogo/PolyStrata#1. It defines the macro across CMake/HIP flags on
WIN32and unlockssetup.py.Also, for @JuggyBob to test prompt prefill throughput (pp128 / pp512) directly via CLI without being bottlenecked by typing a long
--tokenslist manually, you can generate the repetition string directly in PowerShell:This cleanly saturates the prompt attention pipeline and yields an overhead-free prompt tok/s measurement.
Kudos again to both of you for making this happen!
VecSzn commentedon Nov 22, 2026
Inkling 2 Mini is in v0.2.19-poly.1, so to use it you run ./setup.sh --family inkling. It's now also capable of reading pictures, and does one request at a time. It works on 8 GB cards and is in beta on Macs.
JuggyBob commentedon Nov 23, 2026
Follow-up from testing okada-shogo's
inkling2-amd-previewbuild on gfx1102 (RX 7600 XT 16 GB, Windows 11).Artifacts
strata-poly.exe, SHA-25690D112B02EF105428678928461D7E1F0E7F992F6133B20D1E53653059E3D02BA(okada-shogo/PolyStrata commit3bc4042c85c480563337db4fa2b6fc2fa4d63023, with_ENABLE_EXTENDED_ALIGNED_STORAGEadded locally for MSVC).Inkling-2-Mini-UD-Q2_K_XL.gguf, SHA-25620292E8142B69535CA88A5D04439D0FDEB4DC698D44C002DCA706DCF92901441.tools/strata_tokenizer.py(vocab 200,058; merges 424,413; pre-tokenizerinkling2), because no pack tokenizer was present.What works: one-shot token mode. Measured decode 49.73 tok/s (128 generated, graphs on), 50.09 tok/s (256 generated), 45.19 tok/s (1,035-token prompt, 512 generated); 100% of experts from VRAM, zero swaps, no spill.
What does not work: the serving / agentic path.
strata-poly --helpshows--serveas a resident stdin protocol, not an HTTP server. Wrapping it with this repo'sserve/server.py(which adds--serveand exposes OpenAI/v1/chat/completions) starts successfully, and/v1/modelsreports the model loaded at 32K context. But streaming chat completions emit content deltas withfinish_reason: nulland never send a final finish chunk or[DONE], atmax_tokens8, 64 and 256. The engine log also shows some longer prompts being read as 0 tokens / 0 generated, after which the wrapper returns an empty stream.Consequence: a tool-calling agent harness (hermes) rejects the turn with
EmptyStreamError: Provider returned an empty stream with no finish_reasonafter three retries, in about 3.7 s. No multi-turn agentic run is possible through this path, so I could not obtain an Inkling repair-fixture score and did not claim one.Suggested check: whether the okada
--servestdin end-of-answer event is being translated into the OpenAIfinish_reason/[DONE]sequence byserve/server.py, and whether the 0-token reads on longer prompts are an engine-side or wrapper-side issue.Full write-up (path-free):
docs/V6-INKLING-COMPARISON.mdinJuggyBob/polymath.okada-shogo commentedon Nov 23, 2026
@JuggyBob Thank you for continuing to test. The #200 branch does seem to have a bug in it. Since main and upstream have changed significantly, I am working on porting the performance and functional changes from my branch onto the new main branch. Could you test https://github.com/okada-shogo/PolyStrata/tree/combined/ready instead? It should fix that issue, though several AMD performance optimizations are still missing, so you may have slower performance.
engine: _ENABLE_EXTENDED_ALIGNED_STORAGE for every Windows build
poly: run Inkling 2 Mini (inkling2_loop)
serve: read Inkling 2's tokens and replies
setup: offer Inkling 2 Mini
setup: Inkling 2 Mini has run on Windows with an 8 GB card