Skip to content

Commit

Permalink
add CLUSTERS constant
Browse files Browse the repository at this point in the history
  • Loading branch information
favyen2 committed Feb 6, 2025
1 parent 723b9c2 commit fdc56b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rslp/sentinel2_vessels/job_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

from .predict_pipeline import PredictionTask

CLUSTERS = [
"ai2/jupiter-cirrascale-2",
]


def launch_job(image_name: str, tasks: list[PredictionTask]) -> None:
"""Launch job for the Sentinel-2 scene.
Expand Down Expand Up @@ -60,9 +64,7 @@ def launch_job(image_name: str, tasks: list[PredictionTask]) -> None:
"/tmp/x/",
],
constraints=Constraints(
cluster=[
"ai2/jupiter-cirrascale-2",
]
cluster=CLUSTERS,
),
preemptible=True,
datasets=[
Expand Down

0 comments on commit fdc56b3

Please sign in to comment.