cadenmackenzie hace 8 meses
padre
commit
32560513cc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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}")