Skip to content

Commit 7a50530

Browse files
committed
try again
1 parent 151c1d3 commit 7a50530

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

script/cuda.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fi
6565

6666
if [ "${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}"
7171
fi
@@ -96,9 +96,9 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ] && [ "${IDX}" != "
9696
fi
9797

9898
if [ "${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
126130
fi

script/torch.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ fi
1010
if [ "${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 "-------------------------"
1713
fi

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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':

0 commit comments

Comments
 (0)