← back to Exo
comment
32560513ccf768b042432ad91f3141962e673cbd · 2024-11-18 14:25:44 -0800 · cadenmackenzie
Files touched
M exo/download/hf/hf_shard_download.py
Diff
commit 32560513ccf768b042432ad91f3141962e673cbd
Author: cadenmackenzie <cadenmackenzie@gmail.com>
Date: Mon Nov 18 14:25:44 2024 -0800
comment
---
exo/download/hf/hf_shard_download.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/exo/download/hf/hf_shard_download.py b/exo/download/hf/hf_shard_download.py
index 5b98e489..01c3a277 100644
--- a/exo/download/hf/hf_shard_download.py
+++ b/exo/download/hf/hf_shard_download.py
@@ -96,6 +96,7 @@ class HFShardDownloader(ShardDownloader):
return None
try:
+ # If no snapshot directory exists, return None - no need to check remote files
snapshot_dir = await get_local_snapshot_dir(self.current_repo_id, self.revision)
if not snapshot_dir:
if DEBUG >= 2: print(f"No snapshot directory found for {self.current_repo_id}")
← 3ac86872 adding redirect for all requests
·
back to Exo
·
removing traceback db610f59 →