Skip to content

Commit

Permalink
chore (torch): bump defaults to 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 committed Jul 29, 2024
1 parent 9a5d39e commit 80ab93c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
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.3.1"
default: "2.4.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.3.1"]'
default: '["2.4.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.3.1"]'
default: '["2.4.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.12"]'
pytorch-version: '["2.1.2", "2.3.1"]'
pytorch-version: '["2.1.2", "2.4.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.3.1"]'
default: '["2.4.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.3.1"]'
default: '["2.4.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.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.3.1`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.4.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.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.3.1`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.4.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.3.1`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.4.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.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.3.1"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.4.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.12'`) the python version desired.
- The version should be supported by `setup-python@v4` action.
- `pytorch-version`: (string, default: `'2.3.1`') the pytorch version desired.
- `pytorch-version`: (string, default: `'2.4.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.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.3.1"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.4.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.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.3.1"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.4.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.12"]'`) a string with
format of a json list within strings for each python version desired.
- `pytorch-version`: (json list of strings, default: `'["2.3.1"]'`) a string
- `pytorch-version`: (json list of strings, default: `'["2.4.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 80ab93c

Please sign in to comment.