Repository navigation
Conversation
3 of 4 tasks
Contributor
Author
|
Hi @ashhart, the published head’s listed CI checks have passed; the host-nightly checks were skipped. The GLM and MiniMax wrapper regression tests pass without CUDA hardware. The requested served-GLM parity and GB10 performance runs remain outstanding and are documented in the PR. Are those runs required before I mark this ready for review, or is the source-level patch ready for review? |
tacosta
force-pushed
the
feat/3711-unused-prob-output
branch
2 times, most recently
from
November 24, 2026 20:28
8580658 to
99f3510
Compare
Contributor
Author
tacosta
force-pushed
the
feat/3711-unused-prob-output
branch
from
November 25, 2026 09:07
99f3510 to
7628c54
Compare
This branch has not been deployed
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
GLM and MiniMax M3 CUDA samplers do not consume
tf_draw's optional probability output. They now pass a null device pointer and drop the unused allocation and cleanup. Full-vocabulary sampling can skip the post-selection probability-mass reduction; candidate sampling keeps the normalization needed to select a token. The CUDA sample suite checks that the optional output does not change selected token IDs.mainsnapshotb6ab6dbfd7c6f7cde6e524433ee67dc7fc664c31(the head at rebase time);mainhas since advanced to777f3bb7624007a2e13ea1632d917582aa78592e. The three commits are8e1a646cf,34e33fd81and7628c54e7. The worktree is clean.b6ab6dbhad one content conflict indocs/optimization-ledger.md. I kept upstream’s newsnloopcolumn and row 39, then added the sampler optimization as row 40 in all five tables. The rebase completed cleanly after that resolution. GitHub currently reports the PR mergeable; its PR API base SHA isb6ab6db, while the livemainref has advanced to777f3bb. The currentatc overlap --jsonscan is incomplete (otherPullRequestsLimit,pullFilesUnavailable,pullRequestsLimit,timeLimit): it reports a one-file conflict with PR flashnext cuda: the opt-in --tp 2 decode graph takes the dense split and keeps its graph across drafted verifies #2982 and conflict overlaps in worktrees 3, 4, 8 and 11. It scanned 16 worktrees, but file paths are unavailable.atc whofor all seven changed files also reportspullFilesUnavailable; additional PR overlaps may be missing from the scan.Checks on this head
7628c54e7e42a22c507e09171b9a5411efb5b91c, based on main snapshotb6ab6dbfd7c6f7cde6e524433ee67dc7fc664c31; current main is777f3bb7624007a2e13ea1632d917582aa78592e. The seven-file review patch SHA-256 iseaecee3b132fcf0b294de9e352ec715e568c3960b244b0f1119aa248cd33f27a(18,021 bytes; LocalATC artifactart_3711-unused-prob-output_job_20261125_090226_581dd8_f7819b).job_20261124_194548_10e199, base7ea9ec2): both pre-change wrappers failed at the intended!@hasField(Sampler, "prob")assertion; patched targets passed 13/13 tests (GLM 11/11, MiniMax 2/2). On current head7628c54/ baseb6ab6db, the focused GLM/MiniMax host targets passed 13/13 tests again, withzig fmt --checkandgit diff --checkpassing in LocalATC jobjob_20261125_090226_581dd8(2 CPUs, 4 GiB RAM, no GPU). Host memory increased 0.21 GiB, below the 1.53 GiB threshold. Promoted artifacts: patch_f7819b, script_2cc615, log_fdc724under that job ID.b6ab6db, focused host targets and static checks passed. The full build and GPU sample were not rerun because the worktree filesystem is 100% full (3.5 GiB free at the latest check). A previous full build on an earlier main snapshot stopped atNoSpaceLeft.mainadvanced, was on base2686dde41a3415ae7e09b15888c32c0881064c66and head0c1e33b898151e38195b1c31c7b60e8323aee40f(same source patch):zig fmt --check,git diff --check, and lean comparison passed (165 vs 165, 0 new);zig build -j4 -Dnvcc=/usr/local/cuda/bin/nvcc -Dsm=120 install test test-golden test-cuda-hostexited 0; goldens were 69/69 and 324/337 equal with 0 unexpected differences;zig-out/bin/tf-cuda-test sampleexited 0 with 2,880/2,880 host-reference matches, all 8 optional-probability configurations matching IDs, and pitched proposal checks 54/54.python3 tools/pr_check.py --base origin/main --pr 4665: run against current main777f3bb7624007a2e13ea1632d917582aa78592e; merge baseb6ab6dbfd7c6f7cde6e524433ee67dc7fc664c31; 0 errors, 1 advisory (no Unreleased bullet naming this PR), 7 changed files, lean results 165 vs 165 with 0 new problems.job_20261122_182950_84f035; qualification log artifactart_3711-unused-prob-output_job_20261122_182950_84f035_bd138d.e8ab859,858065873and99f35107predates the current rebase; for99f35107, Zig format and No GPU passed in runs 45481186028 and 45481186074. Fresh CI for head7628c54will start after the branch update; no CUDA-specific hosted job was listed.98b0362133bda9ee3b1b875636636c07861f5947is unsupported by the current native CUDA engine, so these model runs have not been completed. The synthetic-logit parity test is expected to pass on base because the kernel's null-pointer contract predates this wrapper optimization; the new host regression separately verifies the wrapper-level change.mainand this branch on the same supported GLM checkpoint for prompt and decode performance on GB10, at one stream and the widest admitted, greedy and sampled, with and without--drafter. The available local GPU is an RTX 5090 Laptop GPU, not GB10; no GB10 performance run or speedup claim is included.Receipt
b6ab6dbfd7c6f7cde6e524433ee67dc7fc664c31; currentmain777f3bb7624007a2e13ea1632d917582aa78592e; head7628c54e7e42a22c507e09171b9a5411efb5b91c; Zig 0.17.0; CUDA Toolkit/NVCC 13.3.73; Linux x86_64. Current-head qualification was host-only and used no GPU. Earlier CUDA synthetic-logit runs used an RTX 5090 Laptop GPU (SM 12.0, 24 GB VRAM; driver 595.99); the available GLM checkpointunsloth/GLM-4.7-Flash-NVFP4at revision98b0362133bda9ee3b1b875636636c07861f5947is unsupported by the current native CUDA engine. No MiniMax checkpoint was available.Checklist
prob-field assertion; the patched targets passed 13/13 tests on current baseb6ab6db(GLM 11/11, MiniMax 2/2). They assert the unchanged seven-argument launch ABI, nullPROB, and an eight-byte final argument; no model, CUDA driver, runtime or GPU is needed."draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. Requested on a supported served GLM model; no compatible checkpoint was available. No draft or prompt-cache code changed.--drafter, no slower than without it, greedy and sampled. Requested on GB10 with the same GLM checkpoint and configurations on main and this branch; no GB10 run is available yet, so this gate is unmeasured.