Commit b9d5d863 authored by rusty1s's avatar rusty1s
Browse files

update

parent 14c7ac44
...@@ -17,27 +17,27 @@ env: ...@@ -17,27 +17,27 @@ env:
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110 # - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu # - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92 # - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101 # - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102 # - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.7 # Python 3.7
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu # - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu # - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102 # - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.8 # Python 3.8
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu # - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu # - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
jobs: jobs:
......
...@@ -15,7 +15,7 @@ fi ...@@ -15,7 +15,7 @@ fi
if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu101" ]; then if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$IDX" = "cu101" ]; then
export IDX=cu101 export IDX=cu101
export CUDA_SHORT=10.1 export CUDA_SHORT=10.1
export CUDA=10.1.105-1 export CUDA=10.1.243-1
export UBUNTU_VERSION=ubuntu1804 export UBUNTU_VERSION=ubuntu1804
export CUBLAS=libcublas-dev export CUBLAS=libcublas-dev
export TOOLKIT="cudatoolkit=${CUDA_SHORT}" export TOOLKIT="cudatoolkit=${CUDA_SHORT}"
...@@ -84,6 +84,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ] && [ "${IDX}" != " ...@@ -84,6 +84,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ] && [ "${IDX}" != "
wget -nv "https://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/7fa2af80.pub" wget -nv "https://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/7fa2af80.pub"
sudo apt-key add 7fa2af80.pub sudo apt-key add 7fa2af80.pub
sudo apt update -qq sudo apt update -qq
sudo apt search cuda
sudo apt install -y "cuda-core-${CUDA_SHORT/./-}" "cuda-cudart-dev-${CUDA_SHORT/./-}" "${CUBLAS}" "cuda-cusparse-dev-${CUDA_SHORT/./-}" "cuda-cusolver-dev-${CUDA_SHORT/./-}" "cuda-curand-dev-${CUDA_SHORT/./-}" sudo apt install -y "cuda-core-${CUDA_SHORT/./-}" "cuda-cudart-dev-${CUDA_SHORT/./-}" "${CUBLAS}" "cuda-cusparse-dev-${CUDA_SHORT/./-}" "cuda-cusolver-dev-${CUDA_SHORT/./-}" "cuda-curand-dev-${CUDA_SHORT/./-}"
sudo apt clean sudo apt clean
CUDA_HOME=/usr/local/cuda-${CUDA_SHORT} CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
......
...@@ -5,7 +5,7 @@ import glob ...@@ -5,7 +5,7 @@ import glob
import shutil import shutil
idx = sys.argv[1] idx = sys.argv[1]
assert idx in ['cpu', 'cu92', 'cu101', 'cu102'] assert idx in ['cpu', 'cu92', 'cu101', 'cu102', 'cu110']
dist_dir = osp.join(osp.dirname(osp.abspath(__file__)), '..', 'dist') dist_dir = osp.join(osp.dirname(osp.abspath(__file__)), '..', 'dist')
wheels = glob.glob(osp.join('dist', '**', '*.whl'), recursive=True) wheels = glob.glob(osp.join('dist', '**', '*.whl'), recursive=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment