Skip to content

Commit

Permalink
Use CPU torch (#24658)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed May 25, 2024
1 parent 0fe524b commit 72028b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=1.13
torchvision; platform_machine == 'arm64' and python_version >= '3.8'
torchvision; platform_machine != 'arm64'
Expand Down
6 changes: 4 additions & 2 deletions tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fastjsonschema~=2.17.1
tensorflow>=2.5,<2.17.0
requests>=2.25.1
opencv-python>=4.5
paddlepaddle==2.5.0
paddlepaddle==2.6.0
protobuf>=3.18.1,<4.0.0
py>=1.9.0
pytest>=5.0,<7.5
Expand All @@ -24,7 +24,9 @@ pytest-html==4.1.1
pytest-timeout==2.2.0
jax<=0.4.14
jaxlib<=0.4.14
torch>=1.13,<2.3
kornia==0.7.0
networkx<=3.1.0
keras>=2.0.0,<3.0.0

--extra-index-url https://download.pytorch.org/whl/cpu
torch>=1.13,<2.3
1 change: 0 additions & 1 deletion tests/model_hub_tests/pytorch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-c ../../constraints.txt
--extra-index-url https://download.pytorch.org/whl/cpu
auto-gptq>=0.5.1
av
basicsr
Expand Down

0 comments on commit 72028b7

Please sign in to comment.