Skip to content

train 1120115145: #3602 #4003 (CI only) - #4199

Closed
ashhart wants to merge 10 commits into
mainfrom
lead/train-1120115145
Closed

ashhart wants to merge 10 commits into
mainfrom
lead/train-1120115145

Conversation

@ashhart

@ashhart ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

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.

Nipale-ai and others added 10 commits November 20, 2026 11:51
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.
@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Landed: #3602 #4003 as main 5ee0961. This PR only carried their CI.

@ashhart ashhart closed this Nov 20, 2026
@ashhart
ashhart deleted the lead/train-1120115145 branch November 20, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants