Lumpiasty
c49d19cc64
llama: free backend compute scratch on cold; guard memory_breakdown
...
On device release with KV eviction, also call ggml_backend_free_scratch()
on each backend so a cold model drops its Vulkan compute preallocations
(reallocated lazily on the next compute via restore).
Also guard llama_context::memory_breakdown() against a freed scheduler:
evict_kv release resets sched to null, so a cold model that is then torn
down (e.g. terminated by the process manager) hit GGML_ASSERT(sched) in
ggml_backend_sched_get_buffer_type. Skip the compute-buffer accounting
when sched is null.
Assisted-by: Claude
2026-09-09 00:38:39 +02:00
..
2026-09-08 09:06:24 +03:00
2026-09-03 23:53:04 +02:00
2026-08-16 09:38:01 +03:00
2026-03-18 12:03:26 +02:00
2026-09-08 11:31:48 +08:00
2026-09-06 17:43:58 +02: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-09-09 00:38:39 +02:00
2026-09-09 00:36:40 +02:00
2025-06-15 10:08:58 +03:00
2026-09-01 19:59:54 +03:00
2026-08-27 19:17:07 +02:00
2026-09-06 11:59:10 +03:00
2026-01-03 16:02:43 -06:00
2026-09-08 09:06:24 +03:00
2026-09-08 12:59:53 +02:00
2026-09-04 06:36:51 +02:00
2026-09-04 14:31:36 +02: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-08-21 19:52:34 +02:00
2026-08-21 19:52:34 +02:00
2026-08-03 14:56:30 +02:00
2026-08-03 14:56:30 +02:00
2026-08-24 09:20:25 +03:00
2026-08-02 20:55:34 +08:00
2026-09-09 00:36:40 +02:00
2026-09-09 00:36:40 +02:00
2026-08-03 16:30:08 +03:00
2026-08-03 16:30:08 +03:00
2026-09-09 00:36:40 +02:00
2026-09-09 00:36:40 +02:00
2026-09-01 20:16:07 +02:00
2026-09-01 13:22:04 +03:00
2026-09-01 13:22:04 +03:00
2026-07-08 15:55:19 +08:00
2026-05-16 20:06:23 +08:00
2026-09-09 00:36:41 +02:00
2026-09-09 00:36:40 +02:00
2026-09-09 00:36:41 +02:00
2026-09-09 00:36:41 +02:00
2025-06-30 18:03:03 +03:00
2026-09-09 00:36:40 +02:00
2026-09-08 12:59:53 +02:00
2026-08-27 15:14:34 +02:00
2026-09-04 06:36:51 +02:00
2026-08-30 16:59:48 +02:00
2026-09-06 17:43:58 +02:00
2026-08-27 21:32:31 +02:00
2026-09-09 00:36:40 +02:00
2026-09-09 00:36:34 +02:00
2026-09-01 11:18:54 +02:00
2025-01-03 10:18:53 +02:00
2026-08-10 16:58:56 +03:00
2026-08-10 16:58:56 +03:00
2026-09-03 23:53:04 +02:00
2026-09-08 12:59:53 +02:00
2026-09-06 17:43:58 +02:00
2026-09-03 23:53:04 +02:00
2024-10-08 13:27:04 +02:00
2024-10-02 15:49:55 +02:00
2026-08-18 15:15:22 +02:00
2026-04-03 10:33:03 +02:00