mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4017] [Engine] Windows rdna2 package 0.1.48: the GPU picture reader (strata-vision-hip.exe) is built for gfx1200/gfx1201 only, so --vision gpu falls back to the CPU on RX 6000 #1731
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#1731
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 @Vop3p on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4017
What happened. On an RX 6900 XT (gfx1030), Windows 11, with the official
0.1.48-windows-x86_64-hip-rdna2engine package, a run config whosevisionsection points at the package'sstrata-vision-hip.exewith"gpu": truedoes not start:The engine never starts;
strata serveexits (with this hand-written section, which has nocpu_exe; see point 2). The same package's engine (strata.exe) is built for gfx1030 / gfx1031 and runs (strata-device --selftest: "compiled for gfx1030,gfx1031", selftest OK), and the package's CPU reader (strata-vision.exe,"gpu": false/strata launch --vision cpu) reads pictures correctly. So the GPU reader shipped in the RX 6000 package looks like the RX 9070 package's build.Two things, separately:
rdna2package'sstrata-vision-hip.exehas no gfx1030 / gfx1031 code. Either build it for the package's architectures, or leave it out of the package so--vision on/gpucannot pick it on these cards.When the GPU reader refuses the card, the server raises instead of falling back to the CPU reader.Corrected (see the comment below): the fallback works when the run config names the CPU reader (cpu_exe, asvision_reader.vision_sectionwrites it); my repro's hand-written section had none. With it the server logsthe GPU picture reader did not start (... not in the picture reader's build (gfx1200,gfx1201) ...); pictures are read on the CPUand serves. So on an RX 6000 card--vision gpuquietly ends up on the CPU reader, becauseBUILD.jsonlists"vision_archs": ["gfx1030", "gfx1031"].Reproduce: the vision section
{"exe": "<package>\\strata-vision-hip.exe", "mmproj": "<mmproj-Qwen3.8-Flash-Next-BF16.gguf>", "model": "<IQ3_S shard 1>", "gpu": true}plus--vision,strata serve --profile <that config>. Strata Terminal 0.2.3.1 (control 0.1.48.1), driver 32.0.21045.16010, i9-10900K, 64 GB.Not checked: the Linux
rx6000package's reader; other RX 6000 cards.Developed with an AI coding assistant; the output above was produced on the PC described.
@Vop3p commented on GitHub (Oct 25, 2026):
Correction to point 2: the server does fall back to the CPU reader when the run config names one. My repro used a hand-written
visionsection withoutcpu_exe, sovision_reader.cpu_fallbackhad nothing to fall back to. With"cpu_exe": "<package>\\strata-vision.exe"added (asvision_reader.vision_sectionwrites it for--vision gpu), the same package and card give:and the server comes up and answers a test image correctly (engine log:
strata-vision: on the CPU, 10 threads). So point 2 is not a bug; sorry for the noise.Point 1 stands, and with the fallback it is quiet rather than loud: the package's
BUILD.jsonlists"vision_archs": ["gfx1030", "gfx1031"], so--vision gpuon an RX 6000 card choosesstrata-vision-hip.exe, which then refuses the card, and pictures end up on the CPU with one line in the server log. Built from the package's own commit (6f8800aefe27,tools/visionunchanged) withSTRATA_VISION_HIP_ARCHS=gfx1030;gfx1031and the same ROCm (10.2.0a20260930), the reader runs on the RX 6900 XT next to the official engine and DLLs:warmed up at 1024 image tokens, 4/4 picture answers correct, big pictures at 1,059 image tokens instead of the CPU reader's 300, about 1.3 GB of VRAM that the engine takes from its expert cache by itself (3,479 instead of 4,166 slots; decode at 4K 44.4 vs 44.5 tok/s, one run each). That suggests the rdna2 package was packed with the gfx1200/gfx1201 reader rather than one built for its archs.Developed with an AI coding assistant; the output above was produced on the PC described in the issue.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.