-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add workflows to test Pytorch v2.4. * Removed old pytorch version tests workflows. * Update testsuite workflows frameworks versions. --------- Co-authored-by: Ofir Gordon <[email protected]>
- Loading branch information
Showing
7 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
.github/workflows/run_tests_torch1_12.yml → .github/workflows/run_tests_torch2_4.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.*" |