소스 검색

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