Commit db7ebce3 authored by rusty1s's avatar rusty1s
Browse files

matrix

parent 3a544b5a
language: python language: python
python:
- "3.6"
- "3.7"
- "3.8"
sudo: enabled sudo: enabled
compiler: compiler:
- gcc - gcc
matrix: jobs:
include: include:
- name: cu92 - os: linux
env: python:
- FORCE_CUDA=1 - '3.6'
- CUDA=9.2.148-1 - '3.7'
- CUDA_SHORT=9.2
- UBUNTU_VERSION=ubuntu1604
- CUBLAS=cuda-cublas-dev-${CUDA_SHORT/./-}
- TORCH=1.4.0+cu92
- name: cu100
env: env:
- FORCE_CUDA=1 - FORCE_CUDA=1 CUDA=9.2.148-1 CUDA_SHORT=9.2 UBUNTU_VERSION=ubuntu1604 CUBLAS=cuda-cublas-dev-9-2 TORCH=1.4.0+cu92
- CUDA=10.0.130-1 - FORCE_CUDA=1 CUDA=10.0.130-1 CUDA_SHORT=10.0 UBUNTU_VERSION=ubuntu1804 CUBLAS=cuda-cublas-dev-10-0 TORCH=1.4.0+cu100
- CUDA_SHORT=10.0 - FORCE_CUDA=1 CUDA=10.1.105-1 CUDA_SHORT=10.1 UBUNTU_VERSION=ubuntu1804 CUBLAS=libcublas-dev TORCH=1.4.0
- UBUNTU_VERSION=ubuntu1804 before_install:
- CUBLAS=cuda-cublas-dev-${CUDA_SHORT/./-}
- TORCH=1.4.0+cu100
- name: cu101
env:
- FORCE_CUDA=1
- CUDA=10.1.105-1
- CUDA_SHORT=10.1
- UBUNTU_VERSION=ubuntu1804
- CUBLAS=libcublas-dev
- TORCH=1.4.0
before_install:
- INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb - INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb
- wget http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER} - wget http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER}
- sudo dpkg -i ${INSTALLER} - sudo dpkg -i ${INSTALLER}
...@@ -56,7 +34,6 @@ install: ...@@ -56,7 +34,6 @@ install:
- pip install flake8 - pip install flake8
script: script:
- nvcc --version
- python -c "import torch; print(torch.__version__)" - python -c "import torch; print(torch.__version__)"
- flake8 . - flake8 .
- python setup.py install - python setup.py install
......
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