Repository navigation
CUDA: add the Qwen-only sm_110 product target - #4796
Conversation
Thor CUDA contract retest after #4794I reran the full registered contract on a Jetson T5000 (Thor, SM 11.0) using this PR's head
After #4794 landed, I also rebased locally onto |
|
Thanks, @IF-YFXJ. The SM110 product selector is narrowly scoped, the weight recipes fit the pinned checkpoints, and the serving and complete-contract receipts are useful. The later MOSS-Image fix also gives that model family its named refusal before the image engine opens. No rebase is needed: the patch applies cleanly to current main. One admission check needs completion:
No additional device matrix is requested for this admission-check fix. Please let the ordinary final CI finish.
|
SM110 admission follow-upI pushed
The earlier T5000 device receipt covers the temporary integration |
|
Thank you, @IF-YFXJ. The admission check now covers both recurrent head counts, epsilon, untied weights and every layer's schedule. Each new negative case starts from a valid fixture, and both supported weight-format positives remain. The driver file matches its base bytes, with its device-matching checks preserved separately. Your latest note clearly separates the host follow-up from the earlier device receipt and keeps the earlier audit failure on record. No further source change or additional device matrix is needed for this admission fix. This is ready once ordinary CI passes on the final tree.
|
|
The final CI run is green on |
Reject unqualified recurrent heads, epsilon, tied weights, and layer schedules for the SM110 product. Keep the MLX and ModelOpt weight checks and exercise each refusal on the host. Move the SM110 driver assertions out of the byte-pinned serving source so the serving identity check still covers the original driver bytes.
402ad4e to
6084017
Compare
|
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. |
What this changes
Add
-Dgpu=sm_110for single-GPU Qwen3.8-27B text serving on NVIDIA Thor. The product accepts the MLX affine 4-bit/group-64 and NVIDIA ModelOpt NVFP4 checkpoints with BF16 KV and DFlash2. A recognized MOSS-Image checkpoint is refused by name before the image engine opens.tf_me_convcontract failure is tracked in CUDA: MOSS-Image tf_me_conv fails the sums contract on sm_110 #4791. The maintainer's review criteria cover the product refusal and contract reporting.mainat0300dfbfe2b3ed3c395fa511f53201f93303a72c.Checks on this head
675f9b27b2d5af2d308c49a51183692ef23b574b.zig build test-release-cuda-refusal-host test-qwen35-sm110-host test-cuda-sm-host check-native-cuda-host -j2 --summary allexited 0 with 20/20 steps and 5 newly executed tests. The broader Windows test, golden and fuzz suite is running on this head. Its predecessor run completed with 11,196 passed and 270 skipped.git diff --checkandzig fmt --checkon the changed Zig files passed.zig build -Dgpu=sm_110 -Dfatbins=<sm110-image-dir> -j2 --summary allon Linux ARM64 passed 11/11 steps, including the product image audit. CI is pending at submission.Receipt
Jetson AGX Thor (SM 11.0), Jetson Linux R39.2.1, Linux 6.8.12-1021-tegra, driver 595.78, nvcc 13.0.88, Zig 0.17.0. The product binary SHA-256 was
5103562d1807055257ce02759d52580da46cf010855164207be3ef7c3363a482.TensorFold/Qwen3.8-27B-MLX-4bit@22d8d538154e0e5b6f8dcb1fcc74a60a0798104cnvidia/Qwen3.8-27B-NVFP4@482ca0f3832238542f8f5295dde86b5f22711d80Both used
z-lab/Qwen3.8-27B-DFlash2@50307d4c4cde6860d4eee73e2547cd786fe8e8a4, BF16 KV, an 8,192-token context and up to two serving lanes. I rantools/conformance.pywith the Qwen35 CUDA profile configured for those two lanes, 700 conversation context items and thedrafted,concurrent,resumed,cancelgates. Greedy and seeded comparisons used the server token hashes. The resume test crossed the 4,096-token prefill boundary, and each later turn reused 4,096 tokens on each checkpoint. Fresh cache-off turns reported zero cached tokens.With a checkpoint fixture whose
model_index.jsondeclaresMOSSImagePipeline, the earlier product build exited1and reportedunknown. The final product exited1with the named refusal below.-Dgpu=sm_110is a build selector. Performance and release packaging remain in #2319. This receipt reports same-engine exactness and device qualification. It makes no throughput or TTFT claim. The PR adds no weights and changes no CUDA kernel source.SM110 CUDA contract (all-image status: incomplete)
The final and earlier product builds embed the same 141 CUDA images by byte comparison. The contract runner shares 132 of those embedded images, including Qwen, QMMF,
prompt16and NVFP4. The runner was compiled fromd7853f1ead06f024571b76b4ecd8c941debe4a00. I repeated the standalone launch-limit audit and focused NVFP4 run against the byte-matched images.0. The two BF16 fused QMMF launches use the loader's existing shared-memory opt-in.0.d7853f1ead06f024571b76b4ecd8c941debe4a00The unfiltered run exited137at the 36 GiB memory cap. The indexed continuation, using the same images and seeds, reached the baselinetf_me_convfailure and stopped. The inventory below records that combined sequence.cuda moss image encoder tf_me_conv, at thesumsgate. It reproduced on the stock baseline and candidate with byte-identical images. The dropped-SiLU control (case 1081) also went red in the targeted reproduction in CUDA: MOSS-Image tf_me_conv fails the sums contract on sm_110 #4791.The expandable inventory lists the zero-based case ID and exact test name. Indented entries append their text to the immediately preceding bracketed prefix.
Passed in the unfiltered run or indexed continuation (1080)
Failed in the indexed continuation (1)
Remaining in the all-image sequence (188)