mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#3677
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1789
Author: @gt50
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:rentlens-fixes📝 Commits (2)
98ab5d2setup: images on Windows AMD with a hand-built encoder, CPU or Vulkan (#1155)7a4783edocs/AMD_HIP.md: SPIRV-Headers_DIR for older Vulkan SDKs, and the encoder's device on laptops with two GPUs (Hugua700, #1789)📊 Changes
3 files changed (+163 additions, -9 deletions)
View changed files
📝
docs/AMD_HIP.md(+68 -2)📝
setup.py(+54 -6)📝
tools/test_setup_amd.py(+41 -1)📄 Description
Title
Issue: Resolves #1155
Summary
Images on Windows AMD with an image encoder built from
tools/vision. The CPU build is used for--vision cpu. A Vulkan build (-DGGML_VULKAN=ON) runs on the Radeon and is used for--vision gpu. The ready-made zip still carries no encoder (shipping one in the zip is a separate step). Measured on a Ryzen AI Max+ 395 / Radeon 8060S, Windows 11.This PR now carries only this part. The other changes it had are in their own PRs: #1803, #1804, #1805, #1806, #1807.
What changed
setup.py:hip_vision()accepts--vision cpuon Windows when a hand-built encoder exists (engine\,build-vision\bin,engine\.previousorbuild-vision-vulkan\bin), andyes/gpuwhen the Vulkan build exists.place_windows_encoder()puts the right build beside the engine, including after an engine update replaces the folder.docs/AMD_HIP.md: a new "Images on Windows" section with both builds and the measurements below; the "Differences" line no longer says images are Linux-only.tools/test_setup_amd.py:gpuand replaces a CPU build beside the engine;Measured (UD-IQ4_XS, 1224 x 1584 phone photos of documents, 1024 image tokens, first read of each picture):
At the CPU default of 300 tokens, the same statement photo read only 32/44 amounts in the right column, and misread the year.
Extra Notes
find_vcvars()see Visual Studio 2026 for non-CUDA builds; the CPU encoder build needs it on such machines. #1156 was closed in favour of this PR.serveandtools/test_setup_*test files pass onmainfb58e0d.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.