mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
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#349
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?
📋 Pull Request Information
Original PR: https://github.com/mw00/project-maya/pull/117
Author: @boxwrench
Created: 10/11/2026
Status: ❌ Closed
Base:
gorgon-halo-maya-s← Head:perf/pr96-mla-rows📝 Commits (1)
0fe19d6glm: read the absorbed MLA weights once per verify window📊 Changes
6 files changed (+245 additions, -7 deletions)
View changed files
📝
CMakeLists.txt(+7 -0)📝
include/strata/kernels/glm_fast.hpp(+9 -0)📝
src/core/glm_fast_state.hpp(+1 -1)📝
src/core/glm_mtp.cu(+16 -3)📝
src/kernels/cuda/glm_fast.cu(+103 -3)➕
src/kernels/glm_mla_rows_test.cpp(+109 -0)📄 Description
Follow-up to #96. Based on its branch (
gorgon-halo-maya-sat3486f6d), so the diff is only this change.The verify window now reads
attn_k_bandattn_v_bonce for all of its rows. Each row keeps the one-token dot expression and reduction order. Selection and attention still run per row.On Strix Halo (gfx1151), the prototype of this change (d119b72) took a T=2 verify round from 78.13 to 75.61 ms (−2.52 ms). Logits and hidden states were byte-identical (1.6K prompt,
FIXED=1, 139 rounds). This PR contains only the MLA part of that prototype. The fused union MoE stays out.Tests
glm_mla_rows_test, registered twice (default attention andSTRATA_GLM_MLA_ATTN1=1), 48 cases each. It compares the k_b/v_b projections and complete per-rowmla()output byte for byte, over T=1..8, FP16/INT8 latent caches, padded strides, masked selections, zero queries and partial chunks.glm_mla_rows_test,glm_mla_rows_attn1_test,glm_layer_parityandglm_model_testpass on an R9700 and a 7900 XT.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.