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

Commit 2fc1930

Browse files
authored
Merge branch 'main' into fix/add-extra-things-job-submit
2 parents 4657c63 + 70cd7b4 commit 2fc1930

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
@@ -640,6 +640,7 @@ def launch_cluster_with_skypilot(
640640
cluster_name=cluster_name,
641641
idle_minutes_to_autostop=idle_minutes_to_autostop,
642642
credentials=credentials,
643+
retry_until_up=True,
643644
)
644645
print(f"REQUEST ID: {request_id}")
645646

src/lattice/routes/jobs/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,11 @@ def submit_job_to_existing_cluster(
187187
# Only do sky.launch for file_mounts otherwise skypilot wont honour it
188188
if file_mounts is not None:
189189
request_id = sky.launch(
190-
task, cluster_name=cluster_name, fast=True, no_setup=True
190+
task,
191+
cluster_name=cluster_name,
192+
fast=True,
193+
no_setup=True,
194+
retry_until_up=True,
191195
)
192196
else:
193197
request_id = sky.exec(task, cluster_name=cluster_name)

0 commit comments

Comments
 (0)