mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #458] GLM-5.3-Flash Maya-M on 2x RX 7900 XTX + Radeon 8060S: ~2x decode over the plain layer split, up to 512K context (PRs #454-#457, Ansible recipe) #189
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#189
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 @pepuscz on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/458
A report, not a bug: GLM-5.3-Flash (Maya-M IQ2_S) running on a Ryzen AI Max+ 395 box with two RX 7900 XTX cards added. Four pull requests let the Radeon 8060S serve as expert helper beside a layer split over the two cards, and speed up decode attention. With them, decode is about twice the plain layer split's: 53-58 tok/s from 2K to 240K tokens, and 50 tok/s at 456K. All four are opt-in or inert by default. An Ansible recipe that installs this setup is linked below.
Setup. BOSGAME M5 (Ryzen AI Max+ 395, Radeon 8060S, 128 GB). Two RX 7900 XTX, each on its own PCIe 4.0 x4 link (M.2 to OCuLink). Ubuntu 26.04, kernel 7.0.0-38-generic, ROCm 7.2.4. Model: peasantsmith/GLM-5.3-Flash-Maya-GGUF Maya-M, revision f16ee4b.
Pull requests to merge
MAYA_GLM_EXPERT_HELPERnow also works withMAYA_GLM_SPLIT. Each part opens its own helper on the iGPU over its own layers, with a load-time check (MAYA_GLM_HELPER_CHECK).MAYA_GLM_GU22_TUNED=1). The log records which gate/up and GEMV kernels each GPU runs.MAYA_GLM_DSA_SCORE2,MAYA_GLM_MLA_ATTN2), plusglm_attn_bench.#454, #455 and #456 are independent of each other. #457 builds on #455 and #456. All four are rebased on v1.1.26. They were built together on this host and passed the split/serial bit-identity gate, the HIP helper test and the take-two logits identity check.
Results
The five-phrase retrieval prompts from strix-halo-llm. Each point is a fresh load, cold, thinking off, 256-token cap. Every point found all five values. Figures are decode / prefill in tok/s.
MAYA_GLM_MV_RDNA=1pepuscz/project-mayatagmaya-glm-dual-xtx-512k-20261024). Rebased on v1.1.26 and built together, one load each: 2K 60.6 / 183, 128K 56.0 / 901.Try it now
strix-halo-llm v2.2.0 has an Ansible recipe for exactly this setup:
maya-glm-dual-xtx-512k.yml.127.0.0.1:18109. A conversation set aside for another is kept on disk, also across restarts.7.0.0-38-genericand about 240 GB free.Setup notes and all measurements: README · BENCHMARKS
Other observations
MAYA_GLM_MV_RDNA=1on the RX 7900 XTX (the docs say "not measured yet"): +3.3 % decode at a near-full 130K prompt, logits byte-identical.--parallel Non this split: a lone request decodes as fast as on a one-conversation server (55.8 / 55.6). Conversations served together total about 45 tok/s, against about 55 one after another.--parallelabove 1 (1,093-1,118 against 907 tok/s at 114K).MAYA_GLM_CKPTS=0on a one-conversation server gives the same 1,119 tok/s (895 with checkpoints, both at 262,144), so the checkpoints account for the difference. At 228K the gap is 12 % (1,160 against 1,032). The recipe keeps checkpoints on, because they let a returning conversation skip its re-read.🤖 Generated with Claude Code
@silvia95guy commented on GitHub (Oct 25, 2026):
Very nice! I just had a buddy turn me onto this project today, and he sent me a link to this post. I ordered a second XTX a few days ago, so I'm glad someone had done some setup to see how it performs. I'll be running with a 9850X3D with 96GB of tuned 6000Mhz CL 28 RAM. (Wish I could afford more, but this will have to do.) The XTX's will be paired on an PCIE 4.0 8x8 splinter into the top 16X slot of my mobo to keep memory bandwidth optimal across both cards, as well give both direct access to the CPU, instead of through chipset lane, or slowed down to a shared 4X lane wit the M.2. Will report back what tk/s I'm able to achieve with my setup.
@mw00 commented on GitHub (Oct 27, 2026):
Thank you - #454-#457 shipped in v1.1.28, and your Maya-M result goes into the speed table for the next release: 2x RX 7900 XTX with the Radeon 8060S as helper, 56.0 tokens/s, still 50.1 after a 456K-token prompt. Closing as done.