Speed up differentiable 5PC and fix the batch size issue (#2914) #1075
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests on CPU (scheduled) | |
on: | |
push: | |
branches: [main, test-me-*] | |
schedule: | |
- cron: "0 4 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests-cpu-ubuntu: | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: ['Ubuntu-latest', 'Windows-latest', 'MacOS-latest'] | |
pytorch-dtype: ['float32', 'float64'] | |
uses: kornia/workflows/.github/workflows/tests.yml@v1.9.0 | |
with: | |
os: 'Ubuntu-latest' | |
python-version: '["3.8", "3.9", "3.10", "3.11"]' | |
pytorch-version: '["1.9.1", "1.10.2", "1.11.0", "1.12.1", "1.13.1", "2.0.1", "2.1.2", "2.2.2", "2.3.0"]' | |
pytorch-dtype: ${{ matrix.pytorch-dtype }} | |
pytest-extra: '--runslow' | |
tests-cpu-windows: | |
strategy: | |
fail-fast: true | |
matrix: | |
pytorch-dtype: ['float32', 'float64'] | |
uses: kornia/workflows/.github/workflows/tests.yml@v1.9.0 | |
with: | |
os: 'Windows-latest' | |
python-version: '["3.11"]' | |
pytorch-version: '["1.9.1", "2.3.0"]' | |
pytorch-dtype: ${{ matrix.pytorch-dtype }} | |
tests-cpu-mac: | |
strategy: | |
fail-fast: true | |
matrix: | |
pytorch-dtype: ['float32', 'float64'] | |
uses: kornia/workflows/.github/workflows/tests.yml@v1.9.0 | |
with: | |
os: 'MacOS-latest' | |
pytorch-dtype: ${{ matrix.pytorch-dtype }} | |
coverage: | |
uses: kornia/workflows/.github/workflows/coverage.yml@v1.9.0 | |
typing: | |
uses: kornia/workflows/.github/workflows/mypy.yml@v1.9.0 | |
tutorials: | |
uses: kornia/workflows/.github/workflows/tutorials.yml@v1.9.0 | |
docs: | |
uses: kornia/workflows/.github/workflows/docs.yml@v1.9.0 |