Skip to content

Commit

Permalink
Remove CUBED_MODAL_FORCE_BUILD env var since modal supports the equiv…
Browse files Browse the repository at this point in the history
…alent MODAL_FORCE_BUILD from version 0.57.42 (#393)
  • Loading branch information
tomwhite authored Feb 22, 2024
1 parent 1e5bcd5 commit e6ef01d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cubed/runtime/executors/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from cubed.spec import Spec

RUNTIME_MEMORY_MIB = 2000
FORCE_BUILD = os.getenv("CUBED_MODAL_FORCE_BUILD") is not None

stub = modal.Stub("cubed-stub")

Expand All @@ -40,8 +39,7 @@
"tenacity",
"toolz",
"zarr",
],
force_build=FORCE_BUILD,
]
)
gcp_image = modal.Image.debian_slim().pip_install(
[
Expand All @@ -54,8 +52,7 @@
"tenacity",
"toolz",
"zarr",
],
force_build=FORCE_BUILD,
]
)


Expand Down

0 comments on commit e6ef01d

Please sign in to comment.