Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit f7bf2c0

Browse files
authored
Merge branch 'main' into add/use-fsspec
2 parents 695da4a + 70cd7b4 commit f7bf2c0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/lattice/routes/instances/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ def launch_cluster_with_skypilot(
611611
cluster_name=cluster_name,
612612
idle_minutes_to_autostop=idle_minutes_to_autostop,
613613
credentials=credentials,
614+
retry_until_up=True,
614615
)
615616
print(f"REQUEST ID: {request_id}")
616617

src/lattice/routes/jobs/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,11 @@ def submit_job_to_existing_cluster(
175175
# Only do sky.launch for file_mounts otherwise skypilot wont honour it
176176
if file_mounts is not None:
177177
request_id = sky.launch(
178-
task, cluster_name=cluster_name, fast=True, no_setup=True
178+
task,
179+
cluster_name=cluster_name,
180+
fast=True,
181+
no_setup=True,
182+
retry_until_up=True,
179183
)
180184
else:
181185
request_id = sky.exec(task, cluster_name=cluster_name)

0 commit comments

Comments
 (0)