File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev
14
14
export PATH=/opt/conda/bin:$PATH
15
15
rm -rf src
16
16
pip install -r $DIR /../requirements.txt
17
- pip uninstall -y torchvision || true
18
17
19
18
export PATH=/opt/conda/bin:$PATH
20
19
conda install -y sphinx==1.8.2 pandas
@@ -25,14 +24,6 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
25
24
# this is a workaround to the issue.
26
25
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
27
26
28
- # Install torchvision from conda (and install torch along with it)
29
- if [[ $( pip show torch) ]]; then
30
- # Clean up previous PyTorch installations
31
- pip uninstall -y torch || true
32
- pip uninstall -y torch || true
33
- fi
34
- conda install -c pytorch torchvision
35
-
36
27
# Install torchaudio from source
37
28
git clone https://github.com/pytorch/audio --quiet
38
29
pushd audio
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ sphinx-gallery
5
5
tqdm
6
6
numpy
7
7
matplotlib
8
+ torch
8
9
torchvision
9
10
PyHamcrest
10
11
bs4
You can’t perform that action at this time.
0 commit comments