Conversation
…ons and optimizations - init: Initialize layer norm state with phi-optimized parameters - forward: Compute layer normalization with proper mean/variance calculation - forward_strand: Strand-local forward pass with phi offsets - backward: Compute gradients using proper backpropagation formulas - backward_strand: Strand-local backward pass - update: Update parameters using gradient descent - normalize_vector: Utility function for vector normalization - phi_init_gamma: Initialize gamma with phi-based pattern - phi_init_beta: Initialize beta with phi-based pattern - phi_normalize: Phi-optimized normalization with reduced numerical error - create_strands: Create 3 strands for parallel processing All functions include proper error handling and maintain existing test structure. Closes #3727
gHashTag
enabled auto-merge
September 17, 2026 07:05
This was referenced Sep 17, 2026
Merged
This was referenced Sep 17, 2026
Owner
Author
|
Superseded by #4289, which takes this branch's version of This pull request could not merge - The work is yours; the branch is just no longer the way it lands. |
auto-merge was automatically disabled
September 20, 2026 05:17
Pull request was closed
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.
Closes #3727
Opened from the bee branch
queen-3727, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:specs/ml/transformer/norm.t27The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.