Repository navigation
Description
Summary
Inkling 2 Mini runs on native Windows 11 with an AMD card, installed and compiled entirely by setup
(START-HERE.bat --setup --family inkling --yes). docs/models/inkling.md lists "Not run yet: an AMD card on
native Linux or Windows", and #306 lists "Not run: Windows HIP". This is a working Windows HIP run on an
RX 9070 XT (gfx1201), through the normal setup path — no manual build, no containers, no WSL.
Environment
| Component | Specification |
|---|---|
| GPU | AMD Radeon RX 9070 XT 16 GB (gfx1201), driver 32.0.32029.2010 (Adrenalin) |
| CPU | AMD Ryzen 9 5950X (16 cores / 32 threads, AVX2) |
| RAM | 64 GB |
| OS | Windows 11 (build 26300) |
| PolyStrata | main at 36e654b |
| Engine | strata-poly 0.1.66, local-hip build by setup, arch gfx1201, ROCm TheRock wheels 10.2.0a20260930, hipBLASLt 1.5.0 (100500) |
| Build tools | Visual Studio 2022 Build Tools 17.14.45 (VCTools workload, installed by winget) |
| Model | Unsloth Mainline_Support (inkling2_loop) UD-Q4_K_XL, 17.6 GB |
Install and settings
START-HERE.bat --setup --family inkling --yes --no-start
Setup compiled engine-poly\strata-poly.exe for gfx1201 from AMD's TheRock Windows wheels and wrote
run-inkling-ud-q4_k_xl.bat. Engine args as setup wrote them (small-card defaults, vision off):
--serve --model Inkling-2-Mini-UD-Q4_K_XL.gguf --max-context 32768
--expert-profile packs\inkling-ud-q4_k_xl\expert-profile.txt --conversation-cache-mib auto
--attn-requant q5_0 --loop-bf16 --tail-skip 4 --kv-whole
Load: 13.4 s; 1,782 of 3,072 routed experts in VRAM (8.5 GiB), 22 CPU threads. Other programs held
3,362 MiB of the card (desktop); WDDM budget 15,419 of 16,304 MiB. The expert cache adapted after the first
requests (1,918 -> 1,857 experts). Conversation cache sized 3,584 MiB from free RAM.
Measurements
Through serve/server.py and /v1/chat/completions on 127.0.0.1:8080. One request at a time.
| Request | Prompt | Decode | Notes |
|---|---|---|---|
| "Say hello in five words", reasoning none | 21 tok @ 35.0 tok/s | 37.8 tok/s (7 tok) | first request after load |
| prime-function code question, reasoning low | 39 tok @ 80.6 tok/s | 47.9 tok/s (252 tok) | correct code + explanation, finish stop |
| 2,847-token filler + "count to twenty", reasoning none, temperature 0 | 2,847 tok @ 191.3 tok/s | 51.7 tok/s (49 tok) | first long prompt (cold); correct output, finish stop |
The 191 tok/s prompt read is consistent with #309's finding that main lacks the preview branch's wave32 WMMA
prompt attention and NVFP4 int8 prompt tiles (that report measured 215-286 tok/s at 2K-8K on gfx1200 main,
~1,200 on the preview branch).
Log (key lines, no warnings or errors in any run)
[strata] engine started: ...\engine-poly\strata-poly.exe --serve --model ...\Inkling-2-Mini-UD-Q4_K_XL.gguf --max-context 32768 ... --attn-requant q5_0 --loop-bf16 --tail-skip 4 --kv-whole
strata: Windows budgets 15419 of this card's 16304 MiB for this process
strata: other programs hold 3362 MiB of card 0
strata-poly: loaded in 13.4 s; 1782 of 3072 routed experts in VRAM (8.5 GiB), 22 CPU threads
strata-poly: conversation cache sized from the free RAM: 3584 MiB for up to 4 parked conversations
strata-poly: ready for requests (context 32768)
strata serve: prompt 21 tokens = 0 reused + 21 read in 601 ms (35.0 tok/s), 7 generated in 185 ms (37.8 tok/s)
strata-poly: the expert cache 1918 -> 1857 experts (8.85 GiB) for the VRAM free now, 117 MiB left
strata serve: prompt 39 tokens = 0 reused + 39 read in 484 ms (80.6 tok/s), 252 generated in 5256 ms (47.9 tok/s)
No hangs, no driver resets (VIDEO_ENGINE_TIMEOUT_DETECTED), no failed requests across these runs.
What was NOT tested
- Images (vision off in this setup), contexts beyond 32K, parallel requests,
--inkling-small-card off
(high-accuracy mode), other sizes,poly_inkling2_test, long agent sessions. - WSL2 was tried first and abandoned:
wsl_amd_noteinengine_component.pywarns the HIP engines hang
there (librocdxg barrier-AND). The native Windows path worked instead.
Searched first
#198 (model request, closed), #256 (RTX 3060 Windows benchmark, NVIDIA), #309 (native Linux gfx1200),
#308 (gfx1010 Windows build failure), #318 / #283 / #273 (thinking/tool-call bugs, Linux/CUDA),
PRs #293 / #294 / #295 / #302 / #306 (AMD optimizations measured on WSL2 containers and native Linux;
#306 explicitly lists Windows HIP as not run). None covers a native Windows HIP run of Inkling 2.
Activity
okada-shogo commentedon Nov 24, 2026
Thanks for the run and the full setup details.
The 191 tok/s prompt is the known gap (#309). On main, RDNA4's prompt expert products dequantize each expert to FP16 and call rocBLAS once per expert, and with TheRock ROCm 10.2 that path is slow. On the same RX 9070 XT, one build read a 2,048-token prompt in 307 tok/s on Windows (setup's ROCm 10.2) and 1,426 tok/s on native Linux (ROCm 7.2.4).
There is a preview branch with our open AMD PRs merged:
https://github.com/okada-shogo/PolyStrata/tree/inkling2-amd-preview-2
See PREVIEW-AMD.md.
Run START-HERE.bat --setup --family inkling --yes from a checkout of it. We have not built it on Windows, so a build failure is possible; please post the log if so. It also has the fix for the Windows crash in amdhip64_7.dll from #305 (no prompt-buffer lending on HIP).
It runs the prompt expert products on the int8 matrix cores by default, not through rocBLAS. One more setting: run setup with --inkling-small-card off (setup keeps that choice), or remove --attn-requant q5_0 --loop-bf16 --tail-skip 4 from the run config. Setup adds them whenever the card cannot hold every expert of the size, and --tail-skip skips experts, so it changes the output.
What we measured on an RX 9070 XT (native Linux, ROCm 7.2.4, Ryzen 7 7800X3D, IQ4_NL, mean of 3 runs):
On Windows, expect lower decode than native Linux: a host round trip costs about 51 µs there against 18 µs on native Linux on the same PC. Could you rerun your three requests on preview-2 and post the same table? A second run with "env": {"STRATA_POLY_HIP_INT8": "0"} in the run config would show how much of it is the int8 path.
okada-shogo commentedon Nov 24, 2026
Correction: ROCm 10.2 isn't the cause (on Linux it's as fast as 7.2.4). On Windows, our 2K prompt was 307 tok/s but 8K was 996, which points at per-call overhead on Windows rather than GPU time. The preview's int8 path avoids most of those calls.