Skip to content

Commit 0647560

Browse files
authored
Allow setting app and cfg for all apps
Differential Revision: D71557463 Pull Request resolved: #1027
1 parent af63a6f commit 0647560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchx/schedulers/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ def submit_dryrun(self, app: A, cfg: T) -> D:
185185
if isinstance(app, AppDef):
186186
for role in app.roles:
187187
dryrun_info = role.pre_proc(self.backend, dryrun_info)
188-
dryrun_info._app = app
189-
dryrun_info._cfg = resolved_cfg
188+
dryrun_info._app = app
189+
dryrun_info._cfg = resolved_cfg
190190
return dryrun_info
191191

192192
@abc.abstractmethod

0 commit comments

Comments
 (0)