common : make LLAMA_CACHE the one cache for everything (#21009)

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Adrien Gallouët
2026-03-26 12:04:57 +01:00
committed by GitHub
parent 3cba8bba18
commit 93dfbc1291
+1
View 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")},