Skip to content

Commit f20b871

Browse files
authored
Use Docker image version 291 (pytorch#444)
1 parent a58d4de commit f20b871

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.circleci/config.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,8 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
6565
command: |
6666
set -e
6767
68-
# Get latest PyTorch docker image version
69-
curl -O https://raw.githubusercontent.com/pytorch/pytorch/master/.circleci/config.yml
70-
while read line; do
71-
if [[ "$line" == *PyTorchDockerVersion* ]]; then
72-
export pyTorchDockerImageTag=${line:23} # len("# PyTorchDockerVersion:") == 23
73-
echo "PyTorchDockerImageTag: "${pyTorchDockerImageTag}
74-
break
75-
fi
76-
done < config.yml
68+
export pyTorchDockerImageTag=291
69+
echo "PyTorchDockerImageTag: "${pyTorchDockerImageTag}
7770
7871
cat >/home/circleci/project/ci_build_script.sh <<EOL
7972
# =================== The following code will be executed inside Docker container ===================

0 commit comments

Comments
 (0)