Skip to content

cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) - #2919

Merged
ashhart merged 19 commits into
ashhart:mainfrom
laudney:tp-t1b-pr
Nov 23, 2026
Merged

ashhart merged 19 commits into
ashhart:mainfrom
laudney:tp-t1b-pr

Conversation

@laudney

@laudney laudney commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

T1b of #2560: GLM, MiniMax and Nemotron take their place from one resolved launch, so each takes --tp, --rank, --master and --master-port, and their TF_*_RANK/TF_*_WORLD become aliases. Every launch that works on main serves the same tokens.

2 × GB10, TP=2, every cell from fresh servers main by aliases this stack by aliases by flags by both
GLM-5.3-Flash NVFP4: bench_concurrent.py --levels 1,4 --alone --serial and bench_cache.py at 4,096 tokens, token_sha256 reference equal equal (3 runs) equal
GLM speed, three runs a side (#2722's rule) reference 0 cells slower
MiniMax-M3.1-Flash EXL3 (Mia-AiLab/...-3.06-bpw @ c33e7a66): concurrent and cache rows reference equal equal
Flash Next NVFP4 (no aliases; flags on both refs): 30 concurrent rows reference (flags) equal
Qwen3.5-9B MLX 4-bit, 2 × gfx1201, --tp 2: reply, token hash, start-up reference equal

What this changes

Checks on this head

  • Head commit: 65d790c98 (on fabric/mesh: one launch description, --tp up to 64 and the rank aliases (T1a of #2560) #2917's 3418de55a, base main 3d42a462f). The rebase keeps cuda/roce: the one-shot RoCE all-gather at any world (mesh), and the DFlash2 drafter MLP split across every rank #2205's rules and gives them the resolved world: ownRoce(set, p.world) decides the group's own RoCE path, and wirePieces(&set, p.world, ...) takes the 8-piece solo rule at three ranks or more from wireOpens, so --tp 3 and TF_GLM_WORLD=3 behave alike; the tools keep TF_GLM_WORLD through toolPieces.
  • Lean checker, merged with main 41a72fd25: 341 on main and 338 merged, 0 new.
  • Tests: zig build test test-golden test-cuda-host pass on the head; zig build test test-cuda-host compile-cuda-tests pass on the merge with main 41a72fd25; compile-cuda-tests and tf-minimax-cuda build; -Dfixed-cpu test-gradient-serving, test-environment-host, test-native-options-host, test-glm-tp3-host and test-tp-id-host pass. Every pin in gradient-serving.tsv matches on the merge. New tests each fail when planted.
  • CI: pending.
  • Not run: Nemotron's TP=2 token comparison (the GB10 pair holds Nemotron-3-Super-120B-A12B-NVFP4, which main and this stack both refuse at load with UnexpectedTensor, after every rank agreed on the same model and shares; the recipe's 3.5 Super VL is not on the pair): covered by host tests of resolution, admission and worker routing. GLM at TP=3 and TP=4 (three and four GB10s): outstanding.

Receipt

  • Environment: Zig 0.17.0; CUDA 13.4; NCCL 2.30; 2 × GB10 (sm_121, driver 580.178.04), one 200 GbE RoCE link; HIP: ROCm 10.1 (HIP 7.16), 2 × gfx1201. Checkpoints: nvidia/GLM-5.3-Flash-NVFP4 @ 1d00738646cbb0c6d0a9eb403dac5f366f1473a7, nvidia/Qwen3.8-Flash-Next-NVFP4 @ fc694b54fb0174e0913e6adf86691ef85a4ead47, Mia-AiLab/MiniMax-M3.1-Flash-EXL3-EAQ-v1-3.06-bpw @ c33e7a6619f0f12ac99098e07ec5e56acb7eeda9, mlx-community/Qwen3.5-9B-4bit.
  • Measured head: laudney:tp-t1-measured (2ad0905bb, base 14dea6c6a): cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) #2919's earlier head c0d777b34 without its last commit (MiniMax's refusal texts) plus glm cuda: abort the communicator through its owner (T1c of #2560) #2918's earlier 73b8248f3, the same code tree as the cells ran on. Since then: the rebase onto GLM on CUDA: under TF_GLM_LAYERS the start-up memory check counts the tensors the load reads (#2745) #2788 and the review fixes (refusal texts, admission's place check); no served path's bytes change.
  • Exactness: token_sha256 of every request equals main's, by aliases, flags and both; each 4,096-token prompt file made with its checkpoint's tokenizer. MiniMax's cache cell is not "qualified" on main either (its prompt cache keeps no /v1/completions prompt), so reuse is not exercised for MiniMax; its 7 rows still carry one hash on all three launches.

GLM, main by aliases against this stack by flags (--context 34816 --parallel 4, TF_GLM_PROMPT_TAIL=1):

Cell (glm) main-alias head-flags head vs main main range verdict
cache4k cold ttft_s 5.86 / 3.12 / 3.17 3.45 / 3.12 / 3.13 -20.13% 67.60% within
concurrent t=0.0 n=1 aggregate tok/s 34.20 / 38.20 / 36.30 36.20 / 37.10 / 34.50 -0.83% 11.04% within
concurrent t=0.0 n=4 aggregate tok/s 57.30 / 57.40 / 60.40 58.10 / 59.60 / 60.40 +1.71% 5.31% within
concurrent t=1.0 n=1 aggregate tok/s 29.90 / 32.40 / 33.60 29.90 / 34.10 / 34.20 +2.40% 11.57% within
concurrent t=1.0 n=4 aggregate tok/s 49.10 / 51.20 / 51.70 50.40 / 51.00 / 47.70 -1.91% 5.13% within

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.
  • Every token still goes through the lane rounds. No serial path, and nothing that needs drafts off.
  • Drafted output equals "draft": false, a resumed prompt equals a fresh one, and concurrent equals solo.
  • No precision traded for speed. If the bits change, the description says which sums change and why.
  • Decode and prompt processing are no slower than main at one stream and the widest admitted (GLM: checked, three runs a side); with --drafter: not run, no drafter path changes.

@ashhart

ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney. Resolving once at the top of openWith, and passing the resolved place down to admission, vision and each family's open, is the right cut, and it keeps every TP=2 place exactly as before. Asks before it can land:

  1. It no longer merges with main. GLM on CUDA: under TF_GLM_LAYERS the start-up memory check counts the tensors the load reads (#2745) #2788 gave every weightShare a drafts argument and made GLM's count the tensors a TF_GLM_LAYERS thin load reads (cuda_thin_bytes.count). Since GLM's weightShare moves to glm/cuda_native_place.zig:23 here, please carry that count and drafts into it, and add drafts beside rank, world in minimax_m3/cuda_native.zig:123, nemotron/cuda_native_omni.zig:42 and native/cuda_family_memory.zig:59, so GLM on CUDA: under TF_GLM_LAYERS the start-up memory check counts the tensors the load reads (#2745) #2788's test passes on the moved function.
  2. native/cuda_launch.zig:27 returns early for families without aliases, so a lone --rank 1 on Flash Next reaches memory admission and exits with error.BadRank (details on fabric/mesh: one launch description, --tp up to 64 and the rank aliases (T1a of #2560) #2917). Please run mesh.launch.resolve's flag checks for those families too, keeping their request unchanged, which gives back main's "argument --rank: 1 is not below --tp 1". Please add a host test for it.
  3. Some refusal texts show values that weren't given. cuda_launch.zig:70-71 print o.tp/o.rank, so --rank 2 with TF_GLM_WORLD=2 TF_GLM_RANK=2 says "not below --tp 1", and --rank 1 against an alias pair says "--tp 1 --rank 1 differ". Please name only the flags given and the alias's world. In cuda/rendezvous.zig:10, a --master too long for the buffer comes back as "NCCL_COMM_ID differs"; it should get its own refusal.
  4. The retirement release, as on fabric/mesh: one launch description, --tp up to 64 and the rank aliases (T1a of #2560) #2917: one release per Roadmap: one N-rank layer for TP, PP and EP, shared by every family #2560's 4a, held in one constant, so the four recipes saying "until 1.4.0" follow it.
  5. The receipt's head 607697c36 isn't reachable from your fork or ours. After the rebase, please push the stacked head the cells ran on, or say which PR heads it's made of. Nemotron at TP=2 hasn't run anywhere yet. Once the above is in, we'll repeat GLM at TP=2 by aliases and by flags on our two GB10s against main, and run Nemotron 3.5 Super VL at TP=2 by both forms.

wirePieces now takes the launch's world, so a TP=3 check with TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 is the one setting where the moved rule acts. @Bizuayeu offered three- and four-GB10 rings on #2560, and a token-hash run there on the rebased head would close it.

  • Synthena (Ash's Agent)

@laudney

laudney commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart thanks, all in (head c964d0d35, on #2917's 0258f7b87):

  1. Rebased onto GLM on CUDA: under TF_GLM_LAYERS the start-up memory check counts the tensors the load reads (#2745) #2788: GLM's moved weightShare (glm/cuda_native_place.zig) keeps the TF_GLM_LAYERS tensor count, and every weightShare takes drafts beside rank, world. Main's new Qwen3.5 tower (qwen3_5/cuda_bf16_bytes.zig) takes the rank too and counts on rank 0 only, the offer's rule before.
  2. fabric/mesh: one launch description, --tp up to 64 and the rank aliases (T1a of #2560) #2917's place check now runs right after the resolver, so a lone --rank 1 on Flash Next gives main's text and --tp 3 its own, with a host test there.
  3. Refusals name only what was given: --tp 2 differs from TF_GLM_WORLD=3, --rank 2 differs from TF_GLM_RANK=1, argument --rank: 2 is not below TF_GLM_WORLD=2 (worlds compared as numbers; --tp's default is named as such when it decides). A --master too long for NCCL's root is MasterTooLong, explained by GLM, MiniMax and Nemotron. Tests for each.
  4. The recipes leave the release to the start-up warning, which prints alias_retire.
  5. The cells ran on the tree at laudney:tp-t1-measured (2ad0905bb): cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) #2919's earlier c0d777b34 without its last commit (MiniMax's refusal texts) plus glm cuda: abort the communicator through its owner (T1c of #2560) #2918's earlier 73b8248f3; same code, checked by tree diff.

Thank you for running GLM by both forms and Nemotron 3.5 Super VL. I'll ask @Bizuayeu for the TP=3 TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 token-hash run on the rebased head once you're happy with it.

@ashhart

ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney, all five are in on c964d0d35, and it merges clean with today's main:

  1. GLM's moved weightShare (glm/cuda_native_place.zig:23-31) keeps GLM on CUDA: under TF_GLM_LAYERS the start-up memory check counts the tensors the load reads (#2745) #2788's TF_GLM_LAYERS count and drafts, and MiniMax, Nemotron and admission (native/cuda_family_memory.zig:59) pass drafts, rank, world. The Qwen3.5 tower's rank-0 rule matches main's gate.
  2. refusals.place right after the resolver (native/cuda.zig:178-179) gives Flash Next's lone --rank 1 main's text and --tp 3 its own, ahead of admission.
  3. The refusals name what was given, and MasterTooLong has its own text in each family.
  4. The release lives in alias_retire, which the warning prints.
  5. We fetched tp-t1-measured: its tree is exactly 28c3de554 merged with 73b8248f3, as you said.

No asks. One optional touch-up if you push again for any other reason: with --tp 2 and an alias pair whose rank is 2, native/cuda_launch.zig:85-86 says "argument --rank: 2 is not below --tp 2", though the 2 came from TF_GLM_RANK. Naming the variable there, as the Disagree texts do, would match the rest.

Next on our side: once CI is green, we run GLM-5.3-Flash at TP=2 by aliases and by flags against main, and Nemotron 3.5 Super VL at TP=2 by both forms, on the rebased train. If those match, the train lands right after #2789. Please do ask @Bizuayeu for the TP=3 TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 token-hash run on this head.

  • Synthena (Ash's Agent)

@ashhart

ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

@laudney, #2789 landed tonight, and #2205 (shanedertrain's one-shot RoCE all-gather at any world) landed just before it. We rebased two of yours onto main without #2789's commits:

test-environment-host, test-native-options-host, test-glm-tp3-host and test-tp-id-host pass on both. Please reset your local branches to these.

#2919 needs you. Its refactor(cuda): place GLM from one resolved launch conflicts in zig/src/families/glm/cuda_ranks.zig with #2205's new ownRoce(s, world) and wireOpens(get). Those decide whether the group opens its own RoCE path and whether TF_GLM_ROCE_MULTI's wire opens, and wireOpens reads TF_GLM_WORLD directly. Your wirePieces/toolPieces take the world from the resolved launch instead. The merge should keep #2205's rules and feed them the resolved world, so --tp 3 and TF_GLM_WORLD=3 behave the same. Could you rebase #2919 onto #2917's new head with that? #2917 and #2919 then land together as one train.

  • Synthena (Ash's Agent)

@laudney

laudney commented Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart #2919 is rebased onto #2917's 3418de55a, as you asked on 11-11 (sorry for the delay). The head is 65d790c98, and it merges clean with today's main 41a72fd25.

change
glm/cuda_ranks.zig (your #2205 conflict) Your rules stay, fed the resolved world. ownRoce(set, p.world) decides the group's own RoCE path. wirePieces(&set, p.world, ...) takes over wireOpens' rule: the 8-piece solo rule at three ranks or more. So --tp 3 and TF_GLM_WORLD=3 behave alike. The tools keep TF_GLM_WORLD through toolPieces.
build/cuda_engines.zig Main's qwen3_cuda line kept beside the glm/mesh lines.
cuda_dense/native.zig (new on main) visionBytes takes rank, world and counts the tower on rank 0, like Flash Next and Qwen3.5. Without this, the CUDA host tests did not compile.
native/cuda.zig It was 602 lines merged with main. refusals.place now runs inside cuda_launch.resolve, in the same order (resolve, place, family refusals, admission).
alias_retire Now 1.3.1. 1.2.9 shipped without the flags, so 1.2.9 would refuse TF_GLM_WORLD and the other aliases as soon as this lands. The next release is 1.2.10 or 1.3.0, and 1.3.1 is the release after it in either case. Your 68c6d2dee is folded into this commit, because my push hook takes only my own commits. If you plan 1.2.10 next and want 1.2.11, I will change it.
gradient-serving.tsv Re-pins cuda/root.zig and flashnext/cuda_lanes.zig, which this PR changes.

On the head and on the merge with main: test, test-cuda-host and compile-cuda-tests pass; test-gradient-serving and your four host tests pass; lean shows 0 new. #2917 and #2919 can land together.

@ashhart

ashhart commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney for carrying the resolved-world RoCE rules and the current admission changes through. We will handle the remaining integration, changelog and CI, then run GLM by aliases and flags on our GB10 pair. The outstanding contributor-side item is the TP=3 multi-RoCE token comparison already discussed. We also need the qualified Nemotron checkpoint in place before promising that run.

  • Synthena

@laudney

laudney commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

@Bizuayeu, you offered on #2560 to run GLM's gate on three GB10s. Could you run the one TP=3 cell this PR changes? (@ashhart, sorry: I owed this ask since 11-11.)

Head this PR's latest head (now 65d790c98, on #2917's 3418de55a; use Synthena's head if their integration push moves it)
Base the main that head merges into
World TP=3, three GB10s, switchless ring
Settings TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 on every launch
Launches main by TF_GLM_WORLD=3 TF_GLM_RANK=r; the head by the same aliases; the head by --tp 3 --rank r --master HOST --master-port PORT
Cells token_sha256 from tools/bench_concurrent.py --levels 1,8 --alone --serial and tools/bench_cache.py at 4,096 tokens
Pass every hash equal across the three launches

Why this cell: wirePieces now takes the launch's resolved world, so its 8-piece solo-wire rule, which acts at three ranks or more, is the one place the moved rule changes; TP=2 never reaches it. Token hashes are enough; no speed cells are needed.

@ashhart noted: the Nemotron run waits for the qualified checkpoint, and I will not push to this branch while you integrate.

@Bizuayeu

Copy link
Copy Markdown
Contributor

Could you run the one TP=3 cell this PR changes?

#2919 (comment)

Yes. I'll run it today on three GB10s in the switchless ring and post the hashes here:

  • head 65d790c98 against the main it sits on (3d42a462f, its merge base), each built with an empty Zig cache;
  • the three launches as in your table, with TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 on every one, four starts of each, taken in turn;
  • XSFP4 as the checkpoint, the same in every start;
  • beside the hashes, rank 0's glm: a prompt chunk's exchanges in 8 row pieces line from every start, so the cell shows the rule acted in all three launches.

The boxes are free from about 09:30 UTC. If the integration push moves the head before then, I'll build and run that head instead.

@Bizuayeu

Copy link
Copy Markdown
Contributor

Could you run the one TP=3 cell this PR changes?

#2919 (comment)

Done. Every token_sha256 is equal across the three launches, in four starts of each.

Head 65d790c98
Base 3d42a462f, the head's merge base with main. #2917 is not in it, so base to head spans #2917 and this PR
World TP=3, three GB10s, switchless ring
Settings TF_GLM_ROCE_MULTI=1 TF_GLM_CHUNK_SOLO=4096 on every launch, TF_GLM_OVERLAP_PIECES unset, a 1,048,576-token context, 8 slots
Checkpoint XSFP4, the same in every start
Builds zig build native at each commit, each with an empty Zig global cache
Cells tools/bench_concurrent.py --levels 1,8 --alone --serial (temperatures 0 and 1.0, 256 tokens, 3 reps: 162 replies a start) and tools/bench_cache.py at 4,096 tokens (cold, then reused four times: 5 replies)
Starts 12, taken in turn: base by aliases, head by aliases, head by flags, four rounds

Result. Each of the 167 replies has one token_sha256 across all 12 starts. The tools' own checks passed in every start too: alone and serial 0 unequal and 0 failed, and the cache cell qualified.

The rule acted in every start. Rank 0 printed glm: a prompt chunk's exchanges in 8 row pieces once in each of the 12. In the four flag starts none of TF_GLM_WORLD, TF_GLM_RANK and NCCL_COMM_ID was in any rank's environment (read from each engine's process), and rank 0 still chose 8 pieces.

Launch Starts Rank 0's world line 8-piece line Replies equal
base, TF_GLM_WORLD=3 TF_GLM_RANK=r 4 glm: rank 0 of 3 sums through the group collective (RoCE gathers on) 4 of 4 167 of 167 in each
head, the same aliases 4 glm: rank 0 of 3 (TF_GLM_WORLD, an alias of --tp) sums through the group collective (RoCE gathers on) 4 of 4 167 of 167 in each
head, --tp 3 --rank r --master HOST --master-port PORT 4 glm: rank 0 of 3 (--tp) sums through the group collective (RoCE gathers on) 4 of 4 167 of 167 in each

The head by aliases also printed warning: TF_GLM_WORLD and TF_GLM_RANK are aliases of --tp and --rank until 1.3.1; launch with --tp 3 --rank 0. The expert form was factored in all 12 starts.

The 17 distinct values (first 16 hex digits), the same in all 12 starts

bench_concurrent.py: the level-8 cell's streams 0 to 7, each with its own prompt; the level-1 cell sends stream 0's prompt. Each value covers the concurrent, alone and serial replies of every rep.

Stream temperature 0 temperature 1.0
0 4b78602068ed7c19 981f5618806b25cc
1 a5aab7b29093b750 cfddc6d70d862d1b
2 ee8dafd4cc4ba643 b77489eaa39a2531
3 4f73b6c9d39dee66 eb3e0b6c7894a1fd
4 d5210e4072e26dfb e21dc4fdb9396e13
5 335235a84e28cf18 979bba4c4a861869
6 cff953a33bf2b385 a40b8e1a313efdf1
7 c189e3a9bcc63b80 fa2a9fba7ab20e80

bench_cache.py at 4,096 tokens (the first 4,096 tokens of base's CHANGELOG.md), cold and the four reused replies: 286a2d860e842efe.

No speed was counted. If the integration push changes the head's code, say so and I'll run the same cell on that head.

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thank you @laudney, and thanks to @Bizuayeu for the TP=3 run. Every reply hash matching across main by aliases, the head by aliases and the head by flags settles the last contributor-side item.

We will carry the recipe change through integration and run GLM by aliases and flags on our GB10 pair. The Nemotron run still waits for a qualified checkpoint, so we will not promise a date for it.

  • Synthena

@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney. To get this moving, we rebased it onto current main ourselves, keeping every one of your commits as it was (author and message) and fitting it to the code main has gained since; no behaviour changes. It is in the landing queue now, and if anything else is needed from you we will say so here.

  • Synthena

ashhart added a commit to laudney/TensorFold that referenced this pull request Nov 23, 2026
…ter main's cdbdc5a

Main's cdbdc5a added the Muse Spark CUDA family with a five-argument weightShare. The previous commit passes every
family's weightShare the resolved rank and tp, as ashhart#2919 does for MiniMax and Nemotron, so Muse Spark's takes the
two and ignores them, as theirs do. Nothing else changes.
ashhart and others added 19 commits November 23, 2026 22:11
GLM read its own TF_GLM_RANK and TF_GLM_WORLD in two places and
could not take --tp. The native CUDA layer now resolves the flags
and those aliases once, before admission and open; GLM takes --tp,
--rank and --master, keeps refusing an unplaced launch where it
always did, and the solo wire rule reads the resolved world.
…ter main's cdbdc5a

Main's cdbdc5a added the Muse Spark CUDA family with a five-argument weightShare. The previous commit passes every
family's weightShare the resolved rank and tp, as ashhart#2919 does for MiniMax and Nemotron, so Muse Spark's takes the
two and ignores them, as theirs do. Nothing else changes.
MiniMax read TF_MINIMAX_RANK and TF_MINIMAX_WORLD itself and refused
--tp. It now takes its place from the launch the native layer
resolves, shares GLM's --master rendezvous through the CUDA module,
and each family's vision bytes filter by its tower's rank, so the
last MiniMax rank still counts the tower; its dump tool keeps the
variables as its input.
Nemotron routed expert ranks by the text of TF_NEMOTRON_RANK and read
its place again in the engine, the worker and Omni's admission. The
server path now hands the resolved place to all of them and shares
the --master rendezvous; the tools keep TF_NEMOTRON_* as their input
through the unchanged latent.place.
GLM, MiniMax and Nemotron now take --tp, --rank, --master and
--master-port, so their recipes launch with those flags and say that
the per-family rank variables are aliases until 1.4.0, which refuses
them naming the flag. The examples keep their ports, so NCCL's root
and the liveness line stay where they were; receipts stay as run.
MiniMax's refusals still told users to set TF_MINIMAX_RANK and
TF_MINIMAX_WORLD, which become a refusal of their own from 1.4.0.
They now name --tp 2 and --rank, as GLM's and Nemotron's do.
The resolver's refusals printed the request's defaults beside the
values a launch gave, so a lone --rank against an alias pair read
"--tp 1 --rank 1 differ". They now name the flag given and the alias
value it meets, compare worlds as numbers, name --tp's default when
it decides, and a --master too long for NCCL's root is its own error.
The rank aliases retire one release after the flags first ship, a
release set at landing, so the recipes stop naming 1.4.0 and say the
start-up warning names the release that refuses them.
Main's new dense engine declared visionBytes(a, io, dir), while this
change has the vision offer call every family's visionBytes with the
resolved rank and world, so the CUDA host tests no longer compiled
after the rebase. The dense engine now takes rank and world and counts
its tower on rank 0, the rule Flash Next and Qwen3.5 already follow.
Merged with today's main, native/cuda.zig reached 602 lines, past the
600-line source bound. The family's place check (a rank inside its
world, a world the family serves) now runs in cuda_launch.resolve
right after the flags and aliases resolve, so openWith keeps one call
and the order stays resolve, place, family refusals, admission.
…abdf287

Main's abdf287 (dots.mocr's image tower with --vision) added a test that calls cuda_dense's visionBytes with three
arguments. This PR gives visionBytes the rank and the world, so the one-GPU test passes rank 0 of a world of 1, as
this PR's own tests do. Nothing else changes.
@ashhart
ashhart merged commit db8b0b8 into ashhart:main Nov 23, 2026
11 of 12 checks passed
ashhart added a commit that referenced this pull request Nov 23, 2026
…ter main's cdbdc5a

Main's cdbdc5a added the Muse Spark CUDA family with a five-argument weightShare. The previous commit passes every
family's weightShare the resolved rank and tp, as #2919 does for MiniMax and Nemotron, so Muse Spark's takes the
two and ignores them, as theirs do. Nothing else changes.
ashhart added a commit that referenced this pull request Nov 23, 2026
@ashhart

ashhart commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Thank you @laudney. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

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.

4 participants