Update .travis.yml

This commit is contained in:
Martin Kroeker 2022-09-10 16:40:53 +02:00 committed by GitHub
parent d679cb2a6b
commit 8cd4228f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -41,14 +41,14 @@ matrix:
- conda activate #condas
- conda install -y astunparse numpy ninja pyyaml setuptools cmake cffi typing_extensions future six requests dataclasses hypothesis expecttest
- 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))/../"}
- cd pytorch
- #cd pytorch
- #python3 setup.py install
- mv test test.orig
- wget https://www.mkroeker.com/pytorchtest.tbz
- tar jxf pytorchtest.tbz
- cd test
- #mv test test.orig
- wget https://www.mkroeker.com/pytorch.tbz
- tar jxf pytorch.tbz
- cd pytorch/test
- sed -i -e "s/@onlyCUDA//g" -e "s/@largeTensorTest('12GB')//g" test_nn.py
- python3 test_nn.py TestNNDeviceTypeCPU.test_conv_large_cpu
- cp ../../libopenblas.so $HOME/conda/lib