Ver Fonte

comment

cadenmackenzie há 8 meses atrás
pai
commit
32560513cc
1 ficheiros alterados com 1 adições e 0 exclusões
  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}")