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}")