Skip to content

Commit ac0cc5b

Browse files
author
Will Feng
committed
update
1 parent 2eca83c commit ac0cc5b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
113113
command: |
114114
set -e
115115
116-
export pyTorchDockerImageTag=291
116+
export pyTorchDockerImageTag=300
117117
echo "PyTorchDockerImageTag: "${pyTorchDockerImageTag}
118118
119119
cat >/home/circleci/project/ci_build_script.sh <<EOL

.jenkins/build.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev
1414
export PATH=/opt/conda/bin:$PATH
1515
rm -rf src
1616
pip install -r $DIR/../requirements.txt
17-
pip uninstall -y torchvision || true
1817

1918
export PATH=/opt/conda/bin:$PATH
2019
conda install -y sphinx==1.8.2 pandas
@@ -25,8 +24,10 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
2524
# this is a workaround to the issue.
2625
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2726

28-
# Install torchvision from pip
29-
pip install torchvision --no-deps
27+
# Install torchvision from conda
28+
pip uninstall -y torchvision || true
29+
pip uninstall -y torchvision || true
30+
conda install -c pytorch torchvision
3031

3132
# Install torchaudio from source
3233
git clone https://github.com/pytorch/audio --quiet

0 commit comments

Comments
 (0)