diff --git a/.github/workflows/develop_install.yml b/.github/workflows/develop_install.yml index eff4e15b0..aa06095b4 100644 --- a/.github/workflows/develop_install.yml +++ b/.github/workflows/develop_install.yml @@ -15,11 +15,21 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/end_to_end.yml b/.github/workflows/end_to_end.yml index 98d1a309e..edb5cc253 100644 --- a/.github/workflows/end_to_end.yml +++ b/.github/workflows/end_to_end.yml @@ -15,12 +15,21 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - platform: 'windows-latest' diff --git a/.github/workflows/examples_pytest.yml b/.github/workflows/examples_pytest.yml index 31ccb3ffa..b1eacb552 100644 --- a/.github/workflows/examples_pytest.yml +++ b/.github/workflows/examples_pytest.yml @@ -15,13 +15,22 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] jit_status: ['jit_disabled', 'jit_enabled'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - pytorch_version: '1.9.1' jit_status: 'jit_enabled' diff --git a/.github/workflows/finn_integration.yml b/.github/workflows/finn_integration.yml index 19becbe70..f78cde48b 100644 --- a/.github/workflows/finn_integration.yml +++ b/.github/workflows/finn_integration.yml @@ -15,11 +15,21 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/gen_github_actions.py b/.github/workflows/gen_github_actions.py index 0f996dc2b..1688b7576 100644 --- a/.github/workflows/gen_github_actions.py +++ b/.github/workflows/gen_github_actions.py @@ -15,7 +15,7 @@ ENDTOEND_YML = 'end_to_end.yml' # Reduced Test for PRs, except when a review is requested -PYTHON_VERSIONS_REDUCED = ('3.8',) +PYTHON_VERSIONS_REDUCED = ('3.9',) PYTORCH_LIST_REDUCED = ["1.9.1", "1.13.0", "2.1.0"] @@ -33,7 +33,7 @@ 'jit_disabled',])]) # Data shared betwen Nox sessions and Github Actions, formatted as tuples -PYTHON_VERSIONS = ('3.8', '3.9') +PYTHON_VERSIONS = ('3.9', '3.10') PYTORCH_VERSIONS = ('1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0') JIT_STATUSES = ('jit_disabled', 'jit_enabled') @@ -44,7 +44,10 @@ STRATEGY = od([('fail-fast', 'false')]) -EXCLUDE_LIST = [] +EXCLUDE_LIST = generate_exclusion_list([[['pytorch_version', ['1.9.1']], + ['platform', ['macos-latest']]], + [['python_version', ['3.10']], + ['pytorch_version', ['1.9.1', '1.10.1']]]]) JIT_EXCLUDE_LIST = generate_exclusion_list([[['pytorch_version', ['1.9.1']], ['jit_status', [ diff --git a/.github/workflows/notebook.yml b/.github/workflows/notebook.yml index fd079b0ca..a1fe79bea 100644 --- a/.github/workflows/notebook.yml +++ b/.github/workflows/notebook.yml @@ -15,12 +15,21 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - platform: 'macos-latest' diff --git a/.github/workflows/ort_integration.yml b/.github/workflows/ort_integration.yml index 7d0eccb27..cbe9d1995 100644 --- a/.github/workflows/ort_integration.yml +++ b/.github/workflows/ort_integration.yml @@ -15,11 +15,21 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3d9f43ea9..04dc07f68 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -15,13 +15,22 @@ jobs: matrix: - python_version: ['3.8', '3.9'] + python_version: ['3.9', '3.10'] pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0'] platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] jit_status: ['jit_disabled', 'jit_enabled'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - pytorch_version: '1.9.1' jit_status: 'jit_enabled' diff --git a/.github/workflows/reduced_develop_install.yml b/.github/workflows/reduced_develop_install.yml index 8d2c1b45a..0b3b91aaa 100644 --- a/.github/workflows/reduced_develop_install.yml +++ b/.github/workflows/reduced_develop_install.yml @@ -17,11 +17,21 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_end_to_end.yml b/.github/workflows/reduced_end_to_end.yml index d19469ef6..19da2935e 100644 --- a/.github/workflows/reduced_end_to_end.yml +++ b/.github/workflows/reduced_end_to_end.yml @@ -17,12 +17,21 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - platform: 'windows-latest' diff --git a/.github/workflows/reduced_examples_pytest.yml b/.github/workflows/reduced_examples_pytest.yml index c10aa1c74..0773776b2 100644 --- a/.github/workflows/reduced_examples_pytest.yml +++ b/.github/workflows/reduced_examples_pytest.yml @@ -17,12 +17,22 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] jit_status: ['jit_disabled'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_finn_integration.yml b/.github/workflows/reduced_finn_integration.yml index c7ebafe8c..b2143c093 100644 --- a/.github/workflows/reduced_finn_integration.yml +++ b/.github/workflows/reduced_finn_integration.yml @@ -17,11 +17,21 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_notebook.yml b/.github/workflows/reduced_notebook.yml index a7293e4d3..42c15453f 100644 --- a/.github/workflows/reduced_notebook.yml +++ b/.github/workflows/reduced_notebook.yml @@ -17,12 +17,21 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + - platform: 'macos-latest' diff --git a/.github/workflows/reduced_ort_integration.yml b/.github/workflows/reduced_ort_integration.yml index 1671d6a13..280dfbbc2 100644 --- a/.github/workflows/reduced_ort_integration.yml +++ b/.github/workflows/reduced_ort_integration.yml @@ -17,11 +17,21 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_pytest.yml b/.github/workflows/reduced_pytest.yml index 12e3d360c..e88fb8dc2 100644 --- a/.github/workflows/reduced_pytest.yml +++ b/.github/workflows/reduced_pytest.yml @@ -17,12 +17,22 @@ jobs: matrix: - python_version: ['3.8'] + python_version: ['3.9'] pytorch_version: ['1.9.1', '1.13.0', '2.1.0'] platform: ['ubuntu-latest'] jit_status: ['jit_disabled'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + + - python_version: '3.10' + pytorch_version: '1.9.1' + + - python_version: '3.10' + pytorch_version: '1.10.1' + if: ${{ !github.event.pull_request.draft }}