Skip to content

Commit eb7e3d8

Browse files
authored
Update api.py (pytorch#899)
1 parent 31e281e commit eb7e3d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchx/runner/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def run_component(
187187
parent_run_id=parent_run_id,
188188
)
189189
handle = self.schedule(dryrun_info)
190+
ctx._torchx_event.workspace = workspace
190191
ctx._torchx_event.scheduler = none_throws(dryrun_info._scheduler)
191192
ctx._torchx_event.app_image = none_throws(dryrun_info._app).roles[0].image
192193
ctx._torchx_event.app_id = parse_app_handle(handle)[2]

0 commit comments

Comments
 (0)