mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1287] [CLOSED] [Engine] Windows HIP image encoding (superseded by main) #3359
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#3359
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/1287
Author: @Yasei-no-otoko
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:codex/windows-hip-vision-pr📝 Commits (3)
35d8c59feat: enable and verify Windows HIP vision on RX 6900 XTbea8679fix(vision): clarify Windows HIP deployment and Python selectionb4d7590Merge upstream main into Windows HIP vision PR📊 Changes
8 files changed (+649 additions, -8 deletions)
View changed files
➕
bench/results/2026-10-07-windows-hip-vision-rx6900xt/README.md(+97 -0)➕
bench/results/2026-10-07-windows-hip-vision-rx6900xt/verification.json(+372 -0)➕
bench/results/2026-10-07-windows-hip-vision-rx6900xt/vision-chat.png(+0 -0)➕
bench/results/2026-10-07-windows-hip-vision-rx6900xt/vision-responses.png(+0 -0)📝
docs/AMD_HIP.md(+71 -2)📝
tools/vision/CMakeLists.txt(+8 -1)➕
tools/vision/build_windows_hip.bat(+61 -0)📝
tools/vision/strata_vision.cpp(+40 -5)📄 Description
Problem and result
This PR originally provided a manual Windows HIP image-encoding path when that path was missing. Its main feature is now implemented independently on current main. Keep this PR closed and unmerged; no reopening or replacement PR is requested.
On 2026-10-22, inspected main at 011c9e600a93bbc9fd451c563501b5831c32bbca, whose documentation identifies Strata 0.2.2. Main supports a separate HIP picture reader,
strata-vision-hip.exe, alongside the CPU reader, and its Windows HIP build script builds and packages both. This source inspection does not establish that the current release works on this RX 6900 XT.Related discussion
Approach
Current upstream references:
This does not mean every hunk of the old patch was incorporated. The standalone helper and the explicit warm-up-failure guard differ from main. Source comparison shows that main logs its warm-up token count and then reports
READY; the original PR also refused readiness after failed warm-up. This is an unconfirmed static-analysis observation, not a reproduced failure on current main, and no additional fix or review is requested here.A local trial rebase was inspected but was not pushed. The PR branch remains at historical head
b4d759058c14bd92bf57455d9cbe14fb53a3a67b; its old deployment instructions and helper are historical, not instructions for current main.Validation
Passed:
git fetch upstream main,git rev-parse upstream/main,git show upstream/main:tools/vision/CMakeLists.txt,git show upstream/main:tools/hip/build_windows.bat, andgit show upstream/main:docs/AMD_HIP.mdconfirmed the source integration described above at011c9e60. Read currentCONTRIBUTING.md,AGENTS.mdand the PR template.35d8c590ab2f21988c42c6dfe7d9c400b9aefc3a: physical Windows 11 Pro build 26300, Threadripper 3990X, RX 6900 XT 16 GiB (gfx1030), driver32.0.21045.5002; ROCm10.2.0a20260930, Clang 24, VS2022/CMake/Ninja, llama.cpp3cf03257f219afbe7334045ff7c6a06ac68c627d. Official Strata 0.1.40 language engine, Huihui Swift IQ3_XXS, matching BF16 projector, 300-image-token cap and 131072 context.set STRATA_HIP_ARCHS=gfx1030, setLLAMA_DIRto that pinned checkout, thentools\vision\build_windows_hip.bat: HIP build and incremental rebuild passed. CPU and GPU encodes produced finite 240 × 2560 embeddings; masked-GPU--gpucorrectly failed withoutREADY. GPU logs identified ROCm0 / AMD Radeon RX 6900 XT; DLL paths and GPU-memory counters supported HIP execution.HIP2026) and Responses (HIP2027), including the red circle and blue square. Health, model list, version, web root and text chat passed. Dated report and structured results, requests and outputs.bea867945e7f23c5e1b25ab86711d8311f246ffb: the actual Python selection/venv block passed Windowscmd.exechecks with onlypy, onlypython, both, and neither available. The first three created runnable environments; the last produced the expected missing-Python error, as recorded in the resolved review discussion.b4d759058c14bd92bf57455d9cbe14fb53a3a67b, after merging maine8ca9af: Windows HIP Release build/link passed; CPU encode produced finite 240 × 2560 embeddings; hidden-GPU--gpufailed withoutREADY. Portable/default, native reconfiguration and CUDA/HIP exclusion configure checks passed.python tools/test_setup_choices.pypassed 40 tests andpython tools/test_setup_amd.pypassed 30. Preserved local logs:logs/conflict-1287-20261007/{hip-build.log,encoder-smoke.json,cmake-matrix/summary.txt,review.txt}. These records were re-inspected; the commands were not rerun today.git diff --check e8ca9afd03d839d4f8dbbe82dffce7f8a3bafd7a...HEADon the retained historical PR head passed on 2026-10-22.Failed:
Not run:
b4d7590was not repeated. Pre-merge measurements are not validation of that head or current main.Limits
The retained runtime evidence applies only to the dated Strata 0.1.40 / RX 6900 XT configuration. No performance improvement or compatibility of current packages is claimed. In particular, main labels the new RX 6000 packages as built but not yet tested on a real card. This PR remains closed as a historical proposal; it was not merged.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.