Skip to content

Commit 34db7a7

Browse files
committed
add torchrun default
1 parent ef32805 commit 34db7a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

olmoearth_pretrain/internal/experiment.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def launch(config: OlmoEarthExperimentConfig) -> None:
275275
logger.info("Launching the experiment")
276276
logger.info(config)
277277
# Set follow=False if you don't want to stream the logs to the terminal
278-
config.launch.launch(follow=False)
278+
# Default to enabling torchrun so we can run multi gpu scripts on single gpu
279+
config.launch.launch(follow=False, torchrun=True)
279280

280281

281282
def prep(config: OlmoEarthExperimentConfig) -> None:

0 commit comments

Comments
 (0)