mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #213] Validation on Radeon AI PRO R9700 (gfx1201, ROCm 7.0): v1.1.12 +15% decode, 384K context tested, thinking control confirmed #83
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#83
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 @potatopote-debug on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/213
Title: Validation on Radeon AI PRO R9700 (gfx1201, ROCm 7.0): v1.1.12 +15% decode, 384K context tested, thinking control confirmed
Environment: Radeon AI PRO R9700 (gfx1201) / i5-14400F / 128 GB RAM / Ubuntu, ROCm 7.0 (pip ROCm SDK wheels)
Model: Maya-S-v2-IQ2_XXS (96.5 GB, 3-shard GGUF)
Results:
reasoning_effort: "none"andchat_template_kwargs: {"enable_thinking": false}both removereasoning_content;{"thinking": false}alone does NOT.hipBLASLt version mismatch: file=100202 runtime=100200; using hipBLASEx(ROCm 7.0 runtime ships 100200). Harmless fallback, prefill still fast.@potatopote-debug commented on GitHub (Oct 16, 2026):
Follow-up: CPU vision encoder on this box — default warmup deadlocks, --no-warmup fixes it
Following up on this report with a vision finding (v1.1.12, same box: R9700 / gfx1201, i5-14400F, 128 GB RAM, ROCm 7.0).
I enabled the CPU image encoder by hand per docs/AMD_MAYA.md ("CPU image encoder on Linux"): applied glm5next_patch.py to the pinned llama.cpp, built strata-vision CPU-only into a separate build-vision-cpu dir, downloaded the vision GGUFs (sha256 verified), and added the vision block with "gpu": false to the HIP config.
Problem: with the default warmup, the helper never prints READY and the server hangs at "Loading the model 0%" forever — serve/server.py waits on stdout.readline() with no timeout, so the helper's hang is invisible. Repro and diagnosis (no strace needed):
default (warmup on): hangs — no output after the tokenizer warnings,
single thread, ~0 CPU, wchan do_sigtimedwait
timeout 120 ./build-vision-cpu/bin/strata-vision --mmproj ... --model ... </dev/null # rc=124, no READY
--no-warmup: READY immediately
timeout 60 ./build-vision-cpu/bin/strata-vision --mmproj ... --model ... --no-warmup </dev/null
→ READY 4096
The 2048×2048 dummy-image warmup encode seems to deadlock on this machine (discrete RDNA4 + i5-14400F). Your official CPU-vision validation was on gfx1151, so this may be a first on a discrete card.
Workaround (working fine): a wrapper that adds --no-warmup (exec .../strata-vision --no-warmup --threads 8 "$@"), pointed to from the config's vision.exe. Since the warmup's purpose (GPU paging avoidance) doesn't apply to a CPU-only encoder, skipping it should be harmless — first real image just pays the buffer allocation. /health reports images: true, a green-circle check answered correctly in 2.5 s, and a complex real photo described correctly. Text decode is unaffected (19-21 tok/s as in the main report).
Hope this helps — happy to provide the full startup log or a --measure run if useful.
@mw00 commented on GitHub (Oct 16, 2026):
Thanks for the thorough validation, @potatopote-debug - the long-context needle runs and the thinking-control check are especially useful. The
hipBLASLt version mismatch: file=100202 runtime=100200line is harmless, as you saw: the shipped gfx1201 table is for hipBLASLt 100202 (ROCm 7.2), and ROCm 7.0 ships 100200, so prompts take hipBLASEx's default kernels instead of the tuned ones. ROCm 7.2 would pick the table up. On thinking:{"thinking": false}is not a field GLM-5.3-Flash's template reads;reasoning_effort: "none"orchat_template_kwargs: {"enable_thinking": false}are the two that work, as you found.@mw00 commented on GitHub (Oct 20, 2026):
Thank you, @potatopote-debug - the R9700 validation is now in the README's speed table.