Closed saileshd1402 closed 2 months ago
Totals | |
---|---|
Change from base Build 10963743211: | 0.0% |
Covered Lines: | 66 |
Relevant Lines: | 66 |
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: andreyvelich
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it: This PR fixes a minor bug in the wait_for_job_conditions function of the python training SDK
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged): Fixes #Checklist:
Bug
job_kind
(which is not PyTorch job kind) is passed inwait_for_job_conditions
the SDK throws a ValueError. Example code:TrainingClient(namespace=namespace).wait_for_job_conditions(name, job_kind=constants.TFJOB_KIND)
Error:
Fix
PyTorchJob
from here which leads to the error.