mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[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
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 shipslinux-x86_64-hip-rx9070(gfx1200/gfx1201), and the source builds for Windows gfx1201 unchanged. I builtstrata-dsv41from 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-rx9070DeepSeek package be added for gfx1201? Same gap as #4519 / #5186 (gfx1100 on Windows); here is the gfx1201 data point.docs/DEEPSEEK41.mdasks for a tested-card report ("we only list a card as tested after someone has run it"). The script'sds4_iq_testflags one IQ4_XS path — the same fail ppkrol already reported on gfx1100 in #4519 (details in Results).Environment:
0.1.56 build ffa80d731(v0.2.10) and0.1.57 build c3b3f5035(v0.2.11). Terminal 0.2.9, Source install. (Shipped 0.1.57 packages printbuild 975eaab2b; mine is the tag build.)10.2.0a20260930(TheRock, set up by the build script).docs/DEEPSEEK41.mdnames) 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).ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF(rev65d53bc8…), 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-dsv41and the parity test:Both built
BUILD-EXIT 0. I ran the engine viaSTRATA_DSV41_EXE, whichdocs/DEEPSEEK41.mdlists as a supported self-build path ("Setup needsstrata-dsv41next to the engine (orSTRATA_DSV41_EXE)"). I did not test theengine-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:
This is not new (overall exit 1): ppkrol reported the same fail, same worst value, on gfx1100 in #4519.
ds4_iq_testforces 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=0disables 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 withreasoning_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.--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 thepackaginguild_dsv41_windows.battypo, 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.)
@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 ofSTRATA_DSV41_EXE, andit needs one detail that is easy to miss:
lib_dirsresolves to the exe's own folder, so a bareSTRATA_DSV41_EXEbuildhas no
rocm\binonPATHand the engine dies with0xC0000135(DLL not found) the moment the launcher starts it. Apackage folder with a
BUILD.jsonnaming"lib_dirs": ["rocm/bin"]fixes it, and thenstrata launch --planreportsDeepSeek 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.rootis
...\Strata\install, not...\Strata— a package anywhere else is invisible andstrata launchoffers to downloadan 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-tokenanswer to the same prompt:
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 laneandCPU lane 100.0% of the experts, so the card holds nothing. The KV cache onlygrows 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-02on gfx1201. This issue's cross-reference to the gfx1100 result settlesthat 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.
@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.57built from v0.2.11 (c3b3f5035) withtools/dsv41/win/build_hip_win.bat,STRATA_HIP_ARCHS=gfx1201, ROCm DLLs copied from the official Qwenhip-rx9070engine (10.2.0a20260930). Placed asengine-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_XS3.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.
That matches the launcher's "about 26 tokens a second" estimate for one R9700.
Plan vs. engine on the RAM store.
--plansays "63 GB of RAM keeps all 41 GB of the CPU's experts cached", but the engine then loggedRAM store: 41.2 GB of RAM free after the GPU's weights: store sized 29.2 GB, not 37.8against 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-rx9070DeepSeek 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.
@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-02on 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 usedSTRATA_DSV41_EXEand 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.jsonwith"lib_dirs": ["rocm/bin"]), with noSTRATA_DSV41_EXE:strata launch --planreportsDeepSeek engine: installed, 0.1.57, and a real launch serves (loads in ~55 s, "Tokyo",finish=stop) — no0xC0000135. So that's the cleaner seam, confirmed; thanks for thecatalog.root = ...\installdetail.@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-rx9070DeepSeek build.