Skip to content

Commit

Permalink
Merge pull request #27 from kornia/chore/bumptorch
Browse files Browse the repository at this point in the history
bump default torch to 2.5.1
  • Loading branch information
johnnv1 authored Nov 10, 2024
2 parents 1190492 + ebbd189 commit 750bf0a
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/actions/coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
pytorch-version:
required: false
type: string
default: 2.4.0
default: 2.5.1
os:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
pytorch-version:
description: "The pytorch version desired."
required: true
default: "2.4.0"
default: "2.5.1"
type: string

ref:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
pytorch-version:
required: false
type: string
default: 2.4.0
default: 2.5.1
os:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pytorch-version:
required: false
type: string
default: "2.4.0"
default: "2.5.1"
pytorch-device:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pytorch-version:
required: false
type: string
default: '["2.4.0"]'
default: '["2.5.1"]'
os:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pytorch-version:
required: false
type: string
default: '["2.4.0"]'
default: '["2.5.1"]'
os:
required: false
type: string
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/self-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: ./subdir/.github/actions/env/
with:
pytorch-version: '1.9.1'
python-version: '3.8'
python-version: '3.9'
ref: main

coverage:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
with:
os: ubuntu-latest
python-version: '["3.10", "3.12"]'
pytorch-version: '["2.1.2", "2.4.0"]'
pytorch-version: '["2.1.2", "2.5.1"]'
pytorch-dtype: 'float32'
ref: main

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pytorch-version:
required: false
type: string
default: '["2.4.0"]'
default: '["2.5.1"]'
os:
required: false
type: string
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pytorch-version:
required: false
type: string
default: '["2.4.0"]'
default: '["2.5.1"]'
os:
required: false
type: string
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
python-version: ${{ matrix.python-version }}
pytorch-version: ${{ matrix.pytorch-version }}
ref: ${{ inputs.ref }}
extra-deps: torchvision==0.19.0+cpu --find-links https://download.pytorch.org/whl/torchvision
extra-deps: torchvision==0.20.1+cpu --find-links https://download.pytorch.org/whl/torchvision

- uses: actions/checkout@v4
with:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Use the actions:
Has the inputs:
- `python-version`: (string, default: `'3.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.4.0`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.5.1`') the pytorch version desired.
- This value will be used to install pytorch using conda from pytorch
channel.
- If the value passed is `nightly` the nightly version of pytorch with dynamo
Expand All @@ -40,7 +40,7 @@ Use the actions:
Has the inputs:
- `python-version`: (string, default: `'3.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.4.0`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.5.1`') the pytorch version desired.
- This value will be used to install pytorch using conda from pytorch
channel.
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
Expand Down Expand Up @@ -68,7 +68,7 @@ Use the actions:
Has the inputs:
- `python-version`: (string, default: `'3.11'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.4.0`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.5.1`') the pytorch version desired.
- This value will be used to install pytorch using conda from pytorch
channel.
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
Expand Down Expand Up @@ -101,7 +101,7 @@ Has the inputs:
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
- `python-version`: (json list of strings, default: `'["3.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.4.0"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.5.1"]'`) a string
with format of a json list within strings for each pytorch version desired.
- `pytorch-dtype`: (string, default: `float32`) the dtype used to generate
the tests with pytest.
Expand All @@ -120,7 +120,7 @@ jobs:
tests:
uses: kornia/workflows/.github/workflows/[email protected]
with:
python-version: '["3.8", "3.12"]'
python-version: '["3.9", "3.12"]'
pytorch-version: '["1.13.1", "2.0.0"]'
```

Expand Down Expand Up @@ -160,7 +160,7 @@ Has the inputs:
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
- `python-version`: (string, default: `'3.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.4.0`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.5.1`') the pytorch version desired.
- This value will be used to install pytorch using conda from pytorch
channel.
- `pytorch-dtype`: (string, default: `float32`) the dtype used to generate
Expand Down Expand Up @@ -192,7 +192,7 @@ Has the inputs:
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
- `python-version`: (json list of strings, default: `'["3.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.4.0"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.5.1"]'`) a string
with format of a json list within strings for each pytorch version desired.
- `fail-fast`: (boolean, default: `false`) to set the `fail-fast` behavior on
the matrix strategy.
Expand All @@ -218,7 +218,7 @@ Has the inputs:
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
- `python-version`: (json list of strings, default: `'["3.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.4.0"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.5.1"]'`) a string
with format of a json list within strings for each pytorch version desired.
- `fail-fast`: (boolean, default: `false`) to set the `fail-fast` behavior on
the matrix strategy.
Expand All @@ -244,7 +244,7 @@ Has the inputs:
- `os`: (string, default: `ubuntu-latest`) the OS name same as supported by [gha](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners).
- `python-version`: (json list of strings, default: `'["3.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.4.0"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.5.1"]'`) a string
with format of a json list within strings for each pytorch version desired.
- `fail-fast`: (boolean, default: `false`) to set the `fail-fast` behavior on
the matrix strategy.
Expand Down

0 comments on commit 750bf0a

Please sign in to comment.