Skip to content

train 1116040219: #1879 #3258 (CI only) - #3505

Closed
ashhart wants to merge 9 commits into
mainfrom
lead/train-1116040219
Closed

ashhart wants to merge 9 commits into
mainfrom
lead/train-1116040219

Conversation

@ashhart

@ashhart ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #1879 #3258 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.

robertosantosx2 and others added 9 commits November 16, 2026 04:02
Qwen 3.5 on CUDA reserves its forward scratch at startup in its own
device allocation, separate from the weights arena, sized to the
configured --context (capped at the largest forward pass) plus the
verify window. The optional INT8 prompt workspace is reserved before
serving too. A forward past either reservation is refused before any
kernel launches.
fits unwraps pages with a capture, and ledgerPool and release cast in
place of a local used once. The same calls on the same values.
Six growing agent conversations on a shared 8,192-token system prefix with one-offs between turns, two cohorts of
interleaved chats, and unique one-off prompts, replayed through Store.begin/keep/lookup/restore/remove at 4, 8 and
16 GiB. Shared cuts reach the store, so a common system prompt restores as a prefix. A frequency/probation selector
runs beside main's for comparison; production eviction is unchanged. zig build cache-agent-replay prints the records.

Refs #3241
…in eviction (opt-in)

A resumed snapshot gets eight store ticks of recency credit, at most two resumes' worth, so a conversation that keeps
coming back outlives one-off prompts without outliving its use; redundant copies, the active rewind, borrowed
entries and reservations keep main's protections. Off by default: unset, eviction is main's order exactly (host
controls replay main's choices on every trace). Measured through the real store on frozen traces: at 16 GiB agent
loops rebuild 28-34% fewer prompt rows and agent cohorts 24-30% fewer, at 4 GiB 4-18% fewer across agents and chats,
no cell worse on seeds 7, 11 and 23. The replay gains an agent-cohort trace and confirmation runs per seed.
Refs #3241
@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Landed: #1879 #3258 as main a5165a9. This PR only carried their CI.

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