Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ezesc-101 #6

Open
wants to merge 1 commit into
base: ez-gl-main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions docs/ezesc-101
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
apiVersion: kubeflow.org/v1
kind: PyTorchJob
metadata:
name: label-pytorch-mnist-ddp-cpu
labels:
hpecp.hpe.com/fsmount: t1
spec:
pytorchReplicaSpecs:
Master:
replicas: 1
restartPolicy: OnFailure
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
hpecp.hpe.com/fsmount: t1
spec:
containers:
- name: pytorch
image: gcr.io/kubeflow-ci/pytorch-dist-mnist-test:v1.0
volumeMounts:
- mountPath: /mnt/kubeflow-gcfs
name: data-volume
- mountPath: /bd-fs-mnt
name: ezmount
resources:
limits:
cpu: "1"
memory: "2Gi"
nvidia.com/gpu: "0"
env:
- name: https_proxy
value: "http://web-proxy.corp.hpecorp.net:8080"
- name: http_proxy
value: "http://web-proxy.corp.hpecorp.net:8080"
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: pvcpy
readOnly: false
- name: ezmount
hostPath:
path: /opt/bluedata/share/t1
Worker:
replicas: 3
restartPolicy: OnFailure
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
hpecp.hpe.com/fsmount: t1
spec:
containers:
- name: pytorch
image: gcr.io/kubeflow-ci/pytorch-dist-mnist-test:v1.0
volumeMounts:
- mountPath: /mnt/kubeflow-gcfs
name: data-volume
resources:
limits:
cpu: "1"
memory: "2Gi"
nvidia.com/gpu: "0"
env:
- name: https_proxy
value: "http://web-proxy.corp.hpecorp.net:8080"
- name: http_proxy
value: "http://web-proxy.corp.hpecorp.net:8080"
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: pvcpy
readOnly: false