[object Object]

← back to Exo

Prefer higher % downloaded nodes for API placement previews (#1795)

30fd5aa1ccd61dc39306845b6290f9ce14d5a742 · 2026-03-25 17:26:31 +0000 · ciaranbor

Follow up to https://github.com/exo-explore/exo/pull/1767

Same thing for placement previews through API

Files touched

Diff

commit 30fd5aa1ccd61dc39306845b6290f9ce14d5a742
Author: ciaranbor <81697641+ciaranbor@users.noreply.github.com>
Date:   Wed Mar 25 17:26:31 2026 +0000

    Prefer higher % downloaded nodes for API placement previews (#1795)
    
    Follow up to https://github.com/exo-explore/exo/pull/1767
    
    Same thing for placement previews through API
---
 src/exo/api/main.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/exo/api/main.py b/src/exo/api/main.py
index 32900c78..3927ee5e 100644
--- a/src/exo/api/main.py
+++ b/src/exo/api/main.py
@@ -414,6 +414,7 @@ class API:
                 node_network=self.state.node_network,
                 topology=self.state.topology,
                 current_instances=self.state.instances,
+                download_status=self.state.downloads,
             )
         except ValueError as exc:
             raise HTTPException(status_code=400, detail=str(exc)) from exc
@@ -476,6 +477,7 @@ class API:
                     topology=self.state.topology,
                     current_instances=self.state.instances,
                     required_nodes=required_nodes,
+                    download_status=self.state.downloads,
                 )
             except ValueError as exc:
                 if (model_card.model_id, sharding, instance_meta, 0) not in seen:

← 6de14cfe Support image generation cancellation (#1774)  ·  back to Exo  ·  Fix macOS build bundling wrong macmon binary (#1797) f318f9ea →