Repository navigation
Conversation
ashhart
force-pushed
the
lead/k31-serving
branch
from
November 5, 2026 07:20
859c1d4 to
f436eca
Compare
4 tasks done
ashhart
force-pushed
the
lead/k31-serving
branch
2 times, most recently
from
November 5, 2026 10:00
ef880b0 to
dadb396
Compare
…ulas Uncompiled and incomplete Stage 2 draft. The score, normalization, ordering and visibility rules are explicit assumptions adapted from our own GLM and DeepSeek code. The native 2047-token ceiling is unchanged. No real weights, no model reference, no full-model run.
… admission Uncompiled Stage 2 source only. Keep the native 2047-token cap and the dense short-prefix arithmetic. Own separate BF16 index planes and scratch, include them in snapshots, residency and budget accounting, and expose the longer selected-attention operators for later synthetic gates. No real weights, no model reference, no full-model run.
Retain the original ReleaseFast contract crash and rerun unchanged numerical gates and controls. No arithmetic, bounds, fills or registered shapes change.
A near-constant BF16 row exposes loss of its small mean offset after normalization. Restore the default 100x stress thresholds and plant both FP16 and BF16 shuffle-sum controls. Arithmetic, numerical bounds and served random shapes are unchanged.
ashhart
force-pushed
the
lead/k31-index
branch
from
November 5, 2026 11:22
6ca3bde to
3a9b17a
Compare
5 of 8 tasks
Owner
Author
|
Parking this draft. Its six semantic assumptions about the K3.1 index, score and top-k operators need a K3.1 model-forward reference to check against, and none exists yet. The branch
|
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, experimental, and stacked on #2221. Refs #2192. Candidate Metal key, score and top-k operators for K3.1's Gated DSA layers, with selected absorbed MLA and merge. Index storage and exact snapshots live in the family adapter. The native 2047-token cap is unchanged: only an internal cut-down synthetic diagnostic can exercise longer contexts, and the complete release geometry can't enable it. No lane or lane-host scheduling change.
No real weights, no K3.1 model-forward reference and no full-model run. These are candidate semantics inferred from our own GLM and DeepSeek operators, not confirmed K3.1 facts, so they can't qualify long-context output. Stays in draft until a reference settles the list below.
Assumptions that need a K3.1 model-forward reference
Checks on this head
Zig 0.17.0, Metal on an M5 GPU. Synthetic weights keep the real widths, with reduced layers, experts and vocabulary.
--only/--no-limitsrun on M5, not the full Metal qualification; M1-M4 are unchecked.Not checked: decode and prompt throughput, quality, the full global contract, other chips. The complete released model doesn't run on one Mac through this resident adapter.