Lumpiasty
6d476d6ccc
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-07-26 21:58:43 +02:00
..
2026-07-26 19:43:45 +02: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-26 19:43:45 +02:00
2026-07-26 19:43:45 +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-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +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-07-24 18:56:42 +02:00
2026-01-03 16:02:43 -06:00
2026-07-26 19:43:45 +02:00
2026-07-17 00:33:33 +08:00
2026-07-26 19:43:45 +02:00
2026-07-26 19:43:45 +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-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-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +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 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2025-06-30 18:03:03 +03:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-23 20:32:56 +08:00
2026-07-26 19:43:45 +02:00
2026-03-25 12:53:16 +02:00
2026-07-26 21:58:43 +02:00
2026-07-26 21:58:43 +02:00
2026-07-24 18:56:42 +02:00
2025-01-03 10:18:53 +02:00
2026-07-24 18:56:42 +02:00
2026-02-06 07:26:54 +01:00
2026-07-26 19:43:45 +02:00
2026-07-22 09:54:08 +08:00
2026-07-23 20:32:56 +08: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