Lumpiasty
c2c8d377cb
llama: evict recurrent/SSM state on device release
...
The recurrent (SSM/conv) state of hybrid models (e.g. Qwen3.5) was left
resident when a model's device buffers were released for on-demand VRAM
sharing - llama_memory_recurrent::release_device_buffers() was a no-op
default. Implement it (and restore_device_buffers) with the same
capture-host-shadow / free / reallocate pattern as llama_kv_cache, so
llama_memory_hybrid now evicts both its attention KV and its recurrent
state. The state is read-write, so its shadow is recaptured on every
release.
Assisted-by: Claude
2026-07-26 14:55:39 +02:00
..
2026-07-22 09:54:08 +08:00
2026-06-29 16:58:51 +08:00
2026-06-05 11:09:36 +03:00
2026-03-18 12:03:26 +02:00
2026-07-22 10:55:44 +08:00
2026-07-22 09:54:08 +08:00
2026-07-08 19:24:34 +03:00
2026-07-08 15:55:19 +08:00
2026-05-28 13:13:33 +02:00
2026-05-28 13:13:33 +02:00
2026-07-26 00:32:33 +02:00
2026-07-25 02:02:18 +02:00
2025-06-15 10:08:58 +03:00
2026-07-17 00:33:33 +08:00
2026-06-21 11:33:18 +03:00
2026-03-21 18:43:35 +01:00
2026-01-03 16:02:43 -06:00
2026-07-11 11:39:07 +02:00
2026-07-17 00:33:33 +08:00
2026-06-17 17:29:49 +03:00
2026-06-29 16:58:51 +08:00
2026-04-06 01:40:38 +02:00
2026-07-08 18:18:09 +08:00
2026-05-02 18:03:25 +03:00
2026-05-05 06:35:07 +03:00
2026-07-08 15:55:19 +08:00
2026-05-29 10:15:17 +02:00
2026-07-20 22:43:39 +08:00
2026-07-14 21:45:36 +08:00
2026-07-25 02:02:18 +02:00
2026-07-25 02:02:18 +02:00
2026-07-25 14:36:17 +02:00
2026-07-25 02:02:18 +02:00
2026-06-07 21:42:54 +03:00
2026-07-08 15:55:19 +08:00
2026-05-16 20:06:23 +08:00
2026-07-26 14:55:39 +02:00
2026-07-25 02:02:18 +02:00
2026-07-26 14:55:39 +02:00
2026-07-26 14:55:39 +02:00
2025-06-30 18:03:03 +03:00
2026-07-25 02:02:18 +02:00
2026-07-22 21:04:20 +02:00
2026-07-22 21:04:20 +02:00
2026-07-22 21:04:20 +02:00
2026-05-16 20:06:23 +08:00
2026-07-22 09:54:08 +08:00
2026-03-25 12:53:16 +02:00
2026-07-25 14:36:17 +02:00
2026-07-24 22:32:29 +02:00
2026-07-18 13:43:18 +02:00
2025-01-03 10:18:53 +02:00
2026-06-22 14:08:32 +03:00
2026-02-06 07:26:54 +01:00
2026-07-22 09:54:08 +08:00
2026-07-22 09:54:08 +08:00
2026-06-17 17:30:26 +03:00
2024-10-08 13:27:04 +02:00
2024-10-02 15:49:55 +02:00
2026-05-14 11:03:40 +02:00
2026-04-03 10:33:03 +02:00