[PR #159] [MERGED] docs: opt-in CPU vision for Linux HIP #368

Closed
opened 2026-10-29 21:24:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mw00/project-maya/pull/159
Author: @Tsury
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @mw00

Base: main ← Head: docs/amd-cpu-vision


📝 Commits (1)

  • d2fb79b docs: explain opt-in CPU vision for Linux HIP

📊 Changes

1 file changed (+65 additions, -1 deletions)

View changed files

📝 docs/AMD_MAYA.md (+65 -1)

📄 Description

HIP setup currently skips images, although Maya's existing CPU strata-vision helper can serve image requests alongside the HIP text engine. This documents the explicit Linux setup using the official glm5next_patch.py, STRATA_VISION_CUDA=OFF, matching verified vision artifacts, and vision.gpu=false. The installer and NVIDIA path remain unchanged.

Tested with stock Maya v1.1.5 (5403c2227ea22fd0065ba673b00522fb3be2cafa), Maya-S24 from peasantsmith/GLM-5.3-Flash-Maya-GGUF revision f16ee4ba50d8fd2bb726ea1862ca6ca14ba188da, pinned llama.cpp 3cf03257f219afbe7334045ff7c6a06ac68c627d, Linux on Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB unified RAM, and installed ROCm 7.14.1. The helper used the official CPU-only build, without a locally authored engine or vision patch.

Before this manual setup, the HIP installer produced a text-only config. After setup, /health reported images: true. Two actual /v1/chat/completions requests asked for the main shape, its color, and the background color of a green circle on white. Both identified all three correctly; complete request times were 3.38 and 3.12 seconds, including generation. These checks establish this narrow working path, not broad vision quality or speed.

Validation: shell blocks passed bash -n; the JSON member parsed and matched the tested CPU vision configuration; the existing CMake CPU backend and official patch paths were checked; git diff --check passed. The new separate build-directory name preserves any CUDA helper; the measured target used the equivalent build-vision output path. No inference was rerun solely for this documentation change.

CPU encoding consumes system RAM and CPU time. Other AMD devices, Windows, large images, and multiple-image workloads remain untested here. The instructions explicitly preserve the HIP installer's text-only default and note that rerunning setup writes a text-only config.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mw00/project-maya/pull/159 **Author:** [@Tsury](https://github.com/Tsury) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@mw00](https://github.com/mw00) **Base:** `main` ← **Head:** `docs/amd-cpu-vision` --- ### 📝 Commits (1) - [`d2fb79b`](https://github.com/mw00/project-maya/commit/d2fb79b9943673754f8611c7c3abf016fe36dd8c) docs: explain opt-in CPU vision for Linux HIP ### 📊 Changes **1 file changed** (+65 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/AMD_MAYA.md` (+65 -1) </details> ### 📄 Description HIP setup currently skips images, although Maya's existing CPU `strata-vision` helper can serve image requests alongside the HIP text engine. This documents the explicit Linux setup using the official `glm5next_patch.py`, `STRATA_VISION_CUDA=OFF`, matching verified vision artifacts, and `vision.gpu=false`. The installer and NVIDIA path remain unchanged. Tested with stock Maya v1.1.5 (`5403c2227ea22fd0065ba673b00522fb3be2cafa`), Maya-S24 from `peasantsmith/GLM-5.3-Flash-Maya-GGUF` revision `f16ee4ba50d8fd2bb726ea1862ca6ca14ba188da`, pinned llama.cpp `3cf03257f219afbe7334045ff7c6a06ac68c627d`, Linux on Ryzen AI Max+ 395 / Radeon 8060S (`gfx1151`), 128 GB unified RAM, and installed ROCm 7.14.1. The helper used the official CPU-only build, without a locally authored engine or vision patch. Before this manual setup, the HIP installer produced a text-only config. After setup, `/health` reported `images: true`. Two actual `/v1/chat/completions` requests asked for the main shape, its color, and the background color of a green circle on white. Both identified all three correctly; complete request times were 3.38 and 3.12 seconds, including generation. These checks establish this narrow working path, not broad vision quality or speed. Validation: shell blocks passed `bash -n`; the JSON member parsed and matched the tested CPU vision configuration; the existing CMake CPU backend and official patch paths were checked; `git diff --check` passed. The new separate build-directory name preserves any CUDA helper; the measured target used the equivalent `build-vision` output path. No inference was rerun solely for this documentation change. CPU encoding consumes system RAM and CPU time. Other AMD devices, Windows, large images, and multiple-image workloads remain untested here. The instructions explicitly preserve the HIP installer's text-only default and note that rerunning setup writes a text-only config. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:24:45 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#368
No description provided.