-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GSoC] Add unit tests for
tune
API (#2423)
* add unit tests for tune api Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update unit tests and fix api errors Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * test Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * test Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update unit tests Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * undo changes to Makefile Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * delete debug code Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update unit test Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update the version of training operator Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * adjust 'list_namespaced_persistent_volume_claim' to be called with keyword argument Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * create constant for namespace when check pvc creation error Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * add type check for 'trainer_parameters' Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * update test names Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * fix format Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * add verification for key Experiment information & add 'kubeflow-training[huggingface' into dependencies Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * rerun tests Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * add verification for objective metric name Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * delete unnecessary changes Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * unify objective function Signed-off-by: helenxie-bit <helenxiehz@gmail.com> * unify objective function Signed-off-by: helenxie-bit <helenxiehz@gmail.com> --------- Signed-off-by: helenxie-bit <helenxiehz@gmail.com>
- Loading branch information
1 parent
2567939
commit 40e1e65
Showing
3 changed files
with
338 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
grpcio-testing==1.64.1 | ||
pytest==7.2.0 | ||
kubeflow-training[huggingface]==1.8.1 |