π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
switch cuda docker image to pytorch (#1023)
Edgar Riba8987517a8ad6
diff --git a/.github/workflows/tests_cuda.yml b/.github/workflows/tests_cuda.ymlindex 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-runtimeoptions: --gpus allruns-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 dependenciesdiff --git a/.github/workflows/tests_cuda_versions.yml b/.github/workflows/tests_cuda_versions.ymldeleted file mode 100644index 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 ./testdiff --git a/README.md b/README.mdindex 07e4af67e..a1f34ce25 100644--- a/README.md+++ b/README.md@@ -6,7 +6,7 @@[](https://opensource.org/licenses/Apache-2.0)[](https://github.com/kornia/kornia/actions/workflows/tests_cpu_versions.yml)-[](https://github.com/kornia/kornia/actions/workflows/tests_cuda_versions.yml)+[](https://github.com/kornia/kornia/actions/workflows/tests_cuda.yml)[](https://codecov.io/gh/kornia/kornia)[](https://badge.fury.io/py/kornia)[](https://kornia.readthedocs.io/en/latest/?badge=latest)