Repository navigation
Conversation
This was referenced Oct 29, 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.
Stack from ghstack (oldest at bottom):
Why
Since #5468, a rank can compute several chunks of one parameter, packed into one compute tensor. No test runs
step()on that path: the CPU schedule test checks plan structure only, and no GPU test packs. A mismatch between the planner's packing order and the offsets DistMuon uses for its Newton-Schulz views would make Newton-Schulz run on the wrong rows, with no error, and still pass every existing test.What changed
test_shared_bucket_matches_per_parameter_buckets. It adds a compute-ready (3, 64, 64) parameter that only ranks 0-2 hold, so their fixed work pushes every other parameter's chunks onto rank 3. It also adds aBlockShard(dim=0, block_sizes=(4, 2))parameter, so the packed chunks have different shapes.a,b,candblocksreally pack onto rank 3 before comparing results, so it can't silently stop covering packing if placement changes.Testing
layers.0.blocks. With equal-shaped chunks it would not catch that, which is why the blocks alternate 4 and 2 rows.This PR was drafted with an AI assistant (Claude Code).