Repository navigation
Conversation
Weight.pinnedColumns is columns with the parent's (sk, wk) fixed, so each column keeps the bits the whole matrix gives it. columns is unchanged.
Share.hidden is hidden over the world in 128-tiles, refused as NotOnTiles where it would leave them. o, out and the k part of mlp now say they are where a rank's part sits in the gathered input, not cuts of those weights.
…n, host only cuda_shard_plan.zig names, for the 27B's eleven EXL3 weights, which Share span cuts the output axis and the (sk, wk) every launch of the cut keeps: the whole weight's. Host tests pin both at worlds 1, 2 and 4 from exl3.planOf, and show which halves would plan their own.
…s bytes Every EXL3 weight of a pack, both ranks of a world of two, 1 to 1,536 rows, bf16 and fp32 outputs, finite and non-finite rows, and projection groups. The same columns planned on their own are run beside them.
Place qwen35-tp-cut's existing command description in main_usage.zig, where main moved the CUDA runner's help. Preserve every main entry and the incoming command description unchanged.
…uploads On GB10 each cuMemAlloc is rounded to 2 MiB: 2,000 x 1.18 MB uploads took 4.04 GiB against 2.24 GiB for one block of the same size (1.84x). A 512-expert EXL3 checkpoint has ~63k such tensors, so an 85 GiB pack needed ~150 GB and ran the machine out of memory. Uploader.slab (opt-in) carves uploads up to half its size, 256-byte aligned, from shared blocks; rollback forgets a released slab. pointers() reuses the device copy when projections name the same trellis bytes. Unset slab keeps the old behavior.
…t copy carve() returned straight from a failed b.upload, so rollback() or deinit() could free the slab while the copy was still writing it, and a newly opened empty slab stayed in bufs/slab_at/bytes. It now drains as DeviceBuffer.fromHost does, and a new slab is registered only once its first upload succeeds (else drained and freed). Wait-failure tests with slab != 0 check bad_frees == 0.
Owner
Author
|
CI wait on this tip (no result in 240 min); the PRs land the usual way. |
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: #3602 #4003 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.