Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fix pytorch version to 1.6.0 in cuda tests (#755)

Edgar Ribac36caa50a6f0
diff --git a/.github/workflows/tests_cuda.yml b/.github/workflows/tests_cuda.yml
index 1ff252c67..b0d41c519 100644
--- a/.github/workflows/tests_cuda.yml
+++ b/.github/workflows/tests_cuda.yml
@@ -18,8 +18,8 @@ jobs:
fail-fast: false
matrix:
python-version: [3.7]
+ pytorch-version: [1.6.0]
cuda-version: [9.2, 10.1, 10.2, 11.0]
- pytorch-channel: [pytorch, pytorch-nightly]
steps:
- uses: actions/checkout@v2
- name: Setup conda dependencies
@@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install pytorch cudatoolkit=${{ matrix.cuda-version }} -c ${{ matrix.pytorch-channel }}
+ conda install pytorch=${{ matrix.pytorch-version }} cudatoolkit=${{ matrix.cuda-version }} -c pytorch
pip install -r requirements-dev.txt
python setup.py install
- name: Run Tests