[PR #1264] [CLOSED] verify: the batched K/V append writes a streamed K8V4 state's host copy (#1188, #1169) #3344

Closed
opened 2026-11-07 14:40:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1264
Author: @merbanan
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: fix/1188-k8v4-stream


📝 Commits (1)

  • 352a815 verify: the batched K/V append writes a streamed K8V4 state's host copy (#1188, #1169)

📊 Changes

1 file changed (+7 additions, -2 deletions)

View changed files

📝 src/core/verify.cpp (+7 -2)

📄 Description

#783's batched append of a verify window's cells passed no host copy for the hybrid K8V4 format (int8 and q4_0 pass st.host, and the per-token path passes K8V4's two halves). With --kv-resident, a block that was not resident when its cells were appended came back from the host copy without them, so the tokens a window wrote were lost: free generation degenerated into repetition (#1188, #1135) and parked conversations lost their decode-written turns (#1169). The batched path now passes the same host halves as the per-token path.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1264 **Author:** [@merbanan](https://github.com/merbanan) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/1188-k8v4-stream` --- ### 📝 Commits (1) - [`352a815`](https://github.com/Niko1221/Strata/commit/352a815a27431f4f2a5e803eca7dc9f99af8ff7b) verify: the batched K/V append writes a streamed K8V4 state's host copy (#1188, #1169) ### 📊 Changes **1 file changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/core/verify.cpp` (+7 -2) </details> ### 📄 Description #783's batched append of a verify window's cells passed no host copy for the hybrid K8V4 format (int8 and q4_0 pass st.host, and the per-token path passes K8V4's two halves). With --kv-resident, a block that was not resident when its cells were appended came back from the host copy without them, so the tokens a window wrote were lost: free generation degenerated into repetition (#1188, #1135) and parked conversations lost their decode-written turns (#1169). The batched path now passes the same host halves as the per-token path. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:40:49 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3344
No description provided.