mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1299] AMD vison encoder on Windows #530
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#530
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 @Zethalion on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1299
Hey, I'm no coder but I got the strata-vision encoder working with ROCm 10 under windows. I have no idea how to do a PR so I'll just drop my patches here.
00-all-changes.patch
01-vision-hip-build.patch
02-setuphip-path.patch
03-docs.patch
README.md
It works fine with 1024 tokens on cpu. On gpu it also works but that'll cost half of decode speed on my system so I keep it on cpu.
Just my little contribution to Windows users with an AMD gpu who want vision.
@TANGyAAAA commented on GitHub (Oct 10, 2026):
Second Windows + AMD user here (Radeon R9700, RDNA4 / gfx1201, 32 GB). Zethalion's patches already prove the hardware is fine — llama.cpp runs the same model's vision on this exact card on Windows through its mmproj encoder, so the blocker is purely that
hip_vision()returnsnoneon Windows.Please consider merging this into mainline so
--vision cpu(and ideally a HIP encoder) works on Windows AMD without hand-patching. Happy to test on gfx1201 — I can run the patched build and report timings.@i-Vladimir-i commented on GitHub (Oct 12, 2026):
A Linux data point for the same question, in case it helps the setup change: on Linux
strata-visionbuilds for HIP without any source change —tools/visiononly has the CUDA switch, but ggml takesGGML_HIPfrom the CMake cache:Strata
7695859, system ROCm 7.14.1, Radeon AI PRO R9700. An 800×600 picture (475 image tokens): 0.12–0.13 s with--gpu(BF16 mmproj) vs 4.7 s on the CPU (Q8_0, 8 threads, Ryzen 9 3900). End to end throughserve/server.pythe description was correct; a repeated picture 1.8 s (cached).On the "half of decode" cost mentioned above: here the encoder runs on a second GPU (HIP device 0, Strata on device 1), so the engine's expert cache keeps all of its VRAM and decode is unchanged. On a single card the encoder (~1.5 GB) takes expert-cache slots, which is likely that cost. Perhaps setup could offer "the encoder on another GPU" when there is one.
@lipe123 commented on GitHub (Oct 13, 2026):
I am a total noob and since those patches were for an earlier build I could not apply them. I asked pi coder to apply them with the new changes and now I have working vision ON WINDOWS(with a RX9070xt)!!! Please why can't we make this work for everyone? If this patch just works - I don't understand?
Having the ability to paste a screenshot of a bad ui element makes debugging a web app SO much faster and easier.
@Zethalion commented on GitHub (Oct 13, 2026):
I'm glad you got the patch working with the aid of pi. And indeed, it's relative easy for a developer to create a proper PR or the main developer to implement it. But looking at the long list of open issues and pull requests, I can imagine this is being overlooked.
@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.