File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 6565
6666if [ " ${TRAVIS_OS_NAME} " = " windows" ] && [ " $IDX " = " cu110" ]; then
6767 export CUDA_SHORT=11.0
68- export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/11.0 .2/local_installers
68+ export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT} .2/local_installers
6969 export CUDA_FILE=cuda_${CUDA_SHORT} .2_451.48_win10.exe
7070 export TOOLKIT=" cudatoolkit=${CUDA_SHORT} "
7171fi
@@ -96,9 +96,9 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ] && [ "${IDX}" != "
9696fi
9797
9898if [ " ${TRAVIS_OS_NAME} " = " linux" ] && [ " ${IDX} " = " cu110" ]; then
99- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
99+ wget -nv https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
100100 sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
101- wget https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
101+ wget -nv https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
102102 sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
103103 sudo apt-key add /var/cuda-repo-ubuntu1804-11-0-local/7fa2af80.pub
104104 sudo apt update -qq
@@ -123,4 +123,8 @@ if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
123123 PATH=${CUDA_HOME} /bin:$PATH
124124 PATH=/c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH
125125 nvcc --version
126+
127+ # TODO
128+ ls C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.0
129+ nvidia-smi
126130fi
Original file line number Diff line number Diff line change 1010if [ " ${TRAVIS_OS_NAME} " = " windows" ] && [ " ${TORCH_VERSION} " = " 1.7.0" ]; then
1111 echo " Fix nvcc for PyTorch 1.7.0"
1212 sed -i.bak ' /static constexpr Symbol Kind/d' /c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/ir/ir.h
13-
14- echo " -------------------------"
15- sed -n ' 1327,1375p' /c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/ir/ir.h
16- echo " -------------------------"
1713fi
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ def get_extensions():
2525 extra_link_args = []
2626
2727 info = parallel_info ()
28- print (info )
2928 if 'parallel backend: OpenMP' in info and 'OpenMP not found' not in info :
3029 extra_compile_args ['cxx' ] += ['-DAT_PARALLEL_OPENMP' ]
3130 if sys .platform == 'win32' :
You can’t perform that action at this time.
0 commit comments