Closed thatsdone closed 1 month ago
Thank you for creating this @thatsdone!
Yes, we removed PyTorchJobClient in favour to unify TrainingClient: https://github.com/kubeflow/training-operator/pull/1719.
Please use the latest version for the SDK: kubeflow-training==1.8.0rc0
@andreyvelich OK, understood. Then, I think it's better start preparation to update the document, I think. :)
Here is how I checked.
$ pip3 list | grep kubeflow-training
kubeflow-training 1.8.0rc0
$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from kubeflow.training.api.training_client import TrainingClient
>>>
Thanks a lot! I'm closing this issue.
Yes, this doc is out of date unfortunately; https://github.com/kubeflow/training-operator/tree/master/sdk/python#documentation-for-api-endpoints. We will work on it as part of this: https://github.com/kubeflow/katib/issues/2081
Hello, I noticed that now PyTorchJobClient is missing.
I installed training-operator (1.7.0) from pypi on my Ubuntu 22.04 box. TFJobClinet looks like also missing.
Here are procedures for reproducing the issue.