[GH-ISSUE #202] Strix Halo 128 GB on Linux (8060S, ROCm 10.2): v1.1.11 report - MTP decode +20-27%, prompts need a gfx1151 hipBLASLt 100500 table #78

Closed
opened 2026-10-29 21:20:20 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @boxwrench on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/202

Thanks for the Halo release. Here is a report from a 128 GB Strix Halo on Linux, which the v1.1.10 notes list as not measured yet.

Box: Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB (122 GB visible), Linux Mint 22.3, kernel 7.3, TheRock ROCm 10.2 (hipBLASLt 100500). v1.1.11 built through maya.py's own HIP path for gfx1151, config from the setup (--expert-cache auto --prefill auto, RAM_HEADROOM_GB=16, PREFILL_SUB=1024, PREFILL_MB=6144), Maya-S v2 IQ2_XXS, context 262144. All of Maya-S fits the GPU pool here ("RAM tier is staging only").

1. Single-GPU MTP decode: +20-27% on this box

Through the API, greedy, thinking off, 3 runs each (mean):

MTP on (default) STRATA_GLM_MTP_DECODE=0
256-token answer, short prompt 23.0 tok/s 19.1
256 tokens after a ~3K-token document 20.9 17.5
256 tokens after a ~8K-token document 22.1 17.4
~600-token answer 24.0 19.0

Acceptance 61-67%. ./maya.sh --bench: 30.6 tok/s mean decode (report below).

2. Prompt speed: no gfx1151 tuning table for hipBLASLt 100500

With the shipped tables the prompt path runs untuned. The log says:

prefill gemm: .../tools/hip/gfx1151-glm-hipblaslt-100202.txt: hipBLASLt version mismatch: file=100202 runtime=100500

(and the same for 100401). Adding a gfx1151 GLM table tuned for hipBLASLt 100500 (84 rows, made with tools/hip/tune_hipblaslt.cpp at T=8192), same build and same defaults otherwise:

--bench prefill shipped tables (fallback) + gfx1151 100500 table
2,048-token prompt 204 tok/s 341 tok/s
8,192-token prompt 217 tok/s 373 tok/s

I also tried the larger prompt settings (--prefill 32768, PREFILL_SUB=8192, PREFILL_MB=24576) without the table: 200 / 208 tok/s, so the table is the whole difference, not the settings. TheRock / ROCm 10 nightlies ship hipBLASLt 100500, so other Strix Halo users on ROCm 10 will hit the same fallback. I can send the table as a PR (tools/hip/gfx1151-glm-hipblaslt-100500.txt, picked up by the existing glob in maya.py).

3. Greedy answers with MTP on vs off: identical on 2 of 4 prompts

First 64 tokens, same prompts, greedy: the 3K-document and the short-question answers are byte-identical with STRATA_GLM_MTP_DECODE=1 and =0; the 8K-document answer diverges after ~154 characters and the code answer after ~277. The v1.1.10 notes report identical answers over four prompts on the Gorgon Halo, so this may be specific to gfx1151 under Linux / ROCm 10.2. Happy to run a narrower check if you tell me what would help.

./maya.sh --bench with the 100500 table
Project Maya v1.1.11 benchmark, 2026-10-14 21:05
GPUs: AMD Radeon (gfx1151) 4 GB; RAM 122 GB; CPU AMD RYZEN AI MAX+ 395 w/ Radeon 8060S
setup: maya-maya-s-v2-iq2_xxs-hip-E.json, context 262144, GPUs [0]
decode (writing the answer): mean 30.6 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    29.0 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    27.8 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    35.1 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 341 tokens/s, 2048 tokens
prefill (reading the prompt): 373 tokens/s, 8192 tokens

Without the table (shipped defaults): decode 30.3 tok/s, prefill 204 / 217 tok/s.

Originally created by @boxwrench on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/202 Thanks for the Halo release. Here is a report from a **128 GB Strix Halo on Linux**, which the v1.1.10 notes list as not measured yet. **Box:** Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB (122 GB visible), Linux Mint 22.3, kernel 7.3, TheRock ROCm 10.2 (hipBLASLt **100500**). v1.1.11 built through maya.py's own HIP path for gfx1151, config from the setup (`--expert-cache auto --prefill auto`, `RAM_HEADROOM_GB=16`, `PREFILL_SUB=1024`, `PREFILL_MB=6144`), Maya-S v2 IQ2_XXS, context 262144. All of Maya-S fits the GPU pool here ("RAM tier is staging only"). ### 1. Single-GPU MTP decode: +20-27% on this box Through the API, greedy, thinking off, 3 runs each (mean): | | MTP on (default) | `STRATA_GLM_MTP_DECODE=0` | |---|---:|---:| | 256-token answer, short prompt | 23.0 tok/s | 19.1 | | 256 tokens after a ~3K-token document | 20.9 | 17.5 | | 256 tokens after a ~8K-token document | 22.1 | 17.4 | | ~600-token answer | 24.0 | 19.0 | Acceptance 61-67%. `./maya.sh --bench`: 30.6 tok/s mean decode (report below). ### 2. Prompt speed: no gfx1151 tuning table for hipBLASLt 100500 With the shipped tables the prompt path runs untuned. The log says: ``` prefill gemm: .../tools/hip/gfx1151-glm-hipblaslt-100202.txt: hipBLASLt version mismatch: file=100202 runtime=100500 ``` (and the same for 100401). Adding a gfx1151 GLM table tuned for hipBLASLt 100500 (84 rows, made with `tools/hip/tune_hipblaslt.cpp` at T=8192), same build and same defaults otherwise: | `--bench` prefill | shipped tables (fallback) | + gfx1151 100500 table | |---|---:|---:| | 2,048-token prompt | 204 tok/s | **341 tok/s** | | 8,192-token prompt | 217 tok/s | **373 tok/s** | I also tried the larger prompt settings (`--prefill 32768`, `PREFILL_SUB=8192`, `PREFILL_MB=24576`) without the table: 200 / 208 tok/s, so the table is the whole difference, not the settings. TheRock / ROCm 10 nightlies ship hipBLASLt 100500, so other Strix Halo users on ROCm 10 will hit the same fallback. I can send the table as a PR (`tools/hip/gfx1151-glm-hipblaslt-100500.txt`, picked up by the existing glob in `maya.py`). ### 3. Greedy answers with MTP on vs off: identical on 2 of 4 prompts First 64 tokens, same prompts, greedy: the 3K-document and the short-question answers are byte-identical with `STRATA_GLM_MTP_DECODE=1` and `=0`; the 8K-document answer diverges after ~154 characters and the code answer after ~277. The v1.1.10 notes report identical answers over four prompts on the Gorgon Halo, so this may be specific to gfx1151 under Linux / ROCm 10.2. Happy to run a narrower check if you tell me what would help. <details><summary><code>./maya.sh --bench</code> with the 100500 table</summary> ``` Project Maya v1.1.11 benchmark, 2026-10-14 21:05 GPUs: AMD Radeon (gfx1151) 4 GB; RAM 122 GB; CPU AMD RYZEN AI MAX+ 395 w/ Radeon 8060S setup: maya-maya-s-v2-iq2_xxs-hip-E.json, context 262144, GPUs [0] decode (writing the answer): mean 30.6 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 29.0 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 27.8 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 35.1 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 341 tokens/s, 2048 tokens prefill (reading the prompt): 373 tokens/s, 8192 tokens ``` Without the table (shipped defaults): decode 30.3 tok/s, prefill 204 / 217 tok/s. </details>
Author
Owner

@boxwrench commented on GitHub (Oct 15, 2026):

Follow-up on three points from the report, same box and build (v1.1.11, gfx1151, ROCm 10.2, Maya-S v2 IQ2_XXS, greedy).

MTP on vs off (point 3): numeric near-ties, not a verify bug. Each mode is byte-identical across 3 runs, so the difference comes from the batch shape. At the first differing token the same two candidates lead in both modes, 0.12-0.63 logits apart:

prompt MTP off, top-2 MTP on (verify window), top-2
code, token 28 15290 24.042, 19459 23.911 15290 24.143, 19459 24.020
8K document, token 51 525 26.744, 594 26.115 525 27.084, 594 26.786

The rest of the answers have confident rows 4-16 apart. The character offsets I gave (154/277) shift with the adaptive draft length, so they aren't stable either. I don't think anything needs fixing here.

API decode vs --bench (23 vs 30.6 tok/s): different prompts, not API overhead. Running the same prompts both ways, the API matches engine-direct to within 0.9 tok/s, and streaming is no slower. Decode tracks MTP acceptance: --bench's three topics accept 70-93% of drafts, while my hash-map prompt accepts ~56% (24 tok/s at 56%, 35.5 tok/s at 92%). It might help to add a prose question to BENCH_TOPICS and print the acceptance in maya-bench.txt, so reports like mine compare like with like.

PREFILL_SUB=4096 on a 128 GB APU: about +5% prompt speed with the 100500 table (#203). Engine-direct, two runs each:

setting 2K 8K 32K API 32K
setup default (SUB=1024, MB=6144) 338 374 352 345
SUB=4096 358 391 369 372
SUB=8192 358 386 368 -
MB=12288 or 24576 alone 332 374 347 -

MemAvailable stayed ~22 GB during a 32K prompt, with no OOM at any setting. Without the table these settings made no difference (point 2 of the report), so this only matters once a tuned table is in place. If it's useful I can send a small write_config change: PREFILL_SUB=4096 for APUs with 96 GB or more, 1024 otherwise. I've only measured Linux, so it could be limited to Linux if you prefer.

<!-- gh-comment-id:6193877835 --> @boxwrench commented on GitHub (Oct 15, 2026): Follow-up on three points from the report, same box and build (v1.1.11, gfx1151, ROCm 10.2, Maya-S v2 IQ2_XXS, greedy). **MTP on vs off (point 3): numeric near-ties, not a verify bug.** Each mode is byte-identical across 3 runs, so the difference comes from the batch shape. At the first differing token the same two candidates lead in both modes, 0.12-0.63 logits apart: | prompt | MTP off, top-2 | MTP on (verify window), top-2 | |---|---|---| | code, token 28 | 15290 **24.042**, 19459 23.911 | 15290 24.143, 19459 **24.020** | | 8K document, token 51 | 525 **26.744**, 594 26.115 | 525 **27.084**, 594 26.786 | The rest of the answers have confident rows 4-16 apart. The character offsets I gave (154/277) shift with the adaptive draft length, so they aren't stable either. I don't think anything needs fixing here. **API decode vs `--bench` (23 vs 30.6 tok/s): different prompts, not API overhead.** Running the same prompts both ways, the API matches engine-direct to within 0.9 tok/s, and streaming is no slower. Decode tracks MTP acceptance: `--bench`'s three topics accept 70-93% of drafts, while my hash-map prompt accepts ~56% (24 tok/s at 56%, 35.5 tok/s at 92%). It might help to add a prose question to `BENCH_TOPICS` and print the acceptance in `maya-bench.txt`, so reports like mine compare like with like. **`PREFILL_SUB=4096` on a 128 GB APU: about +5% prompt speed with the 100500 table (#203).** Engine-direct, two runs each: | setting | 2K | 8K | 32K | API 32K | |---|---:|---:|---:|---:| | setup default (`SUB=1024`, `MB=6144`) | 338 | 374 | 352 | 345 | | `SUB=4096` | **358** | **391** | **369** | **372** | | `SUB=8192` | 358 | 386 | 368 | - | | `MB=12288` or `24576` alone | 332 | 374 | 347 | - | MemAvailable stayed ~22 GB during a 32K prompt, with no OOM at any setting. Without the table these settings made no difference (point 2 of the report), so this only matters once a tuned table is in place. If it's useful I can send a small `write_config` change: `PREFILL_SUB=4096` for APUs with 96 GB or more, 1024 otherwise. I've only measured Linux, so it could be limited to Linux if you prefer.
Author
Owner

@mw00 commented on GitHub (Oct 16, 2026):

Thanks, @boxwrench - your hipBLASLt 100500 table (#203) is in v1.1.13, so ROCm 10 users get the tuned prompt path.

<!-- gh-comment-id:6209701549 --> @mw00 commented on GitHub (Oct 16, 2026): Thanks, @boxwrench - your hipBLASLt 100500 table (#203) is in v1.1.13, so ROCm 10 users get the tuned prompt path.
Author
Owner

@mw00 commented on GitHub (Oct 16, 2026):

Your hipBLASLt 100500 table (#203) shipped in v1.1.13 - thanks again, @boxwrench. Closing this report.

<!-- gh-comment-id:6223516586 --> @mw00 commented on GitHub (Oct 16, 2026): Your hipBLASLt 100500 table (#203) shipped in v1.1.13 - thanks again, @boxwrench. Closing this report.
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#78
No description provided.