mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4519] [Other] DeepSeek engine (strata-dsv41) Windows AMD package for RX 7000 (gfx1100) #2032
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#2032
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 @ahmetem on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4519
Area
[Other] (anything else, including setup and installation)
What do you want to do?
Run DeepSeek-V4.1-Flash on Windows with a single RX 7900 XTX (gfx1100, 24 GB) through the signed feed, like the Qwen engine already does.
Since 0.2.7 the Windows AMD
strata-dsv41-…-windows-x86_64-hip-rdna3package is built for gfx1151 (Ryzen AI Max) only, so setup stops on a 7900 XTX.tools\dsv41\win\build_hip_win.batalready lists gfx1100 inSTRATA_HIP_ARCHS, and the Qwen Windowsrdna3package already carries gfx1100 rocBLAS/hipBLASLt libraries. Addinggfx1100to that package (or a separaterx7900variant) would cover the whole RX 7000 family on Windows.Linux users already run self-built gfx1100 dsv41 engines (#4136 dual XTX, #4350 single XTX, #3933), so the kernels work on this chip. No Windows report exists yet.
What do you do today instead?
Qwen3.8-Flash-Next on the Windows
hip-rdna3engine. DeepSeek is not usable without building it myself.I can test a gfx1100 build on Windows 11 (RX 7900 XTX 24 GB, 64 GB RAM, Gen4 NVMe) and report the numbers in the benchmark format.
@ppkrol commented on GitHub (Oct 29, 2026):
A data point for this request: a self-built gfx1100
strata-dsv41runs DeepSeek-V4.1-Flash IST-DAS 2.00 bpw on Windows 11 with one RX 7900 XTX. I built it with the existing Windows recipe, and no engine code was changed. So the kernels work on gfx1100 on Windows too, not only on Linux (#4136, #4350, #3933).Environment
mainat46c152a1(Strata 0.2.7, enginestrata-dsv41 0.1.53 build 46c152a13), run through the Terminal (strata launch)rdna3package uses), MSVC 14.51 (VS 18 Build Tools)How it was built
The ROCm venv was set up as in
tools\hip\build_windows.bat, withrocm[libraries,devel,device-gfx1100]==10.2.0a20260930. The build finished with warnings only. I then staged the program like the Windows AMD package inpackaging/README.md: the HIP DLLs beside the program,rocm/bin, the gfx1100 rocBLAS and hipBLASLt kernels,blas_lib_gfx1100.kpack, andBUILD.jsonwithlib_dirs. For that I usedtools/hip/package_windows.pywithstrata-dsv41.exeas the program. The script is on my fork: https://github.com/ppkrol/Strata_gfx1100/blob/gfx1100-windows/tools/dsv41/win/stage_hip_win.py. It comes to 278 files, 392 MiB (133 MiB zipped).Setup and serving: I pointed
STRATA_DSV41_EXEat the staged program and ranstrata launch --family deepseek41 --model ist-das-2.00bpw --context 8k --yes --no-tui. It downloaded, packed and served, and the first answer to "What is the capital of France?" was "The capital of France is Paris."Passed
ds4_iq_teston the default (scalar) paths: everytoken,setandcpucheck passes for IQ2_XXS, IQ2_XS, IQ2_S, IQ3_XXS, IQ3_S, IQ4_XS and IQ1_M.max_tokens96, then B, then A again with the full transcript and one more turn. There was no fault, once at the defaults and once withSTRATA_DS4_HIPK=1.--experts 6(default on this card)--experts 5(--speed faster)--experts 6+STRATA_DS4_HIPK=1The long prompts are different files of this repo, chosen so the prompt cache could not help, which means their lengths differ between rows. The
--experts 5and--experts 6rows are therefore not a clean prompt-speed comparison. Rows 1 and 3 are close in length: HIPK read about 17% faster there, near the +18.7% that #4136 measured on Linux.Failed
ds4_iq_test, the forced matrix-core check:IQ4_XS wmma vs scalar y worst 3.09e-02 (tol 3e-03) FAIL. Both paths are within tolerance of the CPU reference on their own (wmma down vs CPU 1.42e-04,set down 9.49e-05), and every other type passes this check. This path is off by default on gfx1100 and only runs withSTRATA_DS4_HIPK=1(src/dsv41/ds4_iq_hip.incaround line 262).Not run
strata bench runorneedle_bench.--parallelabove 1, pictures (the tower loads, but I sent no image), and DSpark (--dspark on).So adding gfx1100 to the Windows
rdna3DeepSeek package (or a separaterx7900variant) looks feasible. If it helps, I can test a feed build on this PC.@ppkrol commented on GitHub (Nov 2, 2026):
An update to my comment above, now on 0.2.9 / engine 0.1.55 with Unsloth UD-IQ1_M: a self-built gfx1100
strata-dsv41runs on Windows 11 with one RX 7900 XTX.What the 0.2.9 setup does today on this PC: it stops at "DeepSeek's engine is not available for this computer yet". The reason it prints names only the first two packages in the feed (both Linux). The real one, "the Windows
rdna3package has code for gfx1151, this PC is gfx1100", is cut off.Built and staged: as before.
STRATA_HIP_ARCHS=gfx1100 tools\dsv41\win\build_hip_win.bat, ROCm 10.2.0a20260930. The program is inengine-dsv41\<folder>\with the HIP DLLs,rocm\from the Qwenrdna3engine (it has the gfx1100 rocBLAS / hipBLASLt kernels) and aBUILD.jsonwith"lib_dirs": ["rocm/bin"].strata launch --planthen reports the engine as installed, and setup no longer stops.An important caveat for a gfx1100 package: with the Unsloth sets (Q6_K attention), the 0.1.55 code gives garbage on any prompt of 96 tokens or more. That is the gfx11 dequantizer bug of #4825 / #5030. A package for RX 7000 needs that fix, or
DS4_DQ_OLD=0until then. With a fix:This is one run, not a standard benchmark run. I can do the benchmark format if it helps.
@0xmp3 commented on GitHub (Nov 5, 2026):
A second architecture for this request: gfx1201 (RX 9070 XT, 16 GB) on Windows 11, self-built with the existing
recipe. Same package layout as @ppkrol's gfx1100 report —
engine-dsv41\<folder>\with the HIP DLLs,rocm\copied fromthe Qwen
rx9070engine, and aBUILD.jsonwith"lib_dirs": ["rocm/bin"]. No engine source was changed.Machine: RX 9070 XT 16 GB (gfx1201), Ryzen 5 5600 (6C/12T), 64 GB DDR4, NVMe, Adrenalin 26.10.1
(32.0.32015.7029), Windows 11 10.0.26300.9711. Strata Terminal 0.1.55, engine 0.1.56 built from
ffa80d731.Build:
set STRATA_HIP_ARCHS=gfx1201thentools\dsv41\win\build_hip_win.bat. 91/91 targets, 0 errors, ~25 min.strata-dsv41.exeis 23.8 MB and its offload bundles areamdgcn-amd-amdhsa--gfx1201only. ROCm 10.2.0a20260930,device-gfx1201.Model: ISTA-DAS Coder, IQ2_XXS, 191 GB,
--vision off,--dspark auto(the engine disables the drafter itself:"the routed experts (66 GB) are far more than the GPU holds (15 GB)"), 5 experts per word chosen automatically.
Kernel parity test (
ds4_iq_test, on the GPU)69 pass, 1 fail.
IQ2_XXS(this set's expert type) is 10/10 ok, includingmatrix-core tiles taken 2 (scalar run: 0)—the gfx12 WMMA path engages and matches the CPU reference.
IQ1_M,IQ2_XS,IQ2_S,IQ3_S,IQ3_XXSall pass.One out-of-tolerance line:
Every other type passes on the same matrix-core path.
wmma vs scalar handwmma gate_up vs CPUalready carry aper-type tolerance exception for type 19;
wmma vs scalar ydoes not. Either IQ4_XS needs the same exception or theIQ4_XS down-projection has a real defect. It is not arch-specific: #5336 reports the same line and the same worst
value on gfx1201, and it matches the gfx1100 result in this thread. It does not affect the ISTA sets (IQ1_M / IQ2_XXS /
IQ2_XS experts, IQ4_NL Engram).
Context sweep (Coder, 256K is the practical ceiling)
Fresh start per row, one 300-token answer 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.
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.
Not tested
Long prompts at 128K and above (prefill speed), pictures, answer quality against a reference, the 2.00 / 2.25 / 1.75 bpw
sets,
--parallel,--experts 6, and any Linux comparison on the same silicon.AI-assisted report. Prepared with an agent (Hermes) on my machine and reviewed by me; the numbers are from my runs.