Archived
sched: skip periodic window snapshots under tip-only
Treat tip-only as a true opt-out from periodic window snapshot creation and interval chunk splits, while retaining the existing tail snapshot and explicit request checkpoints. Leave recurrent-state scheduling unchanged and report the effective chunk bound accurately. Cover geometric-backoff and keep-all interval behavior, tip-only chunk planning and single-snapshot reservation, aligned and short prompts, explicit checkpoints, and recurrent-state scheduling.
This commit is contained in:
1 parent
192fe10278
commit
d6957e88a1
5 files changed
+91
-26
No files matched your search
@@ -53,7 +53,8 @@ struct ChunkGeometry {
|
||||
|
||||
/* No linear state but a sliding window: checkpoints snapshot the window behind an
|
||||
* interval boundary or the prompt's tail (KVManager::has_window_snapshot). Intermediate
|
||||
* snapshots let an edited prompt resume below its divergence instead of from zero. */
|
||||
* snapshots let an edited prompt resume below its divergence instead of from zero.
|
||||
* tip-only skips interval snapshots and keeps the original tail-only chunking. */
|
||||
bool window_ckpt = false;
|
||||
|
||||
bool checkpoints() const { return checkpoint_interval > 0; }
|
||||
|
||||
Reference in new issue
Block a user