Commit 978a720
fix(wp): disable weight paging in the memory-fit dry-run
common_get_device_memory_data's no_alloc dry-run measures device buffer
sizes; with weight paging enabled the paged tensors get a null buffer and
ggml_gallocr asserts (buffer_id >= 0) during graph_reserve, so any paged
model crashed on load through the auto-fit path (hit on DeepSeek V4 Flash).
Clear weight_paging_enabled for the dry-run alongside mmap/mlock/direct_io.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ZRfPpL8XFzk1hep9MMg9P1 parent f255637 commit 978a720
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments