File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/lightning/data/streaming Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -303,13 +303,17 @@ def _execute(
303303 if not _LIGHTNING_SDK_AVAILABLE :
304304 raise ModuleNotFoundError ("The `lightning_sdk` is required." )
305305
306+ lightning_skip_install = os .getenv ("LIGHTNING_SKIP_INSTALL" , "" )
307+ if lightning_skip_install :
308+ lightning_skip_install = f" LIGHTNING_SKIP_INSTALL={ lightning_skip_install } "
309+
306310 lightning_branch = os .getenv ("LIGHTNING_BRANCH" , "" )
307311 if lightning_branch :
308- lightning_branch = f" LIGHTNING_BRANCH={ lightning_branch } "
312+ lightning_branch = f" LIGHTNING_BRANCH={ lightning_branch } "
309313
310314 studio = Studio ()
311315 job = studio ._studio_api .create_data_prep_machine_job (
312- command or f"cd { os .getcwd ()} &&{ lightning_branch } python { ' ' .join (sys .argv )} " ,
316+ command or f"cd { os .getcwd ()} &&{ lightning_skip_install } { lightning_branch } python { ' ' .join (sys .argv )} " ,
313317 name = name ,
314318 num_instances = num_nodes ,
315319 studio_id = studio ._studio .id ,
You can’t perform that action at this time.
0 commit comments