llama.cpp
llama: use host memory if device reports 0 memory
#18587
Merged

llama: use host memory if device reports 0 memory #18587

taronaeo
taronaeo ggml: allow free = 0 and total = 0 to use host memory info
c53940ae
taronaeo taronaeo requested a review from lhez lhez 86 days ago
taronaeo taronaeo requested a review from max-krasnyansky max-krasnyansky 86 days ago
taronaeo taronaeo requested a review from ggerganov ggerganov 86 days ago
github-actions github-actions added ggml
github-actions github-actions added OpenCL
taronaeo taronaeo changed the title ggml: allow free = 0 and total = 0 to use host memory info ggml-backend: allow free = 0 and total = 0 to use host memory info 86 days ago
lhez
ggerganov
ggerganov commented on 2026-01-06
taronaeo ggml-backend: move memory fallback logic to llama_get_device_memory_data
84f09272
ggerganov
ggerganov commented on 2026-01-06
taronaeo llama: fix memory logic for devices with 0 free and total
00f8eb49
taronaeo ggml: revert new host memory api
05e8f735
taronaeo taronaeo requested a review from CISC CISC 83 days ago
CISC
CISC approved these changes on 2026-01-07
taronaeo taronaeo changed the title ggml-backend: allow free = 0 and total = 0 to use host memory info llama: use host memory if device reports 0 memory 82 days ago
taronaeo
taronaeo taronaeo merged 046d5fd4 into master 81 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone