Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

switch cuda docker image to pytorch (#1023)

Edgar Riba8987517a8ad6
diff --git a/.github/workflows/tests_cuda.yml b/.github/workflows/tests_cuda.yml
index 78d6d5b33..a4d787eb1 100644
--- a/.github/workflows/tests_cuda.yml
+++ b/.github/workflows/tests_cuda.yml
@@ -13,14 +13,9 @@ on:
jobs:
tests-cuda:
container:
- image: pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}
+ image: pytorch/pytorch:1.6.0-cuda10.1-cudnn7-runtime
options: --gpus all
runs-on: [self-hosted, Linux, x64]
- strategy:
- fail-fast: false
- matrix:
- python-version: [3.7]
- pytorch-version: [1.8]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
diff --git a/.github/workflows/tests_cuda_versions.yml b/.github/workflows/tests_cuda_versions.yml
deleted file mode 100644
index 45b532fc7..000000000
--- a/.github/workflows/tests_cuda_versions.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: tests-cuda-versions
-
-on:
- #push:
- # branches:
- # - master
- #pull_request:
- schedule:
- - cron: "0 0 * * *"
-
-jobs:
- tests-cuda:
- container:
- image: pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}
- options: --gpus all
- runs-on: [self-hosted, Linux, x64]
- strategy:
- fail-fast: false
- matrix:
- python-version: [3.7]
- pytorch-version: [1.6, 1.7, 1.8]
- steps:
- - uses: actions/checkout@v2
- - name: Install dependencies
- shell: bash -l {0}
- run: |
- pip install -r requirements-dev.txt
- python setup.py install
- - name: Run Tests
- shell: bash -l {0}
- run: pytest -v --device cuda --dtype float32,float64 ./test
diff --git a/README.md b/README.md
index 07e4af67e..a1f34ce25 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![tests-cpu-versions](https://github.com/kornia/kornia/actions/workflows/tests_cpu_versions.yml/badge.svg)](https://github.com/kornia/kornia/actions/workflows/tests_cpu_versions.yml)
-[![tests-cuda-versions](https://github.com/kornia/kornia/actions/workflows/tests_cuda_versions.yml/badge.svg)](https://github.com/kornia/kornia/actions/workflows/tests_cuda_versions.yml)
+[![tests-cuda](https://github.com/kornia/kornia/actions/workflows/tests_cuda.yml/badge.svg)](https://github.com/kornia/kornia/actions/workflows/tests_cuda.yml)
[![codecov](https://codecov.io/gh/kornia/kornia/branch/master/graph/badge.svg?token=FzCb7e0Bso)](https://codecov.io/gh/kornia/kornia)
[![PyPI version](https://badge.fury.io/py/kornia.svg)](https://badge.fury.io/py/kornia)
[![Documentation Status](https://readthedocs.org/projects/kornia/badge/?version=latest)](https://kornia.readthedocs.io/en/latest/?badge=latest)