Repository navigation
Conversation
|
@ashhart, this draft is anchored at main commit I also asked on #3460 whether GB10 is suitable for the CUDA identity and timing checks you offered to run. If you agree, could those checks use GB10? Otherwise, please name the CUDA target you prefer. The final post-rebase CPU smoke passed 47/47 tests; CUDA exactness and performance remain pending. |
ce809b7 to
7917bb0
Compare
|
Merge-order note: a complete filename scan found 34 other open PRs sharing changed paths; the description lists every PR by path. These are path overlaps, not all confirmed conflicts. ATC's simulation is incomplete: it flags #2982 against the current worktree, and #2020, #2926, and #2960 against the old PR head. Local worktree conflict IDs are 3, 4, 8, and 13; IDs 9, 12, 14, and 15 were clean (ATC does not map those IDs to paths). Please establish the PR merge order and commits to wait for; we can resolve conflicts and rebase once that order is known. |
|
I independently trial-merged For the order question, I compared all 34 listed PR heads before and after applying #4439 to this main. Thirty-one already conflict with main. Their conflict file sets are unchanged by #4439. The other three (#4665, #4682 and #4932) merge cleanly in either order and produce identical trees for each pair. #4682 still has a behavior overlap. The pair's existing affine-4 recording test fails even though Git merges it cleanly. With 128 streams at block 8, the test expects one 1,024-row launch and sees a maximum of 288, because #4682 applies its ModelOpt frame cap to every head. In scratch, keeping the single-frame path for non-ModelOpt heads restored the test. The three checks above plus Igor Lessio - AIFLOW LABS |
|
Thanks for the independent trial merge and the detailed receipts. I confirmed the #4682 frame cap is applied without a head-format check, so it also limits non-ModelOpt affine4 frames; the reported 128-stream recording-test regression is a real behavioral interaction despite the clean Git merge. Once Ash establishes the merge order, we can make the conditional-cap fix in #4682 or the combined branch, as appropriate, and rerun that regression. #4439 remains unchanged for now. GB10 token-identity and timing qualification are still pending. |
7917bb0 to
07dab21
Compare
|
Thanks, @tacosta. My static recheck of The verdict is A/B. The host tests are useful launch/order and fail-before checks, but they are not numerical CUDA identity results. On GB10, please qualify both DFlash2 and DSpine with affine-4 and EXL3: drafted versus If this lands with #4682, the combined tree must keep #4682's frame cap specific to ModelOpt heads and rerun the 128-stream/block-8 affine-4 recording regression. That is an integration requirement, not a defect I found in standalone #4439. You offered to rebase once the merge order was known. We rebase for contributors, so you do not need to do another rebase for this review. This was a read-only static recheck; I did not run builds, tests, shaders, or devices.
|
|
Thanks for the detailed GB10 test matrix and the static recheck. We do not have access to a GB10 locally, so cannot run the pending CUDA token-identity and timing qualification ourselves. Since you confirmed GB10 is suitable and offered to run these checks, could you schedule the qualification when the review is ready for it and let us know the expected timing? We will keep the unrun CUDA receipts clearly marked as pending. |
07dab21 to
29d1a91
Compare
What this changes
Qwen3.5 CUDA draft frames currently choose one head width for the whole batch. If any context is wide, narrow proposal rows also use the full 248,320-column head instead of the 98,592-column narrow spans. This keeps the shared draft body batched, then projects, selects top-k, packs table inputs, and scatters results by width group while preserving stream order and narrow token-ID remapping. It covers the shared DFlash2 and DSpine CUDA frame paths.
The change also rebuilds affine-4 projection sums after compacting rows, so sums correspond to the compacted hidden-state inputs. DFlash2 and both DSpine planes refresh the sums; EXL3 does not consume them.
3c088d96917acf7e898450e03a1034000fee3122. This is one commit,07dab2140012cd79b2b4ed81c49aed228b01445f, on that anchor. Latest main advanced toc6f2f86227695aa2131e2aa6dcff089f39e5172fduring prep (four commits after the anchor; none changed the six PR paths). Main moves quickly; further rebasing can wait until Ash confirms the merge order and commits to wait for.atc overlap --json: after the rebase, 2026-11-26 11:00 UTC, base3c088d9, 6 changed files. Scan incomplete (otherPullRequestsLimit,pullRequestsLimit). Current worktree simulation: conflicts with qwen27 metal: opt-in INT8 ANE FFN slices for SenseNova-Loop #4416, GLM CUDA: pipeline four-bit EXL3 prompt expert tiles on SM121 #4701, and GLM CUDA: gather and sample shared verification windows together #4698 (one file each, alldocs/optimization-ledger.md); clean with Native SAM3/SAM3.1 segmentation on Metal #3372, qwen3_5 cuda: SenseNova-Loop-9B (sensenova_loop) in BF16, text only #3723, SenseNova Loop CUDA: MTP drafting with the checkpoint's own head (--drafter mtp) #3867, qwen35: dense BF16 loading and native prompt logprobs #2020, qwen27 Metal prompt attention: threadgroups past the causal edge exit early (#2912) #2926, lanes: rank GLM CUDA prefills by their resident prefix #4696, and qwen27 Metal (M5): fused norm and RoPE write K and V into the cache and Q into qa directly (#2940 step 2b) #2960; unknown for qwen27 Metal: K and V read in place from the mixed projection, no unstack copies (#2940 step 1) #2945, qwen27 Metal: one q27_qk_norm_rope dispatch for Q and K head norm and RoPE (#2940 step 2a) #2955, CUDA: #1764's BF16 prompt tile for Qwen ModelOpt, Nemotron and Dory, plus two exact Qwen prompt kernels (#1762) #2008, attention: guarded identity online-softmax rescale skip on CUDA and Metal #4520, flashnext cuda: the opt-in --tp 2 decode graph takes the dense split and keeps its graph across drafted verifies #2982, GLM CUDA: skip native MTP prompt history with DFlash2 #4695, fix(cuda): cut a DFlash2 hold into frames an NVFP4 head accepts #4682, and CUDA: pair Qwen3.8 FP8 GDN QKV and Z projections #4664. Local worktree IDs 3, 4, 8, and 14 have conflicts; IDs 9, 12, 15, and 16 are clean. ATC does not map those IDs to paths. The remote PR-head comparison was against the old head before this rebase. A full filename scan on 2026-11-25 checked 385 open PRs and found 34 path overlaps; the post-rebase ATC scan additionally surfaced lanes: rank GLM CUDA prefills by their resident prefix #4696, so at least 35 distinct path-overlapping PRs are known. These overlaps are not all textual conflicts. We can resolve cross-PR conflicts once the merge order is established.Checks on this head
07dab2140012cd79b2b4ed81c49aed228b01445f.python3 tools/pr_check.py --base 3c088d96917acf7e898450e03a1034000fee3122 --pr 4439: lean 123 on base and head, 0 new findings; 0 new import-cycle edges; 0 errors and 4 advisory warnings (no Unreleased bullet naming this PR and three inherited import-cycle warnings).zig fmt --check build.zig zigandgit diff --check origin/main...HEADpass.7917bb05: 48/48 passed; red control without the sum-refresh fix failed the DFlash2 and DSpine assertions as expected. The 10 active CI checks on that prior head passed; two nightly checks were skipped. On this rebased head,release-paths (ubuntu-24.04)passed; nine checks remain queued across runs 45809803485 and 45809803505, and two nightly checks were skipped. No failures were reported when this description was refreshed; the queue delay also affects other recent TensorFold PR workflows.Receipt
3c088d96917acf7e898450e03a1034000fee3122, head07dab2140012cd79b2b4ed81c49aed228b01445f; Zig 0.17.0; Linux x86_64 CPU host. No CUDA device, checkpoint, or CUDA toolchain was used."draft": falseremains pending.Known integration point
The independent trial merge on
ef4d6429reported that #4682's ModelOpt frame cap also limits non-ModelOpt affine-4 frames. Its existing 128-stream affine-4 recording test failed (expected one 1,024-row launch, observed a maximum of 288); a scratch conditional cap for non-ModelOpt heads restored it. This is a #4682/merge-order interaction, not a change in this PR. After Ash establishes the order, apply the conditional-cap fix in #4682 or the combined branch as appropriate and rerun that regression. The trial merge passed 114/114 host tests and 20/20 native CUDA host build steps, but did not establish GB10 token identity or timing.Checklist