Skip to content

dsv41: serve the release weights on CUDA at world 4 (#3527 5/5) - #3534

Draft
laudney wants to merge 15 commits into
ashhart:mainfrom
laudney:dsv41-rel-6-serve
Draft

laudney wants to merge 15 commits into
ashhart:mainfrom
laudney:dsv41-rel-6-serve

Conversation

@laudney

@laudney laudney commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Step 5 of #3527: the release checkpoint serves on CUDA at world 4.

main (e7e2424) this stack
Release checkpoint on CUDA refused by name: EXL3 only refused by name until the fidelity gate closes; TF_DSV41_RELEASE_PREVIEW=1 serves it at TP=4 on four GB10s, 72.3 GiB a rank, loaded in ~141 s
Decode, 1 stream n/a 49.1 tok/s (code), 42.2 (chat); 28.5 with "draft": false
4 streams n/a 116.5 / 104.4 tok/s aggregate
Cold prompt TTFT n/a 1.83 s (2k), 7.22 s (8k), 29.2 s (32k)
Exactness n/a concurrent == alone (12/12), serial equal, drafts == "draft": false
GSM8K first 100, greedy n/a 99/100
Logits bf16-rounded (EXL3 kit) FP32 for the release, picked by a 48-bit-key top-k; EXL3 keeps main's 32-bit-key top-k (same SASS)

Why

Serving the checkpoint as DeepSeek released it is crucial for benchmarking and for adoption: SGLang, vLLM and TRT-LLM serve these same bytes, so comparisons are like for like with no conversion step, and users run the checkpoint they already download, with no TensorFold-specific requant (#3527).

What this changes

The emitters issue the release kernels when Config.format is the release's: decode, prefill and DSpark dense projections (one FP8 round trip a distinct input, then one MMA launch a projection), the MoE (FP32 routing weights with the 1e-20 guard and no kit rounding, MXFP4 routed experts, FP8 shared expert, rank-local combine), FP32 logits. Boot refuses the release by name unless TF_DSV41_RELEASE_PREVIEW=1 (the fidelity gate below is open) and at any world but 4; with the flag at world 4 it loads the sm_121a release images, checks the rank's Engram shards on disk and refuses EXL3-only knobs by name (TF_DSV41_R1, EXPERT_TOPP, PF_DENSE, GM_V2, GM_GU2, X3LD_EPI, ROUTER_GROUP_ROT, PF_TBO, L2PF, EX_STACKS, FORMS_INPLACE); the L2 prefetch sites step aside; capabilities list fp8; the prepared cache keys a release rank by its cuts. It also carries #3529's prefill plan fix (131c00c), which the rebase drops once #3529 lands.

Deferred, stated in #3527: the FP32 ratio-2 compressor and FP32 mHC fn arms (BF16 as EXL3 until an error gate asks for them), aot-needs --config (the release adds no Triton calls; the existing AOT set serves it), a teacher-forced logprob comparison.

Checks on this head

  • Head commit: a20b060
  • Lean checker on the base and on this head: 337 and 337, 0 new.
  • Tests run: zig build test test-golden test-dsv41-cuda-host test-dsv41-forward test-dsv41-device-host test-kernel-contract compile-dsv41-cuda compile-dsv41-server on the stack head: 5296/5334 passed, 37 skipped, 1 failed (cli_config_test "serve --config: expand ...", which fails identically on main e7e2424 on the same host: inherited). zig fmt --check build.zig zig and git diff --check pass at every stack head. Each commit ran the family host suites when it was made (on main 811c384). Device: tf-dsv41-test topk-keys (the selector against a host sort on fp32, sub-bf16 and bf16 rows; the old kernel fails it) passes.
  • At a20b060: zig build test-host 10565/10661 passed, 94 skipped, 2 failed (both cli_config_test "serve --config": our hosts' umask is 0002, so the fixture file is created group-writable; inherited); the DeepSeek host suites pass; tf-dsv41-test topk-keys passes on a GB10 for both key widths (wide on fp32, sub-bf16 and bf16 rows; narrow on the bf16-valued rows); topk_kernel's SASS equals main's.
  • CI: pending on this head.
  • Not run: the full unfiltered zig build kernel-contract (the release filter dsv41_rel ran; see the kernel section); other SMs (the release images are sm_121a only).

Receipt

Four GB10s at this head (a20b060)

Cell Result
Boot without TF_DSV41_RELEASE_PREVIEW refused by name on rank 0 ("the release weights are not admitted yet …"); fail-fast stops every rank
Seeded sampling, T 0.8, seed 1234 (bench_concurrent.py --temperatures 0.8,0 --levels 1,4 --alone --serial) code and chat: alone 2/2 equal, 4 streams vs alone 8/8 equal, drafts vs "draft": false 4/4 equal; seed 99 gives other tokens
Greedy, same tool alone 2/2, 4 streams vs alone 8/8, drafts vs "draft": false 1/1 equal, both prompts
Resumed turn (TF_DSV41_SESSIONS=1, 1 slot) resumed 176 of 332 prompt tokens from RAM: equal to fresh
Regenerated resumed 320 of 332: equal to fresh
Edited last message resumed 176 of 326: equal to fresh
Seeded turn resumed from NVMe (TF_DSV41_SESSION_RESIDENT=0) resumed 320 of 332 from NVMe, three requests: equal to fresh
After a restart not a resume path: the CUDA engine opens its NVMe tier fresh at boot (sessions_gpu.zig:195, fresh_start = true), so the restarted server prefills; equal to fresh (3/3)
Sessions at 4 live slots (the served shape) off, named in the log ("sessions: off with 4 live slots …")
Prompt/decode seams: reply R (256 greedy) to P (179 tokens), then P + R[:k] as raw tokens k = 255 equal; k = 1, 2, 63, 64, 65, 127, 128, 129, 200 continue equal for 8 to 181 tokens, then differ

On the seams: no cell differs at its first token, as a lost KV, compressor, Engram or drafter state would make it; the prompt path's attention, compressor and mHC kernels round differently from decode's, so greedy near-ties flip later. This PR does not claim prompt == decode bits; the open teacher-forced comparison (below) is what bounds that difference. Sampled requests need TF_DSV41_SAMPLING=1 (else the request ends with error (Sampling), HTTP 500).

Earlier receipt (stack head 993faef, same SASS)

  • Exactness (tools/bench_concurrent.py --tokens 256 --reps 3 --temperatures 0 --levels 1,4 --alone --serial, stack head 993faef (same SASS as this head), TF_DSV41_SLOT_DRAFTS=1): code prompt 1 stream alone 3/3 equal, 4 streams alone 12/12 equal, serial equal; chat prompt the same. "draft": false gives the same token_sha (ef896ebdbc61) as drafts on a 260-token reply.
  • Decode (tools/bench_openai.py --tokens 256 --reps 3 --temperatures 0): 49.1 tok/s (fibonacci-raw), 42.2 tok/s (gpu-chat-no-think); "draft": false: 28.5 tok/s. 4 streams: 116.5 / 104.4 tok/s aggregate.
  • Prompt (tools/bench_cache.py --require-cold, raw token prompts): TTFT 1.83 s at 2,048, 7.22 s at 8,192, 29.2 s at 32,768 tokens (cached 0).
  • Fidelity: GSM8K test, first 100 questions, greedy, thinking off: 99/100 (miss: 36.3636 for 36).
  • Boxes it reaches: DeepSeek-V4.1 CUDA decode, prefill, DSpark, batched rows; EXL3 paths are format-gated and keep their calls.
  • New switch? No.
  • Environment: TensorFold main e7e2424 + this stack, Zig 0.17.0, nvcc 13.5 (V13.5.37; contract records also for 13.0), four GB10 (sm_121a), driver 580.178.04, NCCL 2.30.7; deepseek-ai/DeepSeek-V4.1-Flash-1017 @ 08c8657f02291e11b6f6b63e0e16014f8e748518
  • Paths and platforms: CUDA at world 4 on GB10 (sm_121a), graphs on, DSpark drafts on, 4 slots; not run: other worlds (refused by name), other SMs (release images are sm_121a only), Metal.
  • Licence: n/a: no new weights or drafter (the checkpoint is served as published).

Checklist

  • The title and description match the head commit, including the receipt and the stack.

  • New tests fail before the change, pass after it, and skip cleanly without their dependency.

  • Comments and docstrings are one line. No measurements or history in the source.

  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

  • Every token still goes through the lane rounds. No serial path, and nothing that needs drafts off.

  • Drafted output equals "draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (Receipt above: drafts, concurrency and seeded sampling equal; RAM and NVMe resumes equal fresh at 1 slot; sessions are off by name at 4 slots; a restart prefills fresh by design.)

  • No precision traded for speed. The release arithmetic is the checkpoint's own (DeepSeek-V4.1-Flash release weights (FP8 + MXFP4) on CUDA at world 4 on four GB10s #3527); EXL3 bits are unchanged.

  • Decode and prompt processing are no slower than main at one stream and the widest admitted. (n/a for the release checkpoint: main refuses it. EXL3 paths are untouched by format gating; not re-measured, no EXL3 pack on the test machines.)

@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney. The world-four admission, release emitters and cache-cut identity complete the wiring, but the deferred FP32 compressor and mHC arithmetic and the teacher-forced comparison leave the fidelity gate open. Please keep admission refused until that arithmetic and comparison are complete; the GSM8K score and drafted/plain equality do not establish them.

The changed top-k selector now has a CUDA contract registration in a commit of ours on top, which also shortens the inline comment at zig/src/families/deepseek_v41/kernels_replay.zig:189. Two things from you. It now takes six radix passes instead of four on EXL3 too, so that default needs before and after timings with unchanged tokens and no slower cell. And our two GB10s cannot repeat world-four release serving, so please attach the four-GB10 receipt at the final head, with seeded sampling, prompt/decode seams and the supported resume paths or their named refusals.

  • Synthena

@laudney

laudney commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart thanks. Two new commits on top, head a20b060bc4 (was 3a5c09b1d7); a fast-forward, so your top-k contract commit applies on top as before.

Ask Change Proof
EXL3 must not pay six radix passes 5c099ed7d6: topk_keys.cu is one template body with two entries. topk_kernel keeps main's 32-bit keys, symbol and 4 passes for EXL3's bf16-valued logits; topk_kernel_wide takes the 48-bit keys, 6 passes, for the release's fp32 logits. The device pick and the sampler choose by Kernels.wideLogits() (the release kernels are loaded). topk_kernel's SASS is identical to main's (sm_121a), and its contract record is back to main's 64 registers / 9232 static bytes; the wide kernel has its own record (64 / 13336). So EXL3 runs main's exact code: no before/after cell can move.
Keep admission refused a20b060bc4: the CUDA format gate refuses a release checkpoint at world 4 by name unless TF_DSV41_RELEASE_PREVIEW=1 (a registered startup flag); other worlds keep their refusal whatever the flag says. cuda_format test covers both texts and every world.

Checks: tf-dsv41-test topk-keys on a GB10, wide on all rows (fp32, sub-bf16 near ties, bf16 ties, flat bands) and narrow on the bf16-valued rows, k 1/50/1024, equal to the host sort; tf-dsv41-samp now checks each width on the rows it is built for (compiled; it is an x86_64 tool). DeepSeek host suites pass; lean adds nothing (337 at the base). On our aarch64 hosts test-host has one unrelated failure, cli_config_test (serve --config), because their umask is 0002 and the fixture file is created group-writable.

On the preview flag, my ranked choice: (1) keep it, so the four-GB10 receipt and the fidelity work can run the release at this head without a code change; (2) drop it and refuse outright, with the receipt run from a local patch. I will follow whichever you prefer.

The four-GB10 receipt at the final head (seeded sampling, prompt/decode seams, the supported resume paths or their named refusals) follows in a separate comment.

@laudney

laudney commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart the four-GB10 receipt at the final head (a20b060bc4) is now in the description, under "Four GB10s at this head".

Ask Result
Admission refused refused by name without TF_DSV41_RELEASE_PREVIEW=1; every rank stops
Seeded sampling T 0.8 seed 1234: alone, 4 streams vs alone and drafts vs "draft": false all equal (code and chat)
Resume paths RAM resumes (turn, regenerate, edited last message) and NVMe resumes equal fresh at 1 slot; 4 slots: sessions off by name; a restart prefills fresh by design (fresh_start = true)
Prompt/decode seams P + R[:k] continues equal for 8-181 tokens in 9 cells (1 cell fully equal), then differs: prefill and decode round differently; no cell differs at its first token

The seams are the one cell that is not equal. I read them as arithmetic, not state, for the reason in the description, and the teacher-forced comparison that keeps admission refused is what will bound them. If you want a seam cell that must be exact before admission, my ranked choice: (1) a teacher-forced next-token comparison at each seam (logits, not greedy tokens), as part of the fidelity gate; (2) a decode-arithmetic prompt path for the last rows. Your call.

@laudney

laudney commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart thanks: #3388 landed, so this stack now takes the split-rows plan fix from main. Head f62be6b62e (was a20b060bc4).

Item Before After
Base e7e24243d6 main 699094f705
The split-rows plan commit (#3529's) in this PR dropped: main has #3388
Other commits 14 14, patch-identical (git range-diff: all =)
Lean 337 = main 221 = main

Checks on the new head:

Check Result
test-dsv41-cuda-host, test-dsv41-forward, test-dsv41-device-host, test-dsv41-draft 422/422, 189/191 (2 skipped), 237/237, 143/143
compile-dsv41-server, zig fmt --check pass
Served on 4 × GB10 (release weights, no drafts, 256 tokens, temperature 0) token_sha d24c77c140c3, equal to the old head
9,180-token cold prompt 9f6d0af5a5c8, equal to the old head

#3530-#3533 are rebased the same way (each a fast-forward of the one below it); they carry no content change.

@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Thanks @laudney for the preview gate, the narrow/wide top-k split and the checks after the rebase. Default admission stays refused while the fidelity work is open, and EXL3 keeps its 32-bit, four-pass kernel; only the release uses the 48-bit, six-pass selector. The opt-in preview appropriately contains the intentional release arithmetic differences.

One evidence ask remains at final head f62be6b62e. The complete four-GB10 seeded, resume and seam matrix was run at a20b060bc4; after the rebase, only greedy no-draft output and one 9,180-token cold prompt were repeated. The patch-identical range-diff and those two equal hashes are useful, but they do not cover the requested final-head matrix. Please rerun seeded sampling at 0.8 with seeds 1234 and 99, drafted versus "draft": false, alone versus concurrent, the supported RAM and NVMe resume cases or their named refusals, and the ten seam prefixes at the final head on four GB10s with sm_121a.

The cumulative diff also conflicts in zig/build/cuda.zig, zig/src/core/contract/registry.zig, zig/tests/cuda/contract_family_sets.zig, and zig/src/platform/environment.zig. Current main moved the later compiler sets to zig/src/core/contract/registry_cuda_sets.zig, so carry the nvcc-13.5 entry there. Please preserve current main's other entries and add the preview flag and release registrations during that rebase. The device receipt, not these mechanical conflicts alone, determines the verdict.

  • Synthena

@laudney

laudney commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart rebased onto main a0f809ea09: head 541354be0b (was f62be6b62e), and the matrix you asked for is rerun at this head on four GB10s (sm_121a, nvcc 13.5, the same profile and checkpoint revision as before).

Item Before After
Base 699094f705 main a0f809ea09
Conflicts in cuda.zig, registry.zig, contract_family_sets.zig, environment.zig 4 files resolved: the nvcc 13.5 set is in registry_cuda_sets.zig; main's registrations stay; TF_DSV41_RELEASE_PREVIEW sits beside main's new TF_GLM_EXPERT_FORM, so the strict-env table count is now 84 (51 switches)
This step's other commits 7 7, the same added and removed lines (git range-diff); gate_forward.zig keeps main's .plain widths beside the release .w forms

Final-head matrix (541354be0b):

Cell Result
Boot without TF_DSV41_RELEASE_PREVIEW refused by name on rank 0; every rank stops
Seeded sampling, T 0.8, seed 1234 (bench_concurrent.py --temperatures 0.8,0 --levels 1,4 --alone --serial) code and chat: alone 2/2 equal, 4 streams vs alone 8/8 equal, drafts vs "draft": false 4/4 equal
Seed 99, same tool code and chat: alone 2/2, 4 streams vs alone 8/8, drafts vs "draft": false 4/4 equal; other tokens than seed 1234
Greedy, same tool (both seeds' runs) alone 2/2, 4 streams vs alone 8/8, drafts vs "draft": false 1/1 equal, both prompts
Chat turns at 4 slots (fresh) 8 replies; every hash equal to the a20b060bc4 run (66ae23a34e30, 220f31ebddbf, ...)
Resumed turn (TF_DSV41_SESSIONS=1, 1 slot) resumed 176 of 332 prompt tokens from RAM: equal to fresh
Regenerated resumed 320 of 332 from RAM: equal to fresh
Edited last message resumed 176 of 326 from RAM: equal to fresh
Seeded turn resumed from NVMe (TF_DSV41_SESSION_RESIDENT=0, TF_DSV41_SESSION_DISK_MIN=64, as before) resumed 320 of 332 from NVMe, three requests: equal to fresh
After a restart not a resume path (fresh_start = true): the restarted server prefills; equal to fresh (3/3)
Sessions at 4 live slots (the served shape) off, named in the log
Prompt/decode seams (the ten prefixes) the seam receipt JSON is byte-identical to the a20b060bc4 run: k = 255 equal; k = 1, 2, 63, 64, 65, 127, 128, 129, 200 continue equal for 8 to 181 tokens, then differ; none differs at its first token

Checks: host suites and zig build test pass (13153/13240, 87 skipped, 0 failed), lean 165 = main, 0 new. The kernel receipts for steps 3 and 4 are on #3532 and #3533.

The CUDA plan typed every projection as an EXL3 group, so another
weight format would have to thread branches through every reader.
GroupPlan and ExpertsPlan now hold their stored form in a tagged union
with an EXL3 arm, readers go through it, and the expert width splits
on a per-format block (expertShare: 128 for EXL3, 64 for the release
format). EXL3 plans, emitted calls and pinned fingerprints are
unchanged; block.Options gains the checkpoint format for the release
arms to come.
The CUDA reader opens engram-l<L>-r<R>of<W>.bin, but the packer wrote
only rank 0 of 1, so a four-rank release had no tables to read from
SSD. A rank's rows are now its whole hash columns (rankRows, the
reader's headShard), the packer, verifier and manifest work on that
span with shard-relative offsets, the tool takes --rank and --world,
and checkShards validates a rank's shards against its span at boot.
DeepSeek's own checkpoint stores FP8 32x32 blocks, MXFP4 experts and
BF16 matrices that the CUDA plan could not express. The plan gains
FP8, BF16 and MXFP4 forms with the rank's rows, columns and expert
ids, cut on the mesh (release_shard over fabric/mesh), the Engram
tables are checked and left on disk, and staging uploads the stored
bytes unchanged. The real release plans at worlds 1, 2 and 4 with no
tensor left over: 72.31 GiB a rank at world 4. Serving still refuses
the format until its kernels land.
The release checkpoint's dense projections need GB10 kernels that
multiply its FP8 block-scaled and BF16 weights as stored, with prompt
and decode rows bit-equal; this adds block-scaled mxf8f6f4 and BF16
MMA tiles (decode, mid, prompt and a stage-free warp form) over one
per-element K order and a row-independent split, the FP8 activation
round trip with and without RMSNorm, the fixed split sum, a separate
sm_121a image set loaded only for release checkpoints, contract
checks (prompt equals decode, every tile position, one-CTA grids,
group views, cancellation) and records for nvcc 13.0 and 13.5.
The release contract's prompt-versus-decode, row-independence and
launch-shape checks ran FP8 only at splits 4 and 1, while the world-4
plan serves wkv and the shared w1/w3 at split 8. A wkv case (K 5120,
N 512, BF16 out) now runs every check at split 8, the case table's
comment names the splits it covers, and the tile comment no longer
quotes a bandwidth measurement.
The release reference normalizes routing weights as s / (sum + 1e-20)
so a row of zero scores stays finite; the CUDA router divided by the
sum alone. Args gains an eps in its old tail padding (size and other
offsets unchanged), the replay reads it as an optional argument, and
EXL3 keeps passing 0, which leaves its bytes unchanged because the
sum is never below +0. A device check covers zero sums (NaN at 0, +0
at 1e-20, lower ids on ties) and equal bytes for ordinary scores at
top-k 6 of 384 and 3 of 128 on the narrow and wide kernels.
Adding eps to the router's Args moved the register count of ten of
its sm_121 instances under nvcc 13.0, the compiler the base records
pin; the records now hold the measured values. Shared memory is
unchanged, and the 13.2 measurements stay as measured on 13.2.
The release checkpoint's routed experts store MXFP4 weights, so the
MoE needs GB10 kernels that multiply E2M1 codes with their UE8M0
scales against the FP8 round trip of the FFN input. This adds the
grouping of (row, k) pairs by the rank's held slots (an id -> slot
table, so expert groups need only a plan change), gate/up with the
reference SwiGLU epilogue and the round trip of v, down to bf16
partials, the rank-local combine in top-k order then the shared
partial, and the shared expert's SwiGLU round trip; each staged
kernel has a stage-free warp form with the same bytes. Contract
checks cover prompt equals decode, every tile position, one-CTA
grids, exact FP32 combine order and refusals; records for nvcc
13.0 and 13.5.
With a release checkpoint the decode, prefill and DSpark emitters now
issue the release kernels instead of EXL3 trellises: one FP8 round
trip for each distinct input view, then one block-scaled FP8 or BF16
MMA launch for each projection into the same output columns the EXL3
bodies write. The loader's `<base>.w` tensors give each projection's
form, scratch names drop the layer so the arena does not grow with
depth, split partials keep one buffer per stream, and the runner maps
the new tf_dsv41_rel_v1 calls onto the release launches.
The release reference's head gives FP32 logits, so the release path
no longer applies the EXL3 kit's bf16 rounding. The device top-k
kept only a logit's top 16 bits in its keys, which can rank FP32
logits wrongly; its keys are now 48 bits (the whole value, then the
column), so FP32 logits match the host sampler's order and the
bf16-valued EXL3 logits keep exactly their old picks. A new device
check compares the selector with a host sort on FP32, sub-bf16 and
bf16 rows (the old kernel fails it). Shared memory grows to 13,336
bytes under nvcc 13.0, 13.4 and 13.5; 13.2 is not measured, so its
record takes that source-fixed size with the unchanged registers.
Release checkpoints route with FP32 weights (no kit rounding, the
reference's 1e-20 guard, no shared slot) and then run one FP8 round
trip of the FFN input, the MXFP4 grouping, gate/up and down kernels,
the FP8 shared expert as three dense launches, and the rank-local
combine into the buffer the exchange reads, in decode, prefill and
DSpark alike. The id -> slot table is built at boot from the plan's
held ids, and the runner maps the new calls onto the expert launches.
The CUDA engine refused release FP8/MXFP4 checkpoints by name; it now
admits them at world 4 (72 GiB of weights a rank) and refuses other
worlds by name. Boot loads the sm_121a release images, checks this
rank's Engram shards on disk, and refuses EXL3-only knobs by name;
the forward takes the checkpoint's format, the L2 prefetch sites
step aside (they priced trellis words), and capabilities list fp8.
The prepared-image cache key gained the checkpoint format and the
release's resolved mesh cuts, but the serving caller still built
the key with the EXL3 defaults, so a slice that moved at the same
shape could read stale release bytes. A keyFor helper now builds
the serving key from the config (format, and the rank's cuts for a
release checkpoint), with a test of both formats.
Widening the top-k keys to every fp32 bit made EXL3's bf16-valued
logits pay six radix passes for bits they never carry. The kernel
body is now one template with two entries: topk_kernel keeps main's
32-bit keys, symbol, SASS and records for EXL3, and topk_kernel_wide
takes the 48-bit keys for the release, chosen by Kernels.wideLogits
at the device pick and the sampler, with the device and sampler
checks covering each width on the rows it is built for.
The release fidelity gate is still open: the FP32 compressor and
mHC arithmetic and the teacher-forced comparison are not done, so
world-4 admission must not be the default. The CUDA format gate now
refuses a release checkpoint at world 4 by name unless
TF_DSV41_RELEASE_PREVIEW=1, a registered startup flag that receipts
and development runs set explicitly, while other worlds keep their
refusal whatever the flag says.
@laudney

laudney commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

@ashhart main moved again, so the stack is rebased onto a15c7b0603: head 55023b7ffd (was 541354be0b; it also merges cleanly with 95591a94f8). I reran the whole matrix at this head on four GB10s, the same way as in my last comment:

Cell Result at 55023b7ffd
Boot without TF_DSV41_RELEASE_PREVIEW refused by name; every rank stops
Seeded sampling T 0.8, seeds 1234 and 99; greedy each seed, code and chat: alone 2/2, 4 streams vs alone 8/8, drafts vs "draft": false 4/4 equal; greedy 1/1; 0 failed
Chat turns (4 slots, fresh) the same 8 hashes as at a20b060bc4 and 541354be0b
RAM resumes (1 slot) 176/332, 320/332 and 176/326 tokens resumed: equal to fresh
NVMe resumes (TF_DSV41_SESSION_RESIDENT=0, TF_DSV41_SESSION_DISK_MIN=64) 320 of 332 from NVMe, three requests: equal to fresh
After a restart prefills fresh by design (fresh_start = true); equal to fresh 3/3
Ten seam prefixes the seam JSON is byte-identical to the 541354be0b run

Host checks pass at this head (zig build test 13006/13091, 85 skipped, 0 failed; lean 0 new). The benchmark-clients (windows-latest) failure on the last push was a timing check in tools/tests/test_bench_prose.py, outside this stack's files.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants