[object Object]

← back to Exo

fix noopsharddownloader

97373d53293fc48f77b079b5c482c9f3d079c1be · 2024-12-06 13:08:04 +0000 · Alex Cheema

Files touched

Diff

commit 97373d53293fc48f77b079b5c482c9f3d079c1be
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Fri Dec 6 13:08:04 2024 +0000

    fix noopsharddownloader
---
 exo/download/shard_download.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/exo/download/shard_download.py b/exo/download/shard_download.py
index 372ecb29..89d3582e 100644
--- a/exo/download/shard_download.py
+++ b/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

← db7c388a remove origin_node_id  ·  back to Exo  ·  tweak sed, make compile_grpc.sh executable e8ece115 →