File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
examples/v1beta1/trial-images/pytorch-mnist Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime
1
+ # Pytorch=1.11.0, cuda=11.6.0
2
+ # Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel_22-08.html#rel_22-08
3
+ FROM nvcr.io/nvidia/pytorch:22.02-py3
2
4
3
5
ADD examples/v1beta1/trial-images/pytorch-mnist /opt/pytorch-mnist
4
6
Original file line number Diff line number Diff line change @@ -120,12 +120,6 @@ echo -e "\nBuilding training container images..."
120
120
if [ ! " $ARCH " = " amd64" ]; then
121
121
echo -e " \nSome training container images are supported only amd64."
122
122
else
123
- echo -e " \nBuilding PyTorch mnist training container example with CPU support...\n"
124
- docker buildx build --platform linux/amd64 -t " ${REGISTRY} /pytorch-mnist-cpu:${TAG} " -f examples/${VERSION} /trial-images/pytorch-mnist/Dockerfile.cpu .
125
-
126
- echo -e " \nBuilding PyTorch mnist training container example with GPU support...\n"
127
- docker buildx build --platform linux/amd64 -t " ${REGISTRY} /pytorch-mnist-gpu:${TAG} " -f examples/${VERSION} /trial-images/pytorch-mnist/Dockerfile.gpu .
128
-
129
123
echo -e " \nBuilding Keras CIFAR-10 CNN training container example for ENAS with GPU support...\n"
130
124
docker buildx build --platform linux/amd64 -t " ${REGISTRY} /enas-cnn-cifar10-gpu:${TAG} " -f examples/${VERSION} /trial-images/enas-cnn-cifar10/Dockerfile.gpu .
131
125
142
136
echo -e " \nBuilding mxnet mnist training container example...\n"
143
137
docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /mxnet-mnist:${TAG} " -f examples/${VERSION} /trial-images/mxnet-mnist/Dockerfile .
144
138
139
+ echo -e " \nBuilding PyTorch mnist training container example with CPU support...\n"
140
+ docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /pytorch-mnist-cpu:${TAG} " -f examples/${VERSION} /trial-images/pytorch-mnist/Dockerfile.cpu .
141
+
142
+ echo -e " \nBuilding PyTorch mnist training container example with GPU support...\n"
143
+ docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /pytorch-mnist-gpu:${TAG} " -f examples/${VERSION} /trial-images/pytorch-mnist/Dockerfile.gpu .
144
+
145
145
echo -e " \nBuilding Tensorflow with summaries mnist training container example...\n"
146
146
docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /tf-mnist-with-summaries:${TAG} " -f examples/${VERSION} /trial-images/tf-mnist-with-summaries/Dockerfile .
147
147
You can’t perform that action at this time.
0 commit comments