[PR #96] [CLOSED] Gorgon Halo: Maya-S MTP decode with cheaper drafts, a complete expert pool and RDNA3 GEMVs (after #76) #335

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

📋 Pull Request Information

Original PR: https://github.com/mw00/project-maya/pull/96
Author: @mw00
Created: 10/10/2026
Status: ❌ Closed

Base: mtp-rework ← Head: gorgon-halo-maya-s


📝 Commits (7)

  • 3c33cc3 MTP: cheaper drafts - a draft-vocabulary head, chained drafts, a start-and-climb length search
  • 58fc153 GLM fast path: a complete expert pool where the budget holds every expert
  • 2cc2c3c HIP: RDNA3 dense GEMV for mv / mv_rows (Q6_K + BF16 in one launch, bit-exact)
  • c11c756 MTP: the length search weighs the recent text's acceptance (STRATA_GLM_MTP_ACC_WINDOW)
  • 9f528af Merge branch 'w5-draft-head' into int1
  • d1d0a7c Merge branch 'w6-mv-kernels' into int1
  • 3486f6d bench: Maya-S on Gorgon Halo (Radeon 8065S) - the MTP decode with a complete pool, cheaper drafts and RDNA3 GEMVs

📊 Changes

18 files changed (+1448 additions, -100 deletions)

View changed files

📝 CMakeLists.txt (+6 -0)
📝 README.md (+6 -1)
➕ bench/results/2026-10-10-gorgon-halo-maya-s/README.md (+62 -0)
📝 docs/GLM-MTP.md (+64 -8)
📝 include/strata/artifact/gguf_reader.hpp (+24 -3)
📝 include/strata/core/glm_model.hpp (+15 -4)
📝 include/strata/kernels/glm_expert_bench.hpp (+9 -0)
📝 include/strata/kernels/glm_fast.hpp (+6 -2)
📝 src/core/glm_fast_path.cu (+125 -33)
📝 src/core/glm_fast_state.hpp (+85 -0)
📝 src/core/glm_layer_graphs.hpp (+3 -1)
📝 src/core/glm_memory.hpp (+17 -1)
📝 src/core/glm_model.cu (+1 -0)
📝 src/core/glm_mtp.cu (+335 -39)
📝 src/core/glm_prefill.cu (+28 -1)
📝 src/kernels/cuda/glm_fast.cu (+336 -7)
📝 tests/glm_memory_test.cpp (+17 -0)
➕ tests/hip/glm_mv_bench.cu (+309 -0)

📄 Description

The Gorgon Halo work on Maya-S, stacked on the MTP rework (#76): it changes src/core/glm_mtp.cu, which only exists there. It merges after #76. The RDNA3 GEMV's single-row part ships on its own in #95.

What it adds on top of #76

  • Cheaper drafts: a draft-vocabulary head, chained drafts, and a start-and-climb search for the draft length.
  • The draft length follows the recent acceptance: STRATA_GLM_MTP_ACC_WINDOW.
  • A complete expert pool: where the budget holds every expert, the pool takes all of them.
  • The RDNA3 dense GEMV for the verify window's rows (mv_rows), the multi-row half of #95's kernel.
  • The benchmark write-up: bench/results/2026-10-10-gorgon-halo-maya-s/README.md.

Measured

Radeon 8065S (Gorgon Halo), Maya-S:

before after
sustained decode: 2x4096 tokens + 2048 after a 16K prompt (tok/s) 17.92 23.81
256-token answers (tok/s) 18.93 28.55

Prompts are unchanged.

Checks

  • Exactness: 10,240 identical tokens with drafting on and off.
  • The draft-length sweep, 1 to 7.

Before merging

  • #76 merges first; then this PR is rebased on main.
  • It carries #95's commit (the RDNA3 GEMV) in its own form, so the rebase keeps #95's version of mv_rdna_device() (gfx115x by default) and adds the mv_rows hook back.
  • Then the release checks: the NVIDIA build, tokens and decode on 1 and 2 GPUs, and the server end to end.

🔄 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/96 **Author:** [@mw00](https://github.com/mw00) **Created:** 10/10/2026 **Status:** ❌ Closed **Base:** `mtp-rework` ← **Head:** `gorgon-halo-maya-s` --- ### 📝 Commits (7) - [`3c33cc3`](https://github.com/mw00/project-maya/commit/3c33cc301f89b5339bf4a2e573b5a0311ea44605) MTP: cheaper drafts - a draft-vocabulary head, chained drafts, a start-and-climb length search - [`58fc153`](https://github.com/mw00/project-maya/commit/58fc153e76869e0269d1abcbf324160dd585586e) GLM fast path: a complete expert pool where the budget holds every expert - [`2cc2c3c`](https://github.com/mw00/project-maya/commit/2cc2c3ce004b3124b7c7cb05fbcdcb4a3250a29b) HIP: RDNA3 dense GEMV for mv / mv_rows (Q6_K + BF16 in one launch, bit-exact) - [`c11c756`](https://github.com/mw00/project-maya/commit/c11c756a08b5bc611e8a27893fd958090b1138a2) MTP: the length search weighs the recent text's acceptance (STRATA_GLM_MTP_ACC_WINDOW) - [`9f528af`](https://github.com/mw00/project-maya/commit/9f528af28be67cb55edc20ef42bb4d8001d62f86) Merge branch 'w5-draft-head' into int1 - [`d1d0a7c`](https://github.com/mw00/project-maya/commit/d1d0a7ce2b89f4660724b5ba36304fc409725bc7) Merge branch 'w6-mv-kernels' into int1 - [`3486f6d`](https://github.com/mw00/project-maya/commit/3486f6d9c1c67fe2998601cc906a8ea5b4746fbe) bench: Maya-S on Gorgon Halo (Radeon 8065S) - the MTP decode with a complete pool, cheaper drafts and RDNA3 GEMVs ### 📊 Changes **18 files changed** (+1448 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+6 -0) 📝 `README.md` (+6 -1) ➕ `bench/results/2026-10-10-gorgon-halo-maya-s/README.md` (+62 -0) 📝 `docs/GLM-MTP.md` (+64 -8) 📝 `include/strata/artifact/gguf_reader.hpp` (+24 -3) 📝 `include/strata/core/glm_model.hpp` (+15 -4) 📝 `include/strata/kernels/glm_expert_bench.hpp` (+9 -0) 📝 `include/strata/kernels/glm_fast.hpp` (+6 -2) 📝 `src/core/glm_fast_path.cu` (+125 -33) 📝 `src/core/glm_fast_state.hpp` (+85 -0) 📝 `src/core/glm_layer_graphs.hpp` (+3 -1) 📝 `src/core/glm_memory.hpp` (+17 -1) 📝 `src/core/glm_model.cu` (+1 -0) 📝 `src/core/glm_mtp.cu` (+335 -39) 📝 `src/core/glm_prefill.cu` (+28 -1) 📝 `src/kernels/cuda/glm_fast.cu` (+336 -7) 📝 `tests/glm_memory_test.cpp` (+17 -0) ➕ `tests/hip/glm_mv_bench.cu` (+309 -0) </details> ### 📄 Description The Gorgon Halo work on Maya-S, stacked on the MTP rework (#76): it changes `src/core/glm_mtp.cu`, which only exists there. It merges after #76. The RDNA3 GEMV's single-row part ships on its own in #95. ## What it adds on top of #76 - **Cheaper drafts:** a draft-vocabulary head, chained drafts, and a start-and-climb search for the draft length. - **The draft length follows the recent acceptance:** `STRATA_GLM_MTP_ACC_WINDOW`. - **A complete expert pool:** where the budget holds every expert, the pool takes all of them. - **The RDNA3 dense GEMV for the verify window's rows** (`mv_rows`), the multi-row half of #95's kernel. - **The benchmark write-up:** `bench/results/2026-10-10-gorgon-halo-maya-s/README.md`. ## Measured Radeon 8065S (Gorgon Halo), Maya-S: | | before | after | |---|---:|---:| | sustained decode: 2x4096 tokens + 2048 after a 16K prompt (tok/s) | 17.92 | 23.81 | | 256-token answers (tok/s) | 18.93 | 28.55 | Prompts are unchanged. ## Checks - Exactness: 10,240 identical tokens with drafting on and off. - The draft-length sweep, 1 to 7. ## Before merging - #76 merges first; then this PR is rebased on main. - It carries #95's commit (the RDNA3 GEMV) in its own form, so the rebase keeps #95's version of `mv_rdna_device()` (gfx115x by default) and adds the `mv_rows` hook back. - Then the release checks: the NVIDIA build, tokens and decode on 1 and 2 GPUs, and the server end to end. --- <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:19 +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#335
No description provided.