cadenmackenzie преди 8 месеца
родител
ревизия
32560513cc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      exo/download/hf/hf_shard_download.py

+ 1 - 0
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}")