Ver Fonte

fix noopsharddownloader

Alex Cheema há 8 meses atrás
pai
commit
97373d5329
1 ficheiros alterados com 3 adições e 0 exclusões
  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