Skip to content

train 1116103510: #2888 (CI only) - #3546

Closed
ashhart wants to merge 11 commits into
mainfrom
lead/train-1116103510
Closed

ashhart wants to merge 11 commits into
mainfrom
lead/train-1116103510

Conversation

@ashhart

@ashhart ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #2888 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

ashhart and others added 11 commits November 16, 2026 10:14
C6 of #2444 makes reuse depend on more than the key: a request's
image identities and frame, a namespace, its own chunk starts and
the rows it prefills. The family's Query now carries them through
kv_prompts (a core-side image identity, converted by the CUDA
adapter) and GLM passes its stream's images. The store enforces
none of them yet, so every store user is unchanged.
C6 of #2444 for the resume schedule: as in the copy store, a
planned store cuts and resumes at a request's own chunk starts
when it gives them and on its grid otherwise, so a grid point
inside the request's chunk is never its resume point; the marks,
keeps and both tree walks use one rule. A key of another length
than its prompt now reuses and keeps nothing, and a keep past the
rows a pass prefills is refused. Without starts every store user
cuts where it did.
C6 of #2444 for content: a page matches only when its words, the
words past it, the exact identities of the images over them, and
its namespace and frame are all equal, as the copy store compares
exact image identities beside its key. Two pictures under equal
key words are two branches, text before them stays shared, and a
split keeps an image on both sides. Eviction reads the same
identity, so another namespace's longer prompt never counts as a
conversation moving past a state. Text keys match as before.
A shared cut was recorded by its words alone, so a cut planned in
one namespace or over one picture could flag another identity's
state at the same words as shared, and keep it from its normal
eviction order. The record now hashes the namespace, frame and
image identities too (text in the default namespace hashes the
same words as before). A test through the CUDA adapter shows a
picture reaching the store: text pages shared, image pages not.
@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Landed: #2888 as main 93de4c7. This PR only carried their CI.

@ashhart ashhart closed this Nov 16, 2026
@ashhart
ashhart deleted the lead/train-1116103510 branch November 16, 2026 11:46
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