File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
examples/v1beta1/trial-images/darts-cnn-cifar10 Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- ARG cuda_version=10 .0
2
- ARG cudnn_version=7
3
- FROM pytorch/ pytorch:1.0-cuda${cuda_version}-cudnn${cudnn_version}-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
4
4
5
5
ENV TARGET_DIR /opt/darts-cnn-cifar10
6
6
Original file line number Diff line number Diff line change @@ -120,16 +120,16 @@ 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 CIFAR-10 CNN training container example for DARTS with CPU support...\n"
124
- docker buildx build --platform linux/amd64 -t " ${REGISTRY} /darts-cnn-cifar10-cpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.cpu .
125
-
126
- echo -e " \nBuilding PyTorch CIFAR-10 CNN training container example for DARTS with GPU support...\n"
127
- docker buildx build --platform linux/amd64 -t " ${REGISTRY} /darts-cnn-cifar10-gpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.gpu .
128
-
129
123
echo -e " \nBuilding dynamic learning rate training container example for PBT...\n"
130
124
docker buildx build --platform linux/amd64 -t " ${REGISTRY} /simple-pbt:${TAG} " -f examples/${VERSION} /trial-images/simple-pbt/Dockerfile .
131
125
fi
132
126
127
+ echo -e " \nBuilding PyTorch CIFAR-10 CNN training container example for DARTS with CPU support...\n"
128
+ docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /darts-cnn-cifar10-cpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.cpu .
129
+
130
+ echo -e " \nBuilding PyTorch CIFAR-10 CNN training container example for DARTS with GPU support...\n"
131
+ docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /darts-cnn-cifar10-gpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.gpu .
132
+
133
133
echo -e " \nBuilding mxnet mnist training container example...\n"
134
134
docker buildx build --platform " linux/$ARCH " -t " ${REGISTRY} /mxnet-mnist:${TAG} " -f examples/${VERSION} /trial-images/mxnet-mnist/Dockerfile .
135
135
You can’t perform that action at this time.
0 commit comments