Repository navigation
deepseek: list the forward's 2,048-row prefill variants under TF_DSV41_PF_4K - #1683
Merged
Merged
Conversation
…1_PF_4K With PF_4K the forward keeps 2,048-row segments (the per-piece fallback and a first start run them through a 4,096-row staging ring), but aot-needs listed only the 4K segments' variants. The served flash17 pack then failed its first operation on rank 0 and rank 1 with no captured _kv_store for RING 4096. As the recipe engine does, the prompt passes (segments, piece runs, images and CED replay's decoder) now run again at the default prefill rows under PF_4K. (cherry picked from commit 314c7a9)
…helper (cherry picked from commit 4f6f1a6)
ashhart
force-pushed
the
dsv41-up/pf4k-aot
branch
from
November 1, 2026 03:00
5141e34 to
ebda479
Compare
Owner
|
Thank you @jayleaton. 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. |
Owner
|
Thanks @jayleaton! The |
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
With
TF_DSV41_PF_4Kthe forward still runs 2,048-row segments: the per-piece fallback, and a first start through a 4,096-row staging ring.aot-needslisted only the 4K segments' variants, so a pack built with it had no captured_kv_storefor that ring. Both ranks failed the first operation:promptPassesreturns the 4K pass plus the default-rows pass, andprompts()enumerates the segments, piece runs, image plans and the CED replay decoder under each pass. This is family-local; runtime arithmetic does not change.Issue: none open upstream; found while booting the public pack. Stacked on: nothing (based on main
3f0a715c4; the 35 later main commits, toa0d24896f, touch none of its files).Receipt
5141e348b64bon main3f0a715c4; Zig 0.17.0; host checks on a Linux aarch64 DGX Spark (GB10, CUDA 13.0). Real-pack boot on two GB10s, TP=2 over RoCE, checkpointjayleaton/DeepSeek-V4.1-Flash-1017-EXL3-2.8bpwrevision859396591c34,TF_EXPERIMENTAL=deepseek.MissingTritonVariantabove. After the fix,needs.jsoncontains the RING 4096_kv_store(144 variants). The next TP=2 boot was ready in 536 s, with drafts on and a 1,048,576-token context. It passed the recipe smoke and canary, and a 2,048-token greedy decode was coherent.aot_needs_test.zigrun realenumeratewith the served PF_4K options over a recordedsigs.jsonfixture. It checks that RING 4096 and 8192 are listed, plus every variant of a 2,048-row piece run, an image segment and the CED decoder. With the second pass removed it fails (control below). Cost: on a GB10's CPU this one Debug test takes about 15 minutes, sotest-dsv41-device-hostgoes from about 6 s to 15 minutes. That step is not part ofzig build test, so the no-GPU CI job does not run it. A lighter fixture for this check could follow if that is preferred.83ba53298924: passed. Both ranks reached readiness; the recipe smoke, the canary and a strict tool call passed;MissingTritonVariant0 in both rank logs; 2048 greedy tokens in 51.1 s withtoken_sha2567538b20557b1…, the same as the downstream build of this series.Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (Not measured for this change alone.)SUMMARYline is in the receipt. (No kernel changes.)test-dsv41-device-host.)