[PR #456] [CLOSED] GLM fast path: the stage profiler splits the indexer's score from its top-k select, and MLA into its three steps #534

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

📋 Pull Request Information

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

Base: main ← Head: pr/glm-prof-marks-v1126


📝 Commits (1)

  • 70c3684 GLM fast path: the stage profiler splits the indexer's score from its top-k select and MLA into its three steps

📊 Changes

3 files changed (+26 additions, -6 deletions)

View changed files

📝 include/strata/kernels/glm_fast.hpp (+8 -1)
📝 src/core/glm_fast_path.cu (+8 -4)
📝 src/kernels/cuda/glm_fast.cu (+10 -1)

📄 Description

What. With MAYA_GLM_PROF the decode's stage table showed dsa_score_select and mla as one row each. They are
now dsa_score, dsa_select and mla_q_abs, mla_attend, mla_out - the indexer's scoring grows with the context,
its selection does not, so the split shows where a long context's time goes. Profiling only; nothing else changes.

Changes. src/core/glm_fast_path.cu, src/kernels/cuda/glm_fast.cu, include/strata/kernels/glm_fast.hpp.

Verified. Maya-M, 2x RX 7900 XTX: every part's table carries the five rows and neither grouped one (at the 130K
prompt: dsa_score 1.28 / 1.36, dsa_select 0.48 / 0.53, mla_attend 1.03 / 1.10 ms a token per part, before the
take-two kernels of PR D).

🤖 Generated with Claude Code


🔄 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/456 **Author:** [@pepuscz](https://github.com/pepuscz) **Created:** 10/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr/glm-prof-marks-v1126` --- ### 📝 Commits (1) - [`70c3684`](https://github.com/mw00/project-maya/commit/70c368470332bdeb9e581709efd464ce03282479) GLM fast path: the stage profiler splits the indexer's score from its top-k select and MLA into its three steps ### 📊 Changes **3 files changed** (+26 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `include/strata/kernels/glm_fast.hpp` (+8 -1) 📝 `src/core/glm_fast_path.cu` (+8 -4) 📝 `src/kernels/cuda/glm_fast.cu` (+10 -1) </details> ### 📄 Description **What.** With `MAYA_GLM_PROF` the decode's stage table showed `dsa_score_select` and `mla` as one row each. They are now `dsa_score`, `dsa_select` and `mla_q_abs`, `mla_attend`, `mla_out` - the indexer's scoring grows with the context, its selection does not, so the split shows where a long context's time goes. Profiling only; nothing else changes. **Changes.** `src/core/glm_fast_path.cu`, `src/kernels/cuda/glm_fast.cu`, `include/strata/kernels/glm_fast.hpp`. **Verified.** Maya-M, 2x RX 7900 XTX: every part's table carries the five rows and neither grouped one (at the 130K prompt: dsa_score 1.28 / 1.36, dsa_select 0.48 / 0.53, mla_attend 1.03 / 1.10 ms a token per part, before the take-two kernels of PR D). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:26:32 +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#534
No description provided.