[GH-ISSUE #5336] [Engine] Windows gfx1201 (RX 9070 XT): self-built strata-dsv41 (0.1.56 and 0.1.57) runs DeepSeek-V4.1-Flash — add a Windows hip-rx9070 DeepSeek package? #3183

Open
opened 2026-11-07 14:38:42 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @webzawa on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5336

Area

[Engine]

Your question

The signed feed's only Windows AMD DeepSeek (dsv41) package is built for gfx1151 (Strix Halo) only — the 0.2.10 notes say "on other Radeon cards on Windows, DeepSeek has no engine yet," and 0.2.11 carries that unchanged. But the regular (Qwen) engine already ships windows-x86_64-hip-rx9070, the Linux dsv41 package already ships linux-x86_64-hip-rx9070 (gfx1200/gfx1201), and the source builds for Windows gfx1201 unchanged. I built strata-dsv41 from source with the repo's own script, no changes, and it serves DeepSeek-V4.1-Flash (IST-DAS 2.00bpw) coherently on an RX 9070 XT.

Could a Windows hip-rx9070 DeepSeek package be added for gfx1201? Same gap as #4519 / #5186 (gfx1100 on Windows); here is the gfx1201 data point. docs/DEEPSEEK41.md asks for a tested-card report ("we only list a card as tested after someone has run it"). The script's ds4_iq_test flags one IQ4_XS path — the same fail ppkrol already reported on gfx1100 in #4519 (details in Results).

Environment:

  • Engine built from source, the same official script with no changes, on two tags: 0.1.56 build ffa80d731 (v0.2.10) and 0.1.57 build c3b3f5035 (v0.2.11). Terminal 0.2.9, Source install. (Shipped 0.1.57 packages print build 975eaab2b; mine is the tag build.)
  • RX 9070 XT 16 GB (gfx1201) · Ryzen 7 5700X (AVX2) · 64 GB DDR4 · Windows 11 Home (26100) · NVMe. ROCm 10.2.0a20260930 (TheRock, set up by the build script).
  • Driver: all numbers below were taken on 32.0.31041.1004; I then updated to 32.0.32015.12012 (above the 26.10.1 minimum docs/DEEPSEEK41.md names) and re-ran on 0.1.57: ds4_iq_test (same IQ4_XS fail) and two serving checks (short prompt + a 1.7K-token retrieval, 9.07 / 9.00 tok/s).
  • Model: ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF (rev 65d53bc8…), IST-DAS 2.00bpw, used as distributed.

What you tried

The repo's own Windows HIP scripts, unchanged — first the regular engine (it provisions the ROCm toolchain), then strata-dsv41 and the parity test:

set STRATA_HIP_ARCHS=gfx1201
tools\hip\build_windows.bat
tools\dsv41\win\build_hip_win.bat strata-dsv41 ds4_iq_test

Both built BUILD-EXIT 0. I ran the engine via STRATA_DSV41_EXE, which docs/DEEPSEEK41.md lists as a supported self-build path ("Setup needs strata-dsv41 next to the engine (or STRATA_DSV41_EXE)"). I did not test the engine-dsv41\ install-folder placement #4519 describes.

Results

Measured locally on both 0.1.56 and 0.1.57; identical. A functional check, not the community benchmark protocol.

ds4_iq_test (kernel parity), gfx1201: IQ2_XXS / IQ2_XS / IQ2_S / IQ3_XXS / IQ3_S / IQ1_M pass every check; the only out-of-tolerance line is:

IQ4_XS  wmma vs scalar y   worst 3.09e-02 (tol 3e-03)  FAIL

This is not new (overall exit 1): ppkrol reported the same fail, same worst value, on gfx1100 in #4519. ds4_iq_test forces this matrix-core path on for both gfx11 and gfx12 (its comment: "STRATA_DS4_HIPK is not needed"), so the fail is not gfx1201-specific. The gfx1201 point is the serving default: on gfx12 this path is on by default (STRATA_DS4_HIPK=0 disables it), on gfx1100 it is opt-in. The served pack's tensors are IQ1_M / IQ2_XXS / IQ2_XS / Q5_K / Q8_0 / BF16 / IQ4_NL / MXFP4 — no IQ4_XS — so the failing type isn't loaded, consistent with the coherent output. (ds4_iq_test does not cover IQ4_NL.)

Serving (2.00bpw, 32K context; 5 of 6 experts "Faster", 858 of 15,360 experts in VRAM, the rest on the CPU lane):

  • /v1/models → status=loaded. A short prompt returned "Tokyo"; longer prompts gave coherent answers with reasoning_content, finish_reason=stop. On 0.1.57, a ~1.7K-token context with a planted marker was retrieved correctly, and a 900-token generation stayed coherent.
  • Engine-reported decode (single runs, not a before/after): 0.1.56 → 8.07 / 9.10 tok/s; 0.1.57 → 8.59 / 9.94; the 0.1.57 heavier checks ~85 tok/s prefill and ~11 tok/s decode.
  • Not run: full-quality --experts 6; the community benchmark guide (docs/COMMUNITY_BENCHMARKS.md); 32K+ context and sustained-run stability (aware of #4912, a dsv41 long-context page fault on this card with the Linux package).

If a PR would help, I can (1) add an AMD-HIP/Windows build path to docs/DEEPSEEK41.md (its build section is CUDA-only) and note Windows gfx1201 as run, fixing the packaginguild_dsv41_windows.bat typo, and/or (2) run the community benchmark guide as a results-only PR.

(This report was put together with AI assistance; I reviewed it, and every number is from my own runs on this machine.)

Originally created by @webzawa on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5336 ### Area [Engine] ## Your question The signed feed's only Windows **AMD** DeepSeek (dsv41) package is built for **gfx1151 (Strix Halo) only** — the 0.2.10 notes say "on other Radeon cards on Windows, DeepSeek has no engine yet," and 0.2.11 carries that unchanged. But the regular (Qwen) engine already ships `windows-x86_64-hip-rx9070`, the Linux dsv41 package already ships `linux-x86_64-hip-rx9070` (gfx1200/gfx1201), and the source builds for Windows gfx1201 unchanged. I built `strata-dsv41` from source with the repo's own script, no changes, and it serves DeepSeek-V4.1-Flash (IST-DAS 2.00bpw) coherently on an RX 9070 XT. **Could a Windows `hip-rx9070` DeepSeek package be added for gfx1201?** Same gap as #4519 / #5186 (gfx1100 on Windows); here is the gfx1201 data point. `docs/DEEPSEEK41.md` asks for a tested-card report ("we only list a card as tested after someone has run it"). The script's `ds4_iq_test` flags one IQ4_XS path — the same fail ppkrol already reported on gfx1100 in #4519 (details in Results). Environment: - Engine built from source, the same official script with no changes, on two tags: `0.1.56 build ffa80d731` (v0.2.10) and `0.1.57 build c3b3f5035` (v0.2.11). Terminal 0.2.9, Source install. (Shipped 0.1.57 packages print `build 975eaab2b`; mine is the tag build.) - RX 9070 XT 16 GB (gfx1201) · Ryzen 7 5700X (AVX2) · 64 GB DDR4 · Windows 11 Home (26100) · NVMe. ROCm `10.2.0a20260930` (TheRock, set up by the build script). - Driver: all numbers below were taken on 32.0.31041.1004; I then updated to 32.0.32015.12012 (above the 26.10.1 minimum `docs/DEEPSEEK41.md` names) and re-ran on 0.1.57: `ds4_iq_test` (same IQ4_XS fail) and two serving checks (short prompt + a 1.7K-token retrieval, 9.07 / 9.00 tok/s). - Model: `ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF` (rev `65d53bc8…`), IST-DAS 2.00bpw, used as distributed. ## What you tried The repo's own Windows HIP scripts, unchanged — first the regular engine (it provisions the ROCm toolchain), then `strata-dsv41` and the parity test: ``` set STRATA_HIP_ARCHS=gfx1201 tools\hip\build_windows.bat tools\dsv41\win\build_hip_win.bat strata-dsv41 ds4_iq_test ``` Both built `BUILD-EXIT 0`. I ran the engine via `STRATA_DSV41_EXE`, which `docs/DEEPSEEK41.md` lists as a supported self-build path ("Setup needs `strata-dsv41` next to the engine (or `STRATA_DSV41_EXE`)"). I did not test the `engine-dsv41\` install-folder placement #4519 describes. ## Results Measured locally on both 0.1.56 and 0.1.57; identical. A functional check, **not** the community benchmark protocol. **ds4_iq_test (kernel parity), gfx1201:** IQ2_XXS / IQ2_XS / IQ2_S / IQ3_XXS / IQ3_S / IQ1_M pass every check; the only out-of-tolerance line is: ``` IQ4_XS wmma vs scalar y worst 3.09e-02 (tol 3e-03) FAIL ``` This is not new (overall exit 1): ppkrol reported the same fail, same worst value, on gfx1100 in #4519. `ds4_iq_test` forces this matrix-core path on for both gfx11 and gfx12 (its comment: "STRATA_DS4_HIPK is not needed"), so the fail is not gfx1201-specific. The gfx1201 point is the **serving default**: on gfx12 this path is on by default (`STRATA_DS4_HIPK=0` disables it), on gfx1100 it is opt-in. The served pack's tensors are IQ1_M / IQ2_XXS / IQ2_XS / Q5_K / Q8_0 / BF16 / IQ4_NL / MXFP4 — **no IQ4_XS** — so the failing type isn't loaded, consistent with the coherent output. (ds4_iq_test does not cover IQ4_NL.) **Serving** (2.00bpw, 32K context; 5 of 6 experts "Faster", 858 of 15,360 experts in VRAM, the rest on the CPU lane): - `/v1/models` → `status=loaded`. A short prompt returned "Tokyo"; longer prompts gave coherent answers with `reasoning_content`, `finish_reason=stop`. On 0.1.57, a ~1.7K-token context with a planted marker was retrieved correctly, and a 900-token generation stayed coherent. - Engine-reported decode (single runs, not a before/after): 0.1.56 → 8.07 / 9.10 tok/s; 0.1.57 → 8.59 / 9.94; the 0.1.57 heavier checks ~85 tok/s prefill and ~11 tok/s decode. - Not run: full-quality `--experts 6`; the community benchmark guide (`docs/COMMUNITY_BENCHMARKS.md`); 32K+ context and sustained-run stability (aware of #4912, a dsv41 long-context page fault on this card with the Linux package). If a PR would help, I can (1) add an AMD-HIP/Windows build path to `docs/DEEPSEEK41.md` (its build section is CUDA-only) and note Windows gfx1201 as run, fixing the `packaginguild_dsv41_windows.bat` typo, and/or (2) run the community benchmark guide as a results-only PR. (This report was put together with AI assistance; I reviewed it, and every number is from my own runs on this machine.)
Author
Owner

@0xmp3 commented on GitHub (Nov 5, 2026):

Same card, a different set, and the one thing this issue says was not tested.

The engine-dsv41\ folder placement works, and it is the better seam. I used it instead of STRATA_DSV41_EXE, and
it needs one detail that is easy to miss: lib_dirs resolves to the exe's own folder, so a bare STRATA_DSV41_EXE build
has no rocm\bin on PATH and the engine dies with 0xC0000135 (DLL not found) the moment the launcher starts it. A
package folder with a BUILD.json naming "lib_dirs": ["rocm/bin"] fixes it, and then strata launch --plan reports
DeepSeek engine: installed, 0.1.56. with no environment variable at all.

The folder has to be at %LOCALAPPDATA%\Strata\install\engine-dsv41\<version>-windows-x86_64-hip-rx9070\. catalog.root
is ...\Strata\install, not ...\Strata — a package anywhere else is invisible and strata launch offers to download
an engine instead. That cost me one failed start to find.

Context sweep (ISTA-DAS Coder, IQ2_XXS, 16 GB card, 64 GB RAM, --vision off). Fresh start per row, one 300-token
answer to the same prompt:

Context Experts in VRAM KV caches Decode
8K 882 / 7,680 0.01 GB 9.8 tok/s
32K 881 0.03 GB 9.7 tok/s
128K 863 0.12 GB 9.4 tok/s
256K 849 0.24 GB 9.7 tok/s
512K 0 0.49 GB 7.0 tok/s
1M 0 0.97 GB 7.0 tok/s

The cliff is between 256K and 512K, and it is a cliff rather than a slope: at 512K the engine logs
7680 routed experts on the CPU lane and CPU lane 100.0% of the experts, so the card holds nothing. The KV cache only
grows 0.25 GB across that step, so the attention workspace at 512K appears to take the whole remaining budget. A gradual
trade (fewer experts, not zero) would be a better curve. 256K is the practical ceiling on 16 GB.

Sustained throughput: a single 20,000-token generation at 256K ran ~30 minutes at 11.8 tok/s. The 300-token rows
above read lower because they carry first-request overhead and a cold RAM store — worth knowing before comparing short
runs across sets.

On the IQ4_XS line: I saw the same 3.09e-02 on gfx1201. This issue's cross-reference to the gfx1100 result settles
that it is not arch-specific — I had framed it as possibly gfx1201-only in #4519, and that was wrong. The served pack has
no IQ4_XS, so it does not affect output.

Caveat on comparability: my set is the Coder (half-width, 7,680 experts), not 2.00bpw, so the numbers are not
directly comparable to yours. They do show the same engine serving a second set on the same card.

AI-assisted report. Prepared with an agent (Hermes) on my machine and reviewed by me; every number is from my runs.

<!-- gh-comment-id:6672603578 --> @0xmp3 commented on GitHub (Nov 5, 2026): Same card, a different set, and the one thing this issue says was not tested. **The `engine-dsv41\` folder placement works, and it is the better seam.** I used it instead of `STRATA_DSV41_EXE`, and it needs one detail that is easy to miss: `lib_dirs` resolves to the exe's own folder, so a bare `STRATA_DSV41_EXE` build has no `rocm\bin` on `PATH` and the engine dies with `0xC0000135` (DLL not found) the moment the launcher starts it. A package folder with a `BUILD.json` naming `"lib_dirs": ["rocm/bin"]` fixes it, and then `strata launch --plan` reports `DeepSeek engine: installed, 0.1.56.` with no environment variable at all. The folder has to be at `%LOCALAPPDATA%\Strata\install\engine-dsv41\<version>-windows-x86_64-hip-rx9070\`. `catalog.root` is `...\Strata\install`, not `...\Strata` — a package anywhere else is invisible and `strata launch` offers to download an engine instead. That cost me one failed start to find. **Context sweep** (ISTA-DAS Coder, IQ2_XXS, 16 GB card, 64 GB RAM, `--vision off`). Fresh start per row, one 300-token answer to the same prompt: | Context | Experts in VRAM | KV caches | Decode | |---:|---:|---:|---:| | 8K | 882 / 7,680 | 0.01 GB | 9.8 tok/s | | 32K | 881 | 0.03 GB | 9.7 tok/s | | 128K | 863 | 0.12 GB | 9.4 tok/s | | 256K | 849 | 0.24 GB | 9.7 tok/s | | 512K | **0** | 0.49 GB | 7.0 tok/s | | 1M | **0** | 0.97 GB | 7.0 tok/s | The cliff is between 256K and 512K, and it is a cliff rather than a slope: at 512K the engine logs `7680 routed experts on the CPU lane` and `CPU lane 100.0% of the experts`, so the card holds nothing. The KV cache only grows 0.25 GB across that step, so the attention workspace at 512K appears to take the whole remaining budget. A gradual trade (fewer experts, not zero) would be a better curve. 256K is the practical ceiling on 16 GB. **Sustained throughput:** a single 20,000-token generation at 256K ran ~30 minutes at **11.8 tok/s**. The 300-token rows above read lower because they carry first-request overhead and a cold RAM store — worth knowing before comparing short runs across sets. **On the IQ4_XS line:** I saw the same `3.09e-02` on gfx1201. This issue's cross-reference to the gfx1100 result settles that it is not arch-specific — I had framed it as possibly gfx1201-only in #4519, and that was wrong. The served pack has no IQ4_XS, so it does not affect output. **Caveat on comparability:** my set is the Coder (half-width, 7,680 experts), not 2.00bpw, so the numbers are not directly comparable to yours. They do show the same engine serving a second set on the same card. *AI-assisted report. Prepared with an agent (Hermes) on my machine and reviewed by me; every number is from my runs.*
Author
Owner

@dan2304k commented on GitHub (Nov 6, 2026):

Another gfx1201 data point, this time a 32 GB card and the app's own install flow end to end.

Setup: Radeon AI PRO R9700 (32 GB, gfx1201), 63 GB RAM, Windows. strata-dsv41 0.1.57 built from v0.2.11 (c3b3f5035) with tools/dsv41/win/build_hip_win.bat, STRATA_HIP_ARCHS=gfx1201, ROCm DLLs copied from the official Qwen hip-rx9070 engine (10.2.0a20260930). Placed as engine-dsv41\0.1.57-windows-x86_64-hip-rx9070\ with "lib_dirs": ["rocm/bin"], as described above. ds4_iq_test: 69 ok, 1 FAIL — the same IQ4_XS 3.09e-02.

Result: ISTA-DAS Coder (IQ2_XXS), 128K context, pictures on. Installed and started from the desktop app; setup's test question passed, and it serves on the app's API port.

Experts in VRAM 2,756 / 7,680 (24.1 GB)
CPU lane 4,924 experts, 12–24% of the experts per word
DSpark not loaded (auto: "routed experts far more than the GPU holds")
Experts per word 5 (faster mode)
Decode 27.7 tok/s median (26.3–31.1, 8 runs × 700 tokens: code, edit, prose, JSON)

That matches the launcher's "about 26 tokens a second" estimate for one R9700.

Plan vs. engine on the RAM store. --plan says "63 GB of RAM keeps all 41 GB of the CPU's experts cached", but the engine then logged RAM store: 41.2 GB of RAM free after the GPU's weights: store sized 29.2 GB, not 37.8 against 42.5 GB of CPU-lane experts. So about a third of them are read in place from the SSD. Speed still matched the estimate, but the plan's "fits" is optimistic at 63 GB.

+1 for an official Windows hip-rx9070 DeepSeek package: the build uses only Strata's own scripts and worked first time.

AI-assisted report: prepared with an agent on my machine and reviewed by me; every number is from my runs.

<!-- gh-comment-id:6695628086 --> @dan2304k commented on GitHub (Nov 6, 2026): Another gfx1201 data point, this time a 32 GB card and the app's own install flow end to end. **Setup:** Radeon AI PRO R9700 (32 GB, gfx1201), 63 GB RAM, Windows. `strata-dsv41 0.1.57` built from v0.2.11 (`c3b3f5035`) with `tools/dsv41/win/build_hip_win.bat`, `STRATA_HIP_ARCHS=gfx1201`, ROCm DLLs copied from the official Qwen `hip-rx9070` engine (10.2.0a20260930). Placed as `engine-dsv41\0.1.57-windows-x86_64-hip-rx9070\` with `"lib_dirs": ["rocm/bin"]`, as described above. `ds4_iq_test`: 69 ok, 1 FAIL — the same IQ4_XS `3.09e-02`. **Result:** ISTA-DAS Coder (IQ2_XXS), 128K context, pictures on. Installed and started from the desktop app; setup's test question passed, and it serves on the app's API port. | | | |---|---| | Experts in VRAM | 2,756 / 7,680 (24.1 GB) | | CPU lane | 4,924 experts, 12–24% of the experts per word | | DSpark | not loaded (auto: "routed experts far more than the GPU holds") | | Experts per word | 5 (faster mode) | | **Decode** | **27.7 tok/s median** (26.3–31.1, 8 runs × 700 tokens: code, edit, prose, JSON) | That matches the launcher's "about 26 tokens a second" estimate for one R9700. **Plan vs. engine on the RAM store.** `--plan` says "63 GB of RAM keeps all 41 GB of the CPU's experts cached", but the engine then logged `RAM store: 41.2 GB of RAM free after the GPU's weights: store sized 29.2 GB, not 37.8` against 42.5 GB of CPU-lane experts. So about a third of them are read in place from the SSD. Speed still matched the estimate, but the plan's "fits" is optimistic at 63 GB. +1 for an official Windows `hip-rx9070` DeepSeek package: the build uses only Strata's own scripts and worked first time. *AI-assisted report: prepared with an agent on my machine and reviewed by me; every number is from my runs.*
Author
Owner

@webzawa commented on GitHub (Nov 7, 2026):

Thanks, both of you — that's three gfx1201 confirmations now (two 16 GB, one 32 GB), all from Strata's own scripts with no source changes, and the IQ4_XS 3.09e-02 on each (matching the gfx1100 result in #4519, so not arch-specific).

I went back and tested the engine-dsv41\ placement, and it works here too — I'd only used STRATA_DSV41_EXE and left it unverified. On this RX 9070 XT (16 GB), staging the 0.1.57 build as %LOCALAPPDATA%\Strata\install\engine-dsv41\0.1.57-windows-x86_64-hip-rx9070\ (exe at the folder root, rocm\bin + the gfx1201 kpack beside it, BUILD.json with "lib_dirs": ["rocm/bin"]), with no STRATA_DSV41_EXE: strata launch --plan reports DeepSeek engine: installed, 0.1.57, and a real launch serves (loads in ~55 s, "Tokyo", finish=stop) — no 0xC0000135. So that's the cleaner seam, confirmed; thanks for the catalog.root = ...\install detail.

@dan2304k's end-to-end desktop-app install on an R9700 covers the packaged path from the app too. So the one thing still missing is the signed package — +1 for an official Windows hip-rx9070 DeepSeek build.

<!-- gh-comment-id:6704968444 --> @webzawa commented on GitHub (Nov 7, 2026): Thanks, both of you — that's three gfx1201 confirmations now (two 16 GB, one 32 GB), all from Strata's own scripts with no source changes, and the IQ4_XS `3.09e-02` on each (matching the gfx1100 result in #4519, so not arch-specific). I went back and tested the `engine-dsv41\` placement, and it works here too — I'd only used `STRATA_DSV41_EXE` and left it unverified. On this RX 9070 XT (16 GB), staging the 0.1.57 build as `%LOCALAPPDATA%\Strata\install\engine-dsv41\0.1.57-windows-x86_64-hip-rx9070\` (exe at the folder root, `rocm\bin` + the gfx1201 kpack beside it, `BUILD.json` with `"lib_dirs": ["rocm/bin"]`), with no `STRATA_DSV41_EXE`: `strata launch --plan` reports `DeepSeek engine: installed, 0.1.57`, and a real launch serves (loads in ~55 s, "Tokyo", `finish=stop`) — no `0xC0000135`. So that's the cleaner seam, confirmed; thanks for the `catalog.root = ...\install` detail. @dan2304k's end-to-end desktop-app install on an R9700 covers the packaged path from the app too. So the one thing still missing is the signed package — +1 for an official Windows `hip-rx9070` DeepSeek build.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3183
No description provided.