mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +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#336
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/99
Author: @mw00
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @mw00
Base:
main← Head:issue-fixes-2📝 Commits (4)
2ef8fc8Fixes from the issues: pinned buffers before the RAM tier (#67), the CPU lane's timing by its median (#56), ZFS's ARC counted as free RAM (#89), the prefetch's settings said at start (#6)38e7c14Calibration: the disk reads' size (STRATA_GLM_READ_CHUNKS) measured too when part of the model is on the SSD (#67)992da2aCPU lane timing: the fastest of five spread rounds' medians (a burst of other work covered a whole round's runs)8c7511aMerge remote-tracking branch 'origin/main' into issue-fixes-2📊 Changes
12 files changed (+285 additions, -54 deletions)
View changed files
📝
README.md(+5 -3)📝
include/strata/core/glm_model.hpp(+4 -0)📝
maya.py(+26 -6)📝
serve/server.py(+3 -0)📝
serve/test_server.py(+7 -0)📝
src/core/glm_fast_path.cu(+108 -36)📝
src/core/glm_fast_state.hpp(+6 -0)📝
src/core/glm_prefill.cu(+3 -2)📝
src/program/generate.cpp(+3 -0)📝
tools/calibrate_glm.py(+49 -7)📝
tools/test_calibrate_glm.py(+48 -0)📝
tools/test_maya_models.py(+23 -0)📄 Description
Fixes and improvements from the open issues, each small and tested on our machines.
What changes
pinned disk staging did not allocate: the driver's pinning cap was reached by the tier, and the small pinned buffers after it could not get any.--calibratealso measures the disk reads' size.STRATA_GLM_READ_CHUNKSpieces (8).strata_tunekey,read_chunks, that the server passes on.c_min). The engine log says so when it does.STRATA_GLM_PREFETCH_Nand its three settings were read once and shown nowhere. The log now has one line, and it says whenPREFETCH_Nabove 2 was read as 2.STRATA_GLM_READ_CHUNKS, the tuning paragraph names it, and the prefetch row says the cap.Checks
On 1x Tesla V100 (Uranus, Maya-S), against v1.0.32:
The CPU lane's timing over starts (an expert's ms on the CPU; the usual 0.32):
The load test is much harsher than a desktop's background work; the worst start goes from 3x the true time to 1.6x.
Also:
tools/test_maya_models.py(21, with 2 new for the ZFS reading) andtools/test_calibrate_glm.py(20, with 4 new for the disk reads' size) pass;On 2x Tesla V100 (Mercury, Maya-M-Derisked, ~13 expert reads a token from the SSD), against v1.0.32, alone and merged with #93 and #94:
A real
tools/calibrate_glm.pyrun (20 minutes) went through its new step. 4 pieces measured level with 8 (11.31 against 11.27 tok/s), and 2 looked faster once (11.95). In the interleaved re-measurement 2 did not beat 8 (10.0 / 11.4 / 11.2 against 11.4 / 11.3 / 11.5), so 8 stayed, as the hand sweep found on this drive.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.