Repository navigation
kept states: saved prompt states bind the running binary and the checkpoint's current stamps - #2163
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/persistence-keys
branch
from
November 5, 2026 05:04
5ebdbc1 to
915a935
Compare
Owner
Author
|
GB10 run, main against this PR, Qwen3.8-27B, on the head before the 05:15 GMT rebase: verdict GREEN. No token differences across runs in the 20 prompt rows I checked. 32K prompts read +0.1 to +0.6%, decode after them +0.2 to +0.7%, and the 1- and 4-stream sweeps -0.7 to +0.2%. The -0.7% is one sampled chat cell at one stream, on a 14.9 base. The restart runs on Metal and on a GB10 are still queued, and they're what this PR needs. The branch now conflicts with main, so it needs a rebase before it can land. |
ashhart
force-pushed
the
lead/persistence-keys
branch
from
November 5, 2026 17:39
915a935 to
5960fe2
Compare
ashhart
force-pushed
the
lead/persistence-keys
branch
from
November 6, 2026 07:08
5960fe2 to
9d9348b
Compare
ashhart
added a commit
that referenced
this pull request
Nov 6, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 6, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
ashhart
marked this pull request as ready for review
November 6, 2026 07:08
Owner
Author
|
/atc exchange 6762ff15bdf37d9edf6a6bba50b984a4ffcff66d398c03c00ba7b1a9840415f7 |
ashhart
added a commit
that referenced
this pull request
Nov 6, 2026
ashhart
force-pushed
the
lead/persistence-keys
branch
from
November 6, 2026 18:18
9d9348b to
c80c4de
Compare
4 tasks done
This was referenced Nov 7, 2026
ashhart
force-pushed
the
lead/persistence-keys
branch
from
November 7, 2026 07:58
f92a3b7 to
30858b1
Compare
ashhart
added a commit
that referenced
this pull request
Nov 7, 2026
This was referenced Nov 8, 2026
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Key resolved Metal policies and CUDA Qwen rotary inputs independently of startup probes. Include Flash Next's opened pack stamps and loaded metadata in its namespace. Keep snapshot payloads and layouts unchanged, and cover stale misses and matching disk reads with host regressions. Refs #2131. Stacked on #2163.
ashhart
added a commit
that referenced
this pull request
Nov 9, 2026
Stamp validated weight-map paths, including nested shards and files with other suffixes, while retaining auxiliary top-level safetensors. Use the same reader for Nemotron on Metal. Share the existing index validation bodies across modules without changing filename admission. Cover all eight native disk owners with same-probe stale misses and matching reads of planted conversation states. Refs #2131. Stacked on #2163.
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.
Closes #2131.
An audit of what each family's saved prompt states are keyed on, with the gaps fixed. A saved state now misses safely when the code or the checkpoint it was made with has changed.
What was wrong, shown on the host:
What changes for people: any new build, including every release, starts its disk states cold, so the first long prompt after an upgrade prefills again. That's the cost of never resuming from a state an older build made. Replies don't change, and a stale state is a miss rather than an error.
The audit table is in
persisted-serving-keys.md, and tests show a stale state misses.Host tests only, with no device run and no whole-model test of a stale state. A witness on the host isn't a report of real corruption in the field.