Skip to content

Commit

Permalink
[PT FE] Support torch 2.5.1 (#27334)
Browse files Browse the repository at this point in the history
### Details:
 - *Support torch 2.5.1*
 - *Update test requirements*

### Tickets:
 - *ticket-id*

Signed-off-by: Maxim Vafin <[email protected]>
  • Loading branch information
mvafin authored Oct 30, 2024
1 parent 6e35049 commit 1ec99ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ networkx<=3.3
flax<=0.10.0

--extra-index-url https://download.pytorch.org/whl/cpu
torch~=2.5.0; platform_system != "Darwin" or platform_machine != "x86_64"
torch~=2.5.1; platform_system != "Darwin" or platform_machine != "x86_64"
torch~=2.2.0; platform_system == "Darwin" and platform_machine == "x86_64"
6 changes: 3 additions & 3 deletions tests/requirements_pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# optimum still requires numpy<2.0.0
numpy==1.26.4; python_version < "3.12"
numpy==2.1.1; python_version >= "3.12"
torch==2.5.0; platform_system != "Darwin" or platform_machine != "x86_64"
torch==2.5.1; platform_system != "Darwin" or platform_machine != "x86_64"
torch==2.2.2; platform_system == "Darwin" and platform_machine == "x86_64"
--extra-index-url https://download.pytorch.org/whl/cpu

torchvision==0.20.0; platform_system != "Darwin" or platform_machine != "x86_64"
torchvision==0.20.1; platform_system != "Darwin" or platform_machine != "x86_64"
torchvision==0.17.2; platform_system == "Darwin" and platform_machine == "x86_64"
torchaudio==2.5.0; platform_system != "Darwin" or platform_machine != "x86_64"
torchaudio==2.5.1; platform_system != "Darwin" or platform_machine != "x86_64"
torchaudio==2.2.2; platform_system == "Darwin" and platform_machine == "x86_64"
# transformers 4.45.1 is available
# but optimum still requires <4.45.0
Expand Down

0 comments on commit 1ec99ee

Please sign in to comment.