File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11sudo apt-get update
22sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev libsox-fmt-all
33
4- export PATH=/opt/conda/bin:$PATH
5-
6- # # Build pytorch
7- export CMAKE_PREFIX_PATH=" $( dirname $( which conda) ) /../" # [anaconda root directory]
4+ # Install a nightly build of pytorch
85
9- # Install basic pytorch dependencies
10- conda install numpy pyyaml mkl mkl-include setuptools cmake=3.5.0 cffi typing
11- conda install -c mingfeima mkldnn
6+ # GPU, requires CUDA version 9.0 and python version 3.6
7+ pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly-2018.8.23.dev1-cp36-cp36m-linux_x86_64.whl
128
13- # Add LAPACK support for the GPU
14- conda install -c pytorch magma-cuda80 # or magma-cuda90 if CUDA 9
9+ # CPU
10+ # pip install torch_nightly -f https://download. pytorch.org/whl/nightly/cpu/torch_nightly-2018.8.24.dev1-cp36-cp36m-linux_x86_64.whl
1511
16- # Clone pytorch repo and build from scratch
17- git clone https://github.com/pytorch/pytorch.git
18- pushd pytorch
19- git submodule update --init
20- .jenkins/pytorch/build.sh
21- popd
22-
23- # # install doc dependencies
12+ # # Install doc dependencies
2413
14+ export PATH=/opt/conda/bin:$PATH
2515# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
2616# this is a workaround to the issue.
2717conda install -y sphinx pandas pillow=4.1.1
You can’t perform that action at this time.
0 commit comments