Skip to content

Commit

Permalink
Update api.py (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
yikaiMeta committed Apr 29, 2024
1 parent 31e281e commit eb7e3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchx/runner/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def run_component(
parent_run_id=parent_run_id,
)
handle = self.schedule(dryrun_info)
ctx._torchx_event.workspace = workspace
ctx._torchx_event.scheduler = none_throws(dryrun_info._scheduler)
ctx._torchx_event.app_image = none_throws(dryrun_info._app).roles[0].image
ctx._torchx_event.app_id = parse_app_handle(handle)[2]
Expand Down

0 comments on commit eb7e3d8

Please sign in to comment.