File tree 1 file changed +6
-2
lines changed
src/lightning/data/streaming
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -303,13 +303,17 @@ def _execute(
303
303
if not _LIGHTNING_SDK_AVAILABLE :
304
304
raise ModuleNotFoundError ("The `lightning_sdk` is required." )
305
305
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
+
306
310
lightning_branch = os .getenv ("LIGHTNING_BRANCH" , "" )
307
311
if lightning_branch :
308
- lightning_branch = f" LIGHTNING_BRANCH={ lightning_branch } "
312
+ lightning_branch = f" LIGHTNING_BRANCH={ lightning_branch } "
309
313
310
314
studio = Studio ()
311
315
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 )} " ,
313
317
name = name ,
314
318
num_instances = num_nodes ,
315
319
studio_id = studio ._studio .id ,
You can’t perform that action at this time.
0 commit comments