Skip to content

Commit 451f781

Browse files
authored
Remove unnecessary runner.status call in launcher (#156)
1 parent 94dae7d commit 451f781

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/nemo_run/run/torchx_backend/launcher.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ def launch(
109109
parent_run_id=parent_run_id,
110110
)
111111
logger.info(f"Launched app: {app_handle}")
112-
app_status = runner.status(app_handle)
113-
if app_status:
114-
logger.info(app_status.format())
112+
app_status = specs.AppStatus(state=specs.AppState.SUBMITTED)
115113
if wait:
116114
app_status = wait_and_exit(runner=runner, app_handle=app_handle, log=log)
117115

0 commit comments

Comments
 (0)