Skip to content

Commit

Permalink
torchx - profile scheduler validate call
Browse files Browse the repository at this point in the history
Differential Revision: D66166216

Pull Request resolved: #972
  • Loading branch information
tonykao8080 authored Jan 10, 2025
1 parent 5e44f20 commit ffb6cef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion torchx/runner/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,11 @@ def dryrun(
" Either a patch was built or no changes to workspace was detected."
)

sched._validate(app, scheduler, resolved_cfg)
with log_event(
"validate",
scheduler,
):
sched._validate(app, scheduler, resolved_cfg)
dryrun_info = sched.submit_dryrun(app, resolved_cfg)
dryrun_info._scheduler = scheduler
return dryrun_info
Expand Down

0 comments on commit ffb6cef

Please sign in to comment.