mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #629] [CLOSED] ds4: opt-in vector helper input reads (2.8–4.2× faster copies) #636
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#636
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/629
Author: @LostVector
Created: 10/28/2026
Status: ❌ Closed
Base:
main← Head:experiment/p2p-helper-exchange-20261028📝 Commits (2)
1bdf5adPrototype optional vector helper activation loads with operator evidence558a77cRecord exact helper-input model checks and bounded decode observations📊 Changes
10 files changed (+1207 additions, -6 deletions)
View changed files
📝
CMakeLists.txt(+4 -0)➕
bench/experiments/ds4_helper_input_20261028.json(+519 -0)➕
bench/experiments/ds4_helper_input_20261028.md(+19 -0)➕
bench/experiments/ds4_helper_input_runtime_20261028.json(+517 -0)➕
bench/experiments/ds4_helper_input_runtime_20261028.md(+15 -0)📝
docs/SETTINGS.md(+1 -0)📝
src/ds4/ds4_kernels.cu(+13 -4)📝
src/ds4/ds4_kernels.cuh(+3 -1)📝
src/ds4/ds4_model.cu(+3 -1)➕
tests/ds4_helper_input_probe.cu(+113 -0)📄 Description
The helper GPU's activation-copy stage got 2.8–4.2× faster by reading four floats at a time from the existing host mailbox. A bounded MTP model screen observed only +0.31% coding, +0.15% async and +0.24% long-context decode throughput. Those small model observations are comparable to some control drift; this is not a general decode-speedup claim.
MAYA_DS4_HELPER_INPUT_VEC=1opts into aligned float4 reads using the existing fresh-load helper. Other widths/alignments keep scalar reads. Default is off. It adds no VRAM or new transfer protocol, and preserves route metadata, acknowledgement, expert math, CPU/helper addition order and fallback.Validation:
ds4_helper_input_probetarget built and passed another 1,512 dynamic checks.Scope: model tests are a private backport onto the optimized serving snapshot, not a fresh model run of this public current-base engine. They use fixed startup placements, TP2 on two R9700s, helper/DSpark on a third, MTP 5/confidence 0.65 and CPU 8. Private switches drain helper jobs and stream before changing mode. No extra allocation/cache-capacity tradeoff. Original serving was independently restored and remains unchanged.
Remaining validation includes current-base model startup/performance, normal adaptive-cache serving, temperature 1/sampled drafting and CUDA/other hardware. No extended replay or default promotion is proposed solely from this small screen.
bench/experiments/ds4_helper_input_runtime_20261028.{md,json}includes individual blocks, request fingerprints, work counts and limitations; the operator checkpoint remains separate.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.