-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump up supported Pytorch operator versions from v1alpha2/v1beta1 to …
…v1beta1/v1beta2 to support Kubeflow 0.5 - Refactor training manifests from v1alpha2 to v1beta2 - Update documents
- Loading branch information
Showing
5 changed files
with
8 additions
and
8 deletions.
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
1 change: 0 additions & 1 deletion
1
pytorch_mnist/ks_app/components/train_model_CPU_v1alpha2.jsonnet
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
pytorch_mnist/ks_app/components/train_model_CPU_v1beta2.jsonnet
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"apiVersion":"kubeflow.org/v1beta2","kind":"PyTorchJob","metadata":{"name":"pytorch-mnist-ddp-cpu"},"spec":{"pytorchReplicaSpecs":{"Master":{"replicas":1,"restartPolicy":"OnFailure","template":{"spec":{"containers":[{"image":"gcr.io/kubeflow-examples/pytorch-mnist/traincpu","name":"pytorch","volumeMounts":[{"mountPath":"/mnt/kubeflow-gcfs","name":"kubeflow-gcfs"}]}],"volumes":[{"name":"kubeflow-gcfs","persistentVolumeClaim":{"claimName":"kubeflow-gcfs","readOnly":false}}]}}},"Worker":{"replicas":3,"restartPolicy":"OnFailure","template":{"spec":{"containers":[{"image":"gcr.io/kubeflow-examples/pytorch-mnist/traincpu","name":"pytorch","volumeMounts":[{"mountPath":"/mnt/kubeflow-gcfs","name":"kubeflow-gcfs"}]}],"volumes":[{"name":"kubeflow-gcfs","persistentVolumeClaim":{"claimName":"kubeflow-gcfs","readOnly":false}}]}}}}}} |
1 change: 0 additions & 1 deletion
1
pytorch_mnist/ks_app/components/train_model_GPU_v1alpha2.jsonnet
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
pytorch_mnist/ks_app/components/train_model_GPU_v1beta2.jsonnet
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"apiVersion":"kubeflow.org/v1beta2","kind":"PyTorchJob","metadata":{"name":"pytorch-mnist-ddp-gpu"},"spec":{"pytorchReplicaSpecs":{"Master":{"replicas":1,"restartPolicy":"OnFailure","template":{"spec":{"containers":[{"image":"gcr.io/kubeflow-examples/pytorch-mnist/traingpu","name":"pytorch","resources":{"limits":{"nvidia.com/gpu":1}},"volumeMounts":[{"mountPath":"/mnt/kubeflow-gcfs","name":"kubeflow-gcfs"}]}],"volumes":[{"name":"kubeflow-gcfs","persistentVolumeClaim":{"claimName":"kubeflow-gcfs","readOnly":false}}]}}},"Worker":{"replicas":3,"restartPolicy":"OnFailure","template":{"spec":{"containers":[{"image":"gcr.io/kubeflow-examples/pytorch-mnist/traingpu","name":"pytorch","resources":{"limits":{"nvidia.com/gpu":1}},"volumeMounts":[{"mountPath":"/mnt/kubeflow-gcfs","name":"kubeflow-gcfs"}]}],"volumes":[{"name":"kubeflow-gcfs","persistentVolumeClaim":{"claimName":"kubeflow-gcfs","readOnly":false}}]}}}}}} |