浏览代码

fix noopsharddownloader

Alex Cheema 8 月之前
父节点
当前提交
97373d5329
共有 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