Skip to content

Commit

Permalink
Merge pull request #10 from kornia/bump/pytorch
Browse files Browse the repository at this point in the history
update pytorch to `2.2.0` version
  • Loading branch information
johnnv1 committed Jan 30, 2024
2 parents 6a8a624 + d556ce4 commit c87bdf9
Show file tree
Hide file tree
Showing 10 changed files with 17 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.1.2
default: 2.2.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.1.2"
default: "2.2.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.1.2
default: 2.2.0
os:
required: false
type: string
Expand Down
3 changes: 1 addition & 2 deletions .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.1.2"
default: "2.2.0"
pytorch-device:
required: false
type: string
Expand Down Expand Up @@ -122,6 +122,5 @@ jobs:
with:
file: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }} # to not depend on build via GH API
# flags: cpu,Ubuntu-latest_py-3.11_pt-2.1.2_float32,float64
flags: cpu,${{ inputs.os }}_py-${{ inputs.python-version }}_pt-${{ inputs.pytorch-version }}_float32,float64
name: cpu-coverage
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.1.2"]'
default: '["2.2.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.1.2"]'
default: '["2.2.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.0.0", "2.1.2"]'
pytorch-version: '["2.1.2", "2.2.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.1.2"]'
default: '["2.2.0"]'
os:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .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.1.2"]'
default: '["2.2.0"]'
os:
required: false
type: string
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.1.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.2.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 @@ -38,7 +38,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.1.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.2.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 @@ -66,7 +66,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.1.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.2.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 @@ -99,7 +99,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.1.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.2.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 @@ -158,7 +158,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.1.2`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.2.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 @@ -190,7 +190,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.1.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.2.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 @@ -216,7 +216,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.1.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.2.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 @@ -242,7 +242,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.1.2"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.2.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 c87bdf9

Please sign in to comment.