mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1141] Windows AMD: prebuilt HIP zip running a model on a discrete card (Radeon AI PRO R9700, gfx1201) #478
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#478
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 @KongChengZhi on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1141
TL;DR — the ready-made Windows HIP zip runs a model on a discrete card here (Radeon AI PRO R9700, gfx1201, 32 GB):
strata-device --selftestOK, IQ3_XXS at 131072 context in low-RAM resident mode, 50-81 tok/s decode, 870 tok/s prompt read, zero blob reads from the file while answering, >96% expert-cache hit rate.Two findings, both A/B measured on this card:
pcie_fractoo high on Windows. It chose 0.55 from a 54.3 GB/s host->device reading;--calibratemeasured 0.00 as 13% faster (60.9 vs 53.8 tok/s), ~20% total together withspec-min-p0.70. Consistent with #377 (the probe times copies on the host clock on Windows).docs/AMD_HIP.mdreports for this card (those numbers are from Linux).This is the discrete-card Windows AMD run that
docs/AMD_HIP.mdasks for ("The ready-made zip itself has not run a model on a discrete card yet - please report"). It works; below are the numbers, plus one finding that looks like it matters beyond this card.Hardware / software
32.0.31036.156f32ec070f23ced9f50e704d854d775da52591ab--max-context 131072,--kv int8,--resident-expertssetup --checksaw this as: "fits in the low-RAM mode (the GPU holds ~63% of its experts, the rest stays in RAM)" for IQ3_XXS and ~53% for IQ3_S.strata-device --list-devicesstrata-device --selftestEnd of
strata-iq3_xxs.log(startup)The shipped
gfx1201-hipblaslt-100500.txttable was picked up automatically and reports as enabled.Speed (from the server's own per-request lines)
Decode runs 50-81 tok/s depending on cache warmth (the first answer after a start is the slow one). The low-RAM resident mode does what it says: zero blob reads from the file while answering throughout a long session.
Finding: on Windows the PCIe probe sets
pcie_fractoo high for this cardThe startup probe measured 54.3 GB/s host->device and chose
pcie_frac 0.55(the default).--calibratethen measured decode speed across the range:So 0.00 is 13% faster than the 0.55 the probe picked, and the two tuning changes together are worth about 20% over the previous defaults (53.8 -> 64.5 tok/s).
This looks consistent with #377's note that on Windows the PCIe probe times its copies on the host clock (HIP events read impossible speeds there), so the probe can overestimate the link and leave
pcie_fractoo high. If that is what is happening, the probe may be unreliable on Windows in general — the RDNA4 R9700 has a fast link and a strong CPU, so copying missed experts over PCIe loses to just letting the CPU compute them.Practical consequence for anyone on Windows + AMD: run
START-HERE.bat --calibrateexplicitly. It is the only thing here that corrected an automatically chosen value. (Setup does not offer calibration on AMD by itself, per #566; 0.1.39 accepts a manual run and remembers the result for the card.)Finding: WMMA is a net loss on this card (prompt faster, decode slower)
STRATA_HIP_WMMA=1withSTRATA_PREFILL_RING=96on gfx1201 + int8 KV, A/B with the same long prompt (unique first tokens each run so the KV prefix cache cannot be reused):STRATA_HIP_WMMA=1, ring 96+16% prompt, -18% decode. The prompt side is well short of the +36-50%
docs/AMD_HIP.mdreports for this card (those numbers are from Linux runs). Since prompt read is paid once per request and decode once per token, this is a loss for chat and agent use, so I left WMMA off. The smallerSTRATA_PREFILL_RING=96that goes with WMMA looks like the decode side of it.Notes and limits
strata-iq3_xxs.logand--calibrateoutput.--calibrate's numbers come from its own harness and are not directly comparable to the per-request lines above, but they agree in band.strata-device --selftestwas run while the server was up (29 GiB still free) and passed, including the over-allocation refusal.Happy to re-run anything, or to try IQ3_S on this card if that would help.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.