Skip to content

Commit

Permalink
Update kubeflow sample pytorchjob to pytorch 2.x and cuda 12.x (#1910) (
Browse files Browse the repository at this point in the history
#2019)

Signed-off-by: wangdepeng <wangdepeng_yewu@cmss.chinamobile.com>
Co-authored-by: wangdepeng <wangdepeng_yewu@cmss.chinamobile.com>
  • Loading branch information
k8s-infra-cherrypick-robot and village-way authored Apr 19, 2024
1 parent d5968c4 commit d4540e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions site/static/examples/jobs/sample-pytorchjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
spec:
containers:
- name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:v1beta1-45c5727
image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v1beta1-21320b6
# If you have gpu, pytorch-mnist-gpu would be helpful. pytorch-mnist-gpu is approximately 22GB
# image: docker.io/kubeflowkatib/pytorch-mnist-cpu:latest
imagePullPolicy: Always
command:
- "python3"
Expand All @@ -31,7 +33,9 @@ spec:
spec:
containers:
- name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:v1beta1-45c5727
image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v1beta1-21320b6
# If you have gpu, pytorch-mnist-gpu would be helpful. pytorch-mnist-gpu is approximately 22GB
# image: docker.io/kubeflowkatib/pytorch-mnist-cpu:latest
imagePullPolicy: Always
command:
- "python3"
Expand Down

0 comments on commit d4540e3

Please sign in to comment.