Repository navigation
CUDA: include Thor in Linux release archives - #5053
Merged
ashhart merged 3 commits intoNov 26, 2026
Merged
Conversation
IF-YFXJ
marked this pull request as ready for review
November 26, 2026 02:31
Keep the device support fallback aligned with release_sms so the No GPU test-device checks see the same CUDA target set.
ashhart
force-pushed
the
feat/thor-multitarget-startup-admission
branch
from
November 26, 2026 23:19
e722599 to
23be713
Compare
Owner
|
Thank you @IF-YFXJ. 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. |
ashhart
added a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Nov 26, 2026
ashhart
added a commit
that referenced
this pull request
Nov 26, 2026
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.
What this changes
The Linux release archives embed SM110 SASS. The CUDA server applies the existing Qwen-only Thor admission rules to the device selected at startup. MOSS-Image and LFM2 use their fixed CUDA device zero for this check. Maintainer scope
main, branch merge base7bbb2e970959704ae87d0a8896a01fb8fa7d21ae.atc overlap --jsonwith ATC 0.9.6 on 2026-11-26 at 02:21 UTC againstmainat920fe22c97995d3dae9bed3e320f08aaa64c25ae. It found no overlaps in 20 local worktrees and reached its request time limit before completing the repository-wide scan. A scoped ATC pass also reached its time limit. Follow-upgit merge-treechecks found a clean merge withmainand with Qwen3.5: offload BF16 input embeddings to host RAM #5052, hy4_flash: FP8 Engram CUDA kernels, contract gates, controls, and 5-SM limits (slice 2b of #4795) #5087, hy4_flash: paged sparse indexer CUDA kernels, contracts, controls, and 5-SM limits #5095, hy4_flash: router, BF16 row helpers, and DFly2 glue CUDA kernels, contracts, and 5-SM limits #5099 and hy4_flash: paged absorbed MLA + C1/C2 CUDA kernels, contracts, and 5-SM limits #5109. The conflicts with kolibri1: serve Kolibri 1.1 (kolibri1_1) on CUDA up to 2,048 tokens, exact #4941 and Inkling-2-Mini: Serve on two GB10s with images and 1M context window #5059 also reproduce using the branch base without this PR. The Thor changelog entry falls inside an existing Inkling-2-Mini: Serve on two GB10s with images and 1M context window #5059 conflict hunk. No new conflict hunks were found in these seven checks.Checks on this head
e722599812367b8fbf40668e0d8d5c60aa521ec7.test-device,test-release-cuda-refusal-host,test-qwen35-sm110-host,test-cuda-driver-sm110-host,test-cuda-sm-host,check-native-cuda-hostandtest-check-release-paths. The device target-list consistency check went from 30/31 to 31/31. The MOSS-Image and fixed-device LFM2 regressions each failed before the startup fix and passed afterward.zig fmt --checkandgit diff --checkpassed. The branch base and current head each have 164 existing lean findings, with zero added.Release archive receipt
The paired size comparison uses baseline
9961ca4920848b84a98ec8eea978437662fd0300and candidatefe8c091a07c7385d7509da697f56b61af8f86149. Both use Zig 0.17.0, nvcc 13.0.88, xgrammar v0.2.8 and the same compiler, privacy checker, package script and gzip settings. The local Linux harness excluded macOS for both builds. The test archives use the1.3.5version label.The baseline and candidate each compiled 150 input fatbins. Both retain SASS targets
80,86,89,120,121, including SM89 as found in the published v1.3.5 binary. The candidate adds SM110. For existing targets, 740 of 750 stored SASS payloads were byte-identical. The remaining ten fromglm_glueandglm_indexmatched on full per-targetcuobjdumpdisassembly. Both paireddist-smokebuilds passed 30/30 steps. Feeding the baseline fatbins to the candidatedistexited 1 withhas no sm_110 imageand produced no archive.The AArch64 archive rebuilt on
e7225998is 70,090,580 bytes, SHA-2568b2f5cecf374a57ad9be26daa609ae17e20a338043b4830ac265e2e2e6bfbdae. The ARM64-only validation harness useddist-smoke test-dist-packageand passed 22/22 build steps. The CUDA kernel inputs were unchanged and all 150 qualified input fatbins matched their existing checksum manifest. The shipped ELF contains 150 fatbins with all six SASS targets. The outer archive and its contents passed checksum verification, and the extracted binary passed version and help checks from a clean working directory.The earlier paired AArch64 builds passed installed-package smoke on Thor and GB10. Thor reported no SM110 coverage on the baseline and CUDA support on the candidate. GB10 reported SM121 CUDA support on both. The paired x86_64 archives passed the installed-package smoke on Ubuntu WSL.
Thor runtime receipt on the rebuilt archive
Single NVIDIA Thor,
sm_110, Linux AArch64, driver 595.78. Both model runs used the packaged binary, CUDA device 0, BF16 KV, context 8192, parallel 2, snapshots disabled and DFlash2 with 4-bit drafter weights. We verified the local files against the pinned revisions before starting each run.TensorFold/Qwen3.8-27B-MLX-4bit@22d8d538154e0e5b6f8dcb1fcc74a60a0798104cnvidia/Qwen3.8-27B-NVFP4@482ca0f3832238542f8f5295dde86b5f22711d80z-lab/Qwen3.8-27B-DFlash2@50307d4c4cde6860d4eee73e2547cd786fe8e8a4tools/conformance.py --stream --gates drafted,concurrent,resumed,cancel, with greedy and seeded sampling, passed 4/4 gates on each checkpoint. The fresh reference used a 0 GiB prompt cache and the cached server used 1 GiB. The startup log for each server named CUDAsm_110device 0 and DFlash2.Plain controls drafted zero tokens. The four later turns per checkpoint each resumed 4,096 cached tokens. All four cancellations per checkpoint cut the stream mid-reply, were counted as disconnects, and returned the server to two free lanes with a healthy response. All token comparisons above were verified.
On the same archive, a MOSS-Image fixture containing its model index and tokenizer files, with no weights present, exited 1 and printed
sm_110 product: MOSS-Image is not qualified; serve Qwen3.8-27B. This exercises the named startup refusal before the weights loader.Checklist