mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #31] [MERGED] Speculative decode on more than two GPUs #290
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#290
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/31
Author: @ksanislo
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @mw00
Base:
main← Head:multi-gpu-spec📝 Commits (1)
5ad06acglm spec: the pipelined speculative decode on a split of more than two parts (head/tail groups)📊 Changes
5 files changed (+130 additions, -35 deletions)
View changed files
📝
README.md(+3 -2)📝
include/strata/core/glm_model.hpp(+7 -0)📝
maya.py(+1 -2)📝
src/core/glm_fast_path.cu(+118 -30)📝
src/core/glm_model.cu(+1 -1)📄 Description
On 3+ GPUs the NextN block is not loaded and
spec_ready()needs exactly two parts, so decode runs every GPU in turn with no drafting.STRATA_GLM_SPEC_HEADsets the head group's size (default: half).Measured - 4x Tesla T4, Maya-S, 32K,
maya.py --bench, v1.0.16 + this branch, interleaved:STRATA_GLM_NO_MTP=1)+49% decode, prefill unchanged. Parity and server tests pass. Greedy output varies run to run here with or without this change (prompt-path expert placement). bench + report attached.
Not tested: AMD, more than 4 GPUs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.