Repository navigation
Conversation
9 tasks done
ashhart
force-pushed
the
lead/s234-glm-order
branch
from
November 5, 2026 20:31
77bbad9 to
e8ea6a6
Compare
8 tasks done
Owner
Author
|
The model-free gate ran on an M3 Ultra at this head (
Still to do before this leaves draft:
|
ashhart
force-pushed
the
lead/s234-glm-order
branch
from
November 10, 2026 20:23
e8ea6a6 to
888839d
Compare
Use shared SIMD projection strides and the chunk KDA recurrence for single-Mac pre-M5 runs. Keep MLA and expert operations on their window paths at every prompt cut, account for recurrence scratch before admission, and include the policy in saved-state identity. Add recording and independent FP64 reference gates, a model-free device check, resource declarations and the reply compatibility note. Refs #743.
ashhart
force-pushed
the
lead/s234-glm-order
branch
from
November 12, 2026 14:28
888839d to
a2b0943
Compare
This was referenced Nov 14, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft until its gates have run on an M3 Ultra. Refs #743.
GLM's pre-M5 prompt windows and chunks choose different projection and KDA sums, so changing a prompt's cuts can change greedy tokens (#743). This selects one standalone dense projection and KDA encoder for single-Mac Metal before the M5, and keeps MLA and both expert paths on their existing window operators at every cut. It accounts for the extra recurrence scratch before admission and includes the arithmetic policy in saved-state identity.
Plain and drafted replies from either older prompt mode may change once, including image turns. M5, paired-Mac and CUDA GLM retain their existing arithmetic. The shared SIMD input pitch defaults to contiguous addressing for existing callers. The changelog and native arithmetic note describe that scope.
Validation: actual dispatch recording tests and independent FP64 recurrence controls; caught/restored stride and stale-state faults; GLM window/kernel-contract tests; actual engine and device-gate compilation without Metal execution; plain Linux build; zero new lean findings. Two additional GLM scheduling/restore host targets fail with a missing core import on both this tree and the supplied base.
Device qualification is pending. The new model-free gate checks FP64 dense classes, projection cuts 1..17/33/2048, KDA state/tail bytes and partial replay, plus FP64 scan/post references at captured points. M1/M2 compiled resource limits, nonlinear prep, reporter-prompt equality, independent model fidelity, draft/resume/concurrency, memory and speed remain unqualified. Decode must not be slower; bounded MLA/MoE prompt work is a specific speed risk to measure. A 40-layer run diagnoses the executed prefix, not the full model's replies, fidelity, MTP acceptance, memory fit or speed.