]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : make LLAMA_CACHE the one cache for everything (#21009)
authorAdrien Gallouët <redacted>
Thu, 26 Mar 2026 11:04:57 +0000 (12:04 +0100)
committerGitHub <redacted>
Thu, 26 Mar 2026 11:04:57 +0000 (12:04 +0100)
Signed-off-by: Adrien Gallouët <redacted>
common/hf-cache.cpp

index 3fb9f3ffc81a96c8c0a460ef346191dcc77d7ab5..80dcab0177af5a6c7eefd3caa7f681dab533bbab 100644 (file)
@@ -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")},