mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-07 20:47:30 +02:00
Replace the device-memory tier machinery with a plain file-size estimate: required runtime memory is the model file size with headroom for KV cache and allocator overhead (estimateModelMemoryBytes). Callers present the requirement; there is no device detection and no fit-versus-budget verdict. Drops resolveDeviceMemoryGb, deviceMemoryBudgetMb, computeFileCompatibilityTiers and the CompatibilityTier type, and the barrel keeps only the new estimator. Assisted-by: pi