mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #497] 0.1.35: Windows AMD report: the ready-made zip on an RX 6800 (gfx1030) #230
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#230
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 @BlueKingMuch on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/497
As i am testing also on my other Machine With AMD, here a Report:
The ready-made zip on a discrete card, as docs/AMD_HIP.md asks: 0.1.35's
strata-windows-x64-hip.zip(and 0.1.34's before it) runs on an RX 6800 (gfx1030) and serves Qwen3.8-Flash-Next IQ3_XXS at 131072 context. Two things showed up that concern the zip on Windows:--expert-cache autodecodes at 31.4 tok/s; 0.1.34's zip (the same kernels and ROCm) with a fixed--expert-cache 3072at 42.0 tok/s.autosizes the cache fromhipMemGetInfo, which on Windows does not subtract what the desktop holds. The cache then fills the card past what Windows lets the process keep in VRAM, and Windows keeps about 1.1 GiB more of the engine in system memory than with a budget-aware build. #380 fixes this in the engine, so a zip built with it gets the fix too.The PC
RX 6800 16 GB (gfx1030, drives the desktop), driver 32.0.21045.9003 (AMD Software: Adrenalin Edition 26.9.1), Ryzen 7 5800X3D, 64 GB RAM, PCIe 4.0 x16, Windows 11 (build 26300).
System32 holds the driver's
amdhip64_6.dllandamd_comgr_2.dlland noamdhip64_7.dll, so #468/#461 did not apply here. 0.1.34's zip loaded its runtime fromrocm\bin(the process's module list), and 0.1.35's loads it from besidestrata.exe.strata-device (0.1.35,
rocm\binfirst on the PATH)0.1.34's output was the same, without the
HIP runtimeline.The engine
The zips were unpacked into
engine-0134\andengine-0135\beside a self-builtengine\. The zip'sstrata.exe, with itsrocm\binfirst on the PATH, was driven through--serveby a script rather than the server. Model and configuration are this PC's: Qwen3.8-Flash-Next IQ3_XXS (native pack, MTP draft head) with--prefill auto --spec 4 --spec-min-p 0.5 --max-context 131072 --kv int8 --kv-resident 32768 --pcie-frac 0.2, and the cache size as given. Each variant was started twice. Each start ran a first answer, thentools/calibrate.py's three prompts twice (128 tokens each), then a 32K-token prompt.The end of the startup (0.1.35 with
--expert-cache auto, from a start without--pcie-fracso that the probe runs; with--pcie-frac 0.2the last line reads 581 MiB):The speed line of a first answer (a 34-token prompt, 32 tokens):
--expert-cache 3072--expert-cache autoautoauto,STRATA_WDDM_BUDGET=0--expert-cache 3072The local build is 0.1.32 with #356, #373, #376, #377 and #380, plus the verify-window scratch reserve described on #356 (branch
win-scratchon my fork, not proposed), compiled on this PC with the HIP SDK 7.2. 0.1.34 and 0.1.35 have the same kernels and ROCm; 0.1.35's engine changes are the runtime log line, #467's resident RAM mode (not used here) and #448's chunk choice for a layer split. With--expert-cache 3072(4090 slots in both), 0.1.34's zip decodes 2.6-3.7 % faster than the local build and reads a 32K prompt 2.6-2.7 % slower.STRATA_PREFILL_TIMINGputs the prompt difference in hc read, gdn recurrence and gdn out proj.--expert-cache autoon WindowsGPU Process MemoryandGPU Adapter Memory, read after the start quoted above) show:STRATA_DECODE_TIMING, mean per verify window, the local build): 79.6 ms without the budget, 59.5 ms with it (the zip withauto: 81.0 ms).automatches the local build with the budget off: the same 6072 slots, the same memory figures and nearly the same slowdown (31.4 against 32.4 tok/s). On this card, setup's default costs the zip about a quarter of its decode speed.The verify-window hang from 0.1.30 (mentioned on #356)
It did not come back. The zip has no scratch reserve and ran all 33 of its requests (both versions) without a hang. The local build with the reserve switched off also answered normally. I am dropping the reserve.
Not checked: the content of the answers (only that the drafts are accepted as often as with the local build at the same cache size), the zip installed through START-HERE, and images.
@Niko1221 commented on GitHub (Oct 2, 2026):
Released in 0.1.37: #380 (the WDDM budget, so the expert cache stays in VRAM) and #377 (the host-timed PCIe probe) are in the Windows AMD zip. Thanks for the measurements! Please reopen if the RX 6800 doesn't reach the 42 tok/s you saw with them.
@BlueKingMuch commented on GitHub (Oct 2, 2026):
Thanks a lot! will test when i got time.