Implement UTs for Plugin CustomValidations
What you would like to be added?
It would be great to add more fine-grained UTs for CustomValidations in each plugin.
- [x] MPI: @tenzen-y
- Target Function: https://github.com/kubeflow/trainer/blob/8aa97a4806b00752acac14fbad2cdee6e36d40c2/pkg/runtime/framework/plugins/mpi/mpi.go#L82
- PR: https://github.com/kubeflow/trainer/pull/2555
- [ ] JobSet: @Harshal292004
- Target Function: https://github.com/kubeflow/trainer/blob/8aa97a4806b00752acac14fbad2cdee6e36d40c2/pkg/runtime/framework/plugins/jobset/jobset.go#L78
- PR:
- [x] Torch: @IRONICBo
- Target Function: https://github.com/kubeflow/trainer/blob/8aa97a4806b00752acac14fbad2cdee6e36d40c2/pkg/runtime/framework/plugins/torch/torch.go#L55
- PR: https://github.com/kubeflow/trainer/pull/2560
Why is this needed?
This allows us to strictly verify whether or not each validation works correctly.
Love this feature?
Give it a 👍 We prioritize the features with most 👍
If anyone wants to take either plugin, please reach out to me. I can assign one of them to you.
@tenzen-y May I take the MPI and JobSet Plugins
@tenzen-y May I take the MPI and JobSet Plugins
MPI already has been opened. So, I can assign JobSet to you.
Please assign Torch to me, Thanks! @tenzen-y.
/assign @tenzen-y @Harshal292004 @IRONICBo
@tenzen-y What exactly needs to be done here ?
Do I need to increase the test coverage for JobSet validation?
Do I need to increase the test coverage for
JobSetvalidation?
I think you are right, we can refer to @tenzen-y PR , https://github.com/kubeflow/trainer/pull/2555.
Hey @tenzen-y , Could you assign me jobset ?
Hey @Garvit-77 I am working on that
/reopen
@tenzen-y: Reopened this issue.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@tenzen-y I have implemented JobSet validate tests . Could you please review it ?