Repository navigation
Conversation
… on main's attention Geometry
…hs (512 experts' rows over 2,048)
… float64 forward One stage vocabulary (families/qwen3_5/stages.zig): the residual stream after the embedding and after each layer's mixer and MLP, then final (the normed rows the head reads, not the residual) and the logits. tools/zig/qwen36_stage_ref.py measures each against float64 of the checkpoint's exact weights; a non-unit final norm fixture refuses a residual labelled final.
…, as the recorder allows While stages record, the last layer counts as tapped, so main's keys-only last layer stays off and the recorded stream and final are real rows. The stage hook (planes and glue) and the admit check move into stage_planes.zig, so the runner needs no forwarding function, and planes.end runs after the round is committed, so a recorder error leaves the runner consistent.
…16 query heads over 2
The A3B config in qwen27/config_test.zig is a new real config: Metal's 27B and HIP admit it, as main's rules did; the 2B, CUDA and XPU keep their refusal. The stage reference test needs mlx, which CI does not install.
… refuses the 35B-A3B
… layer read on main's prompt tail facts
Owner
Author
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.
CI for a landing train: #3239 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.