diff --git a/.github/workflows/run_comp_test_torch24_v14.yml b/.github/workflows/run_comp_test_torch24_v14.yml new file mode 100644 index 0000000..1d0a249 --- /dev/null +++ b/.github/workflows/run_comp_test_torch24_v14.yml @@ -0,0 +1,13 @@ +name: Run Backward Compatibility Test - Pytorch 2.4 MCTQ v1.4.0 +on: + workflow_dispatch: # Allow manual triggers + schedule: + - cron: 0 0 * * * + +jobs: + run-comp-torch-2_4-v1_4: + uses: ./.github/workflows/compatibility_torch_tests.yml + with: + save_version: "v1.4.0" + python_version: "3.10" + torch_version: "2.4.*" diff --git a/.github/workflows/run_forward_comp_test_torch24_v14.yml b/.github/workflows/run_forward_comp_test_torch24_v14.yml new file mode 100644 index 0000000..7c74529 --- /dev/null +++ b/.github/workflows/run_forward_comp_test_torch24_v14.yml @@ -0,0 +1,13 @@ +name: Run Forward Compatibility Test - Pytorch 2.4 MCTQ v1.4.0 +on: + workflow_dispatch: # Allow manual triggers + schedule: + - cron: 0 0 * * * + +jobs: + run-comp-torch-2_4-v1_4: + uses: ./.github/workflows/forward_compatibility_torch_tests.yml + with: + load_version: "v1.4.0" + python_version: "3.10" + torch_version: "2.4.*" diff --git a/.github/workflows/run_tests_suite_python310.yml b/.github/workflows/run_tests_suite_python310.yml index 8ea9e48..7a85e3d 100644 --- a/.github/workflows/run_tests_suite_python310.yml +++ b/.github/workflows/run_tests_suite_python310.yml @@ -23,7 +23,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install tensorflow==2.12.* - pip install torch==1.13.* onnx onnxruntime onnxruntime-extensions + pip install tensorflow==2.15.* + pip install torch==2.4.* onnx onnxruntime onnxruntime-extensions - name: Run unittests run: python -m unittest discover -s tests -v diff --git a/.github/workflows/run_tests_suite_python311.yml b/.github/workflows/run_tests_suite_python311.yml new file mode 100644 index 0000000..d256d84 --- /dev/null +++ b/.github/workflows/run_tests_suite_python311.yml @@ -0,0 +1,29 @@ +name: Python 3.11 +on: + workflow_dispatch: # Allow manual triggers + schedule: + - cron: 0 0 * * * + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + timeout-minutes: 10 + env: + COVERAGE_THRESHOlD: 80 + steps: + - uses: actions/checkout@v4 + - name: Install Python 3 + uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install tensorflow==2.15.* + pip install torch==2.4.* onnx onnxruntime onnxruntime-extensions + - name: Run unittests + run: python -m unittest discover -s tests -v diff --git a/.github/workflows/run_tests_suite_python39.yml b/.github/workflows/run_tests_suite_python39.yml index 34bdeff..9538af3 100644 --- a/.github/workflows/run_tests_suite_python39.yml +++ b/.github/workflows/run_tests_suite_python39.yml @@ -23,7 +23,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install tensorflow==2.12.* - pip install torch==1.13.* onnx onnxruntime onnxruntime-extensions + pip install tensorflow==2.15.* + pip install torch==2.4.* onnx onnxruntime onnxruntime-extensions - name: Run unittests run: python -m unittest discover -s tests -v diff --git a/.github/workflows/run_tests_torch1_13.yml b/.github/workflows/run_tests_torch1_13.yml deleted file mode 100644 index 4906abc..0000000 --- a/.github/workflows/run_tests_torch1_13.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Run Tests - PyTorch 1.13 -on: - workflow_dispatch: # Allow manual triggers - schedule: - - cron: 0 0 * * * - -jobs: - run-pytorch-1_13: - uses: ./.github/workflows/run_pytorch_tests.yml - with: - torch-version: "1.13.*" diff --git a/.github/workflows/run_tests_torch1_12.yml b/.github/workflows/run_tests_torch2_4.yml similarity index 65% rename from .github/workflows/run_tests_torch1_12.yml rename to .github/workflows/run_tests_torch2_4.yml index 1d01540..96dd30c 100644 --- a/.github/workflows/run_tests_torch1_12.yml +++ b/.github/workflows/run_tests_torch2_4.yml @@ -1,11 +1,11 @@ -name: Run Tests - PyTorch 1.12 +name: Run Tests - PyTorch 2.4 on: workflow_dispatch: # Allow manual triggers schedule: - cron: 0 0 * * * jobs: - run-pytorch-1_13: + run-pytorch-2_4: uses: ./.github/workflows/run_pytorch_tests.yml with: - torch-version: "1.12.*" + torch-version: "2.4.*"