Repository navigation
Conversation
4 of 8 tasks
3 of 4 tasks
Persist rank-specific trace receipts with shared request identities and per-slot window metadata. Preserve the disabled trace path and expose the effective serving settings at startup. Refs #1395.
Keep the existing 81 settings in their original groups and count the optional layer-hash path separately. Exercise path parsing and redacted refusals without sending it through numeric readers. Use a control character for the loader path refusal: ordinary words are valid path text. Startup scope validation already precedes the experimental family check and resource allocation. No production ordering changes.
ashhart
force-pushed
the
lead/1395-lw
branch
from
November 10, 2026 23:41
10496ac to
9e7bf66
Compare
Owner
Author
|
Rebased onto today's main (now 9e7bf66, three commits): the serving-arm line and per-layer hash files, a split between eager hash comparisons and graph-replay diagnostics in the recipe, and the strict environment tests updated for the new diagnostic settings. The tree matches the reviewed export exactly, and it merges cleanly. With
|
Owner
Author
ashhart
added a commit
that referenced
this pull request
Nov 17, 2026
…plit from #2030) TF_DSV41_LAYER_HASH=PREFIX attaches a writer on every rank that records the existing per-layer BF16 trace outputs as JSONL version 1 in a fresh PREFIX.rankN.jsonl: a header, request records (sequence, slot, SHA-256 of the prompt's token ids, shared by rank zero over the plan link) and layer records (window, phase, rows, layer, window-token and stream SHA-256). Traced programs run eagerly, so the hash path cannot reproduce a failure confined to graph replay; compare hashes on and off with TF_DSV41_GRAPHS=0. Unset or empty attaches no writer and adds no trace launches, device copies or synchronizations, which the host tests check with a failing allocator. This is the layer-hash half of #2030. The serving-arm start-up receipt is left out: main's serve_line.zig already logs each rank's settings (#1395).
ashhart
added a commit
that referenced
this pull request
Nov 18, 2026
…plit from #2030) TF_DSV41_LAYER_HASH=PREFIX attaches a writer on every rank that records the existing per-layer BF16 trace outputs as JSONL version 1 in a fresh PREFIX.rankN.jsonl: a header, request records (sequence, slot, SHA-256 of the prompt's token ids, shared by rank zero over the plan link) and layer records (window, phase, rows, layer, window-token and stream SHA-256). Traced programs run eagerly, so the hash path cannot reproduce a failure confined to graph replay; compare hashes on and off with TF_DSV41_GRAPHS=0. Unset or empty attaches no writer and adds no trace launches, device copies or synchronizations, which the host tests check with a failing allocator. This is the layer-hash half of #2030. The serving-arm start-up receipt is left out: main's serve_line.zig already logs each rank's settings (#1395).
ashhart
added a commit
that referenced
this pull request
Nov 22, 2026
…plit from #2030) TF_DSV41_LAYER_HASH=PREFIX attaches a writer on every rank that records the existing per-layer BF16 trace outputs as JSONL version 1 in a fresh PREFIX.rankN.jsonl: a header, request records (sequence, slot, SHA-256 of the prompt's token ids, shared by rank zero over the plan link) and layer records (window, phase, rows, layer, window-token and stream SHA-256). Traced programs run eagerly, so the hash path cannot reproduce a failure confined to graph replay; compare hashes on and off with TF_DSV41_GRAPHS=0. Unset or empty attaches no writer and adds no trace launches, device copies or synchronizations, which the host tests check with a failing allocator. This is the layer-hash half of #2030. The serving-arm start-up receipt is left out: main's serve_line.zig already logs each rank's settings (#1395).
ashhart
added a commit
that referenced
this pull request
Nov 26, 2026
…plit from #2030) TF_DSV41_LAYER_HASH=PREFIX attaches a writer on every rank that records the existing per-layer BF16 trace outputs as JSONL version 1 in a fresh PREFIX.rankN.jsonl: a header, request records (sequence, slot, SHA-256 of the prompt's token ids, shared by rank zero over the plan link) and layer records (window, phase, rows, layer, window-token and stream SHA-256). Traced programs run eagerly, so the hash path cannot reproduce a failure confined to graph replay; compare hashes on and off with TF_DSV41_GRAPHS=0. Unset or empty attaches no writer and adds no trace launches, device copies or synchronizations, which the host tests check with a failing allocator. This is the layer-hash half of #2030. The serving-arm start-up receipt is left out: main's serve_line.zig already logs each rank's settings (#1395).
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.
Record DeepSeek serving arms and optional per-layer hashes
Repeated TP=2 replies can differ without enough evidence to identify the first changed layer or a mismatched rank setting. Log each rank's effective serving arm and optionally write exclusive per-rank JSONL layer hashes with shared request identities and real window metadata.
With TF_DSV41_LAYER_HASH unset or empty, no writer, trace launch, request metadata frame, readback or synchronization is added. Existing trace-map behavior remains. Hashing reads the existing post-only BF16 stream and writes no model data; it deliberately runs eagerly and changes timing.
Independent review cleared the off path, actual trace glue, malformed/exclusive file handling, per-slot windows and serving-arm coverage. The recipe explicitly separates eager hash comparisons from graph-replay comparisons.
Validation: focused host checks pass, formatting passes and lean adds zero findings to the pinned 424. A clean
git amreproduces the entire exported tree.On two GB10s, compare off against main at the reporter's prompt, compare hashes on/off with TF_DSV41_GRAPHS=0 in both arms, retain a graphs-on hash-free arm, then run the twenty-repeat panel with both ranks' IDs and files. Record hashing cost. This is diagnostics, not a proven divergence fix.