Skip to content

Commit

Permalink
Merge pull request #19 from kornia/chore/bump-default-pytorch
Browse files Browse the repository at this point in the history
chore: bump default pytorch to 2.3.0
  • Loading branch information
johnnv1 authored May 16, 2024
2 parents 72bc501 + a911690 commit 37e839f
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 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.2.2
default: 2.3.0
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.2.2"
default: "2.3.0"
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.2.2
default: 2.3.0
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.2.2"
default: "2.3.0"
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.2.2"]'
default: '["2.3.0"]'
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.2.2"]'
default: '["2.3.0"]'
os:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/self-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
os: ubuntu-latest
python-version: '["3.10", "3.11"]'
pytorch-version: '["2.1.2", "2.2.2"]'
pytorch-version: '["2.1.2", "2.3.0"]'
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.2.2"]'
default: '["2.3.0"]'
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.2.2"]'
default: '["2.3.0"]'
os:
required: false
type: string
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
python-version: ${{ matrix.python-version }}
pytorch-version: ${{ matrix.pytorch-version }}
ref: ${{ inputs.ref }}
extra-deps: torchvision==0.17.2+cpu
extra-deps: torchvision==0.18.0+cpu

- uses: actions/checkout@v4
with:
Expand Down
16 changes: 8 additions & 8 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.11'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.2.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.3.0`') 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.11'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.2.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.3.0`') 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.2.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.3.0`') 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.11"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.2.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.3.0"]'`) 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 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.11'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.2.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.3.0`') 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.11"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.2.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.3.0"]'`) 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.11"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.2.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.3.0"]'`) 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.11"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.2.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.3.0"]'`) 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 37e839f

Please sign in to comment.