Skip to content

Commit

Permalink
Revert numpy2 changes (#109)
Browse files Browse the repository at this point in the history
* Revert "Specify torchvision version in run_pytorch_tests (#108)"

This reverts commit 8df02cf.

* Revert "Update requirements.txt (#107)"

This reverts commit e74c297.

---------

Co-authored-by: reuvenp <[email protected]>
  • Loading branch information
reuvenperetz and reuvenp authored Jan 1, 2025
1 parent 8df02cf commit 1677535
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/run_pytorch_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
torch-version:
required: true
type: string
torchvision-version:
required: true
type: string


jobs:
run-pytorch-tests:
Expand All @@ -24,7 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install torch==${{ inputs.torch-version }} torchvision==${{ inputs.torchvision-version }} onnx onnxruntime onnxruntime-extensions
pip install torch==${{ inputs.torch-version }} torchvision onnx onnxruntime onnxruntime-extensions
- name: Run unittests
run: python -m unittest discover tests/pytorch_tests -v

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run_tests_torch2_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
uses: ./.github/workflows/run_pytorch_tests.yml
with:
torch-version: "2.0.*"
torchvision-version: "0.15.*"
1 change: 0 additions & 1 deletion .github/workflows/run_tests_torch2_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
uses: ./.github/workflows/run_pytorch_tests.yml
with:
torch-version: "2.1.*"
torchvision-version: "0.16.*"
1 change: 0 additions & 1 deletion .github/workflows/run_tests_torch2_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
uses: ./.github/workflows/run_pytorch_tests.yml
with:
torch-version: "2.2.*"
torchvision-version: "0.17.*"
1 change: 0 additions & 1 deletion .github/workflows/run_tests_torch2_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
uses: ./.github/workflows/run_pytorch_tests.yml
with:
torch-version: "2.3.*"
torchvision-version: "0.18.*"
1 change: 0 additions & 1 deletion .github/workflows/run_tests_torch2_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
uses: ./.github/workflows/run_pytorch_tests.yml
with:
torch-version: "2.4.*"
torchvision-version: "0.19.*"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy<3.0
numpy<2.0
packaging

0 comments on commit 1677535

Please sign in to comment.