From d556ce40a9a1f6a18ebec712cdcf7353adf3fb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20A=2E=20Amorim?= Date: Tue, 30 Jan 2024 19:30:22 -0300 Subject: [PATCH] update pytorch to `2.2.0` version --- .github/actions/coverage/action.yml | 2 +- .github/actions/env/action.yml | 2 +- .github/actions/tests/action.yml | 2 +- .github/workflows/coverage.yml | 3 +-- .github/workflows/docs.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/self-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- .github/workflows/tutorials.yml | 2 +- README.md | 16 ++++++++-------- 10 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/actions/coverage/action.yml b/.github/actions/coverage/action.yml index 16f1584..08574f8 100644 --- a/.github/actions/coverage/action.yml +++ b/.github/actions/coverage/action.yml @@ -8,7 +8,7 @@ inputs: pytorch-version: required: false type: string - default: 2.1.2 + default: 2.2.0 os: required: false type: string diff --git a/.github/actions/env/action.yml b/.github/actions/env/action.yml index 80454d8..2a90a98 100644 --- a/.github/actions/env/action.yml +++ b/.github/actions/env/action.yml @@ -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: diff --git a/.github/actions/tests/action.yml b/.github/actions/tests/action.yml index ccc5224..da15bbd 100644 --- a/.github/actions/tests/action.yml +++ b/.github/actions/tests/action.yml @@ -8,7 +8,7 @@ inputs: pytorch-version: required: false type: string - default: 2.1.2 + default: 2.2.0 os: required: false type: string diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7416079..04cfbc5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dcca23d..09c300c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,7 +8,7 @@ on: pytorch-version: required: false type: string - default: '["2.1.2"]' + default: '["2.2.0"]' os: required: false type: string diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 64d7b49..812b3c9 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -8,7 +8,7 @@ on: pytorch-version: required: false type: string - default: '["2.1.2"]' + default: '["2.2.0"]' os: required: false type: string diff --git a/.github/workflows/self-tests.yml b/.github/workflows/self-tests.yml index fbdff9f..ff00149 100644 --- a/.github/workflows/self-tests.yml +++ b/.github/workflows/self-tests.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a4cbbaf..470dd81 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: pytorch-version: required: false type: string - default: '["2.1.2"]' + default: '["2.2.0"]' os: required: false type: string diff --git a/.github/workflows/tutorials.yml b/.github/workflows/tutorials.yml index 112e779..f3fc87f 100644 --- a/.github/workflows/tutorials.yml +++ b/.github/workflows/tutorials.yml @@ -8,7 +8,7 @@ on: pytorch-version: required: false type: string - default: '["2.1.2"]' + default: '["2.2.0"]' os: required: false type: string diff --git a/README.md b/README.md index ba5af5e..f56fd4e 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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). @@ -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). @@ -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. @@ -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 @@ -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. @@ -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. @@ -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.