Constantin
f2c892761a
mem: preserve snapshot-backed prefix KV across recomputes
...
When a stateful model's cached prefix is host-resident and another request recomputes shared tokens without restoring that entry, PrefixCache::insert can replace KV still referenced by an older recurrent checkpoint. Preserve the first cached copy for snapshot-backed prefixes regardless of tier, while retaining rebinding behavior for non-stateful caches.
Add a regression covering a recomputed shared prefix, the original host copy, and its recurrent snapshot.
Tests: `ctest --test-dir build-gfx1201 -L '^fast$' --output-on-failure --parallel 24` (96/96 passed).
2026-10-24 11:11:46 +02:00
..
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-21 09:26:17 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 11:10:08 +02:00
2026-10-24 11:10:08 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 11:10:08 +02:00
2026-10-23 11:57:52 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 15:34:15 +02:00
2026-10-20 21:05:16 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-18 15:41:44 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:06 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 21:05:16 +02:00
2026-10-23 11:57:52 +02:00
2026-10-22 11:06:34 +02:00
2026-10-22 11:06:34 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 20:52:09 -05:00
2026-10-20 21:05:16 +02:00
2026-10-24 11:11:46 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-22 11:06:34 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 07:04:01 +00:00
2026-10-04 12:02:41 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:37:07 +02:00
2026-10-20 07:04:01 +00:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 11:10:08 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 10:41:22 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:42:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:06:18 +00:00
2026-10-24 11:10:08 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 11:08:38 +02:00
2026-10-23 11:57:52 +02:00
2026-10-23 11:57:52 +02:00
2026-10-19 20:13:47 +02:00
2026-10-23 11:57:52 +02:00
2026-10-18 11:38:37 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 21:58:07 +02:00
2026-10-19 21:58:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00