Update .travis.yml
This commit is contained in:
parent
d679cb2a6b
commit
8cd4228f54
12
.travis.yml
12
.travis.yml
|
@ -41,14 +41,14 @@ matrix:
|
||||||
- conda activate #condas
|
- conda activate #condas
|
||||||
- conda install -y astunparse numpy ninja pyyaml setuptools cmake cffi typing_extensions future six requests dataclasses hypothesis expecttest
|
- conda install -y astunparse numpy ninja pyyaml setuptools cmake cffi typing_extensions future six requests dataclasses hypothesis expecttest
|
||||||
- conda install -y pytorch
|
- conda install -y pytorch
|
||||||
- git clone --recursive https://github.com/pytorch/pytorch
|
- #git clone --recursive https://github.com/pytorch/pytorch
|
||||||
- #export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
- #export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
||||||
- cd pytorch
|
- #cd pytorch
|
||||||
- #python3 setup.py install
|
- #python3 setup.py install
|
||||||
- mv test test.orig
|
- #mv test test.orig
|
||||||
- wget https://www.mkroeker.com/pytorchtest.tbz
|
- wget https://www.mkroeker.com/pytorch.tbz
|
||||||
- tar jxf pytorchtest.tbz
|
- tar jxf pytorch.tbz
|
||||||
- cd test
|
- cd pytorch/test
|
||||||
- sed -i -e "s/@onlyCUDA//g" -e "s/@largeTensorTest('12GB')//g" test_nn.py
|
- sed -i -e "s/@onlyCUDA//g" -e "s/@largeTensorTest('12GB')//g" test_nn.py
|
||||||
- python3 test_nn.py TestNNDeviceTypeCPU.test_conv_large_cpu
|
- python3 test_nn.py TestNNDeviceTypeCPU.test_conv_large_cpu
|
||||||
- cp ../../libopenblas.so $HOME/conda/lib
|
- cp ../../libopenblas.so $HOME/conda/lib
|
||||||
|
|
Loading…
Reference in New Issue