torchx
torchx copied to clipboard
Introduce ComponentRunner and move run_component + dryrun_component into it
Summary: This diff
- We introduce ComponentRunner
- Move run_component and dryrun_component into it
- Add warnings.warn() with PendingDeprecationWarning for deprecation of run_component and dryrun_component on the existing Runner. In the future diffs we will slowly move code to use the newer ComponentRunner.
Differential Revision: D87680982
@AbishekS has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87680982.