From: Adrien Gallouët Date: Thu, 26 Mar 2026 11:04:57 +0000 (+0100) Subject: common : make LLAMA_CACHE the one cache for everything (#21009) X-Git-Tag: upstream/0.0.8611~75 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=93dfbc1291406978bc0f565303e775a51a56f63e;p=pkg%2Fggml%2Fsources%2Fllama.cpp common : make LLAMA_CACHE the one cache for everything (#21009) Signed-off-by: Adrien Gallouët --- diff --git a/common/hf-cache.cpp b/common/hf-cache.cpp index 3fb9f3ffc..80dcab017 100644 --- a/common/hf-cache.cpp +++ b/common/hf-cache.cpp @@ -38,6 +38,7 @@ static fs::path get_cache_directory() { const char * var; fs::path path; } entries[] = { + {"LLAMA_CACHE", fs::path()}, {"HF_HUB_CACHE", fs::path()}, {"HUGGINGFACE_HUB_CACHE", fs::path()}, {"HF_HOME", fs::path("hub")},