Update find_cached.py

The cache name is lowercase
This commit is contained in:
Ashan Parmar
2026-02-20 18:04:59 -07:00
committed by GitHub
parent b24c32c024
commit 3bcbee2d93
+1 -1
View File
@@ -19,7 +19,7 @@ def find_model_path(model_name, gguf_in_repo="model.gguf"):
The full path to the cached model, or None if not found
"""
cache_name = model_name.replace("/", "--")
cache_name = model_name.replace("/", "--").lower()
snapshots_dir = os.path.join(
CACHE_DIR, f"models--{cache_name}", "snapshots"
)