Skip to content

Commit

Permalink
Add install pytorch operator step (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
royxue authored and k8s-ci-robot committed Jul 25, 2018
1 parent a287653 commit 1343f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/docs/started/pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ If it is not included you can add it as follows

```
cd ${KSONNET_APP}
ks pkg install kubeflow/pytorch-job
ks generate pytorch-operator pytorch-operator
ks apply ${ENVIRONMENT} -c pytorch-operator
```
Expand All @@ -58,7 +59,7 @@ You should now be able to see the created pods matching the specified number of
```
kubectl get pods -l pytorch_job_name=dist-mnist-for-e2e-test
```
Training should run for about 10 epochs and takes 5-10 minutes on a cpu cluster. Logs can be inspected to see its training progress.
Training should run for about 10 epochs and takes 5-10 minutes on a cpu cluster. Logs can be inspected to see its training progress.

```
PODNAME=$(kubectl get pods -l pytorch_job_name=dist-mnist-for-e2e-test,task_index=0 -o name)
Expand Down

0 comments on commit 1343f98

Please sign in to comment.