From 5add51f02bf6d1bb38379d7ba72d2feddba3cf59 Mon Sep 17 00:00:00 2001 From: lyd911 Date: Sat, 28 Mar 2020 23:03:29 +0800 Subject: [PATCH] fixed docker image name in README and yaml file --- README.md | 10 +++++----- examples/ms-dist-train.yaml | 4 ++-- examples/ms-mnist.yaml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5533b7f..fe76ebf 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ MindSpore docker image is hosted on [Docker Hub](https://hub.docker.com/reposito you can directly fetch the image using the below command: ``` -docker pull mindspore/mindspore:0.1.0-alpha +docker pull mindspore/mindspore-cpu:0.1.0-alpha ``` ### Design @@ -41,7 +41,7 @@ metadata: name: msjob-mnist spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] @@ -92,7 +92,7 @@ The MindSpore image we download from docker hub is `0.1.0-alpha` version: ``` REPOSITORY TAG IMAGE ID CREATED SIZE -mindspore/mindspore 0.1.0-alpha 1cefbd0f7846 2 days ago 1.69GB +mindspore/mindspore-cpu: 0.1.0-alpha 1cefbd0f7846 2 days ago 1.69GB ``` MindSpore supports heterogeneous computing including multiple hardware and @@ -217,7 +217,7 @@ spec: template: spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] @@ -240,7 +240,7 @@ spec: template: spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] diff --git a/examples/ms-dist-train.yaml b/examples/ms-dist-train.yaml index 0748dec..e479bc8 100644 --- a/examples/ms-dist-train.yaml +++ b/examples/ms-dist-train.yaml @@ -12,7 +12,7 @@ spec: template: spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] @@ -35,7 +35,7 @@ spec: template: spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] diff --git a/examples/ms-mnist.yaml b/examples/ms-mnist.yaml index ffb7211..c7fa930 100644 --- a/examples/ms-mnist.yaml +++ b/examples/ms-mnist.yaml @@ -4,7 +4,7 @@ metadata: name: msjob-mnist spec: containers: - - image: mindspore/mindspore:0.1.0-alpha + - image: mindspore/mindspore-cpu:0.1.0-alpha imagePullPolicy: IfNotPresent name: msjob-mnist command: ["/bin/bash", "-c", "python /tmp/test/MNIST/lenet.py"] -- GitLab