瀏覽代碼

Merge pull request #531 from exo-explore/fix_noop

fix noopsharddownloader
Alex Cheema 8 月之前
父節點
當前提交
881d60d91e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      exo/download/shard_download.py

+ 3 - 0
exo/download/shard_download.py

@@ -44,3 +44,6 @@ class NoopShardDownloader(ShardDownloader):
   @property
   def on_progress(self) -> AsyncCallbackSystem[str, Tuple[Shard, RepoProgressEvent]]:
     return AsyncCallbackSystem()
+
+  async def get_shard_download_status(self) -> Optional[Dict[str, float]]:
+    return None