8000 fix: restrain PyTorch version to below 2.5 (#244) · awslabs/s3-connector-for-pytorch@9a0c89f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a0c89 8000 f

Browse files
authored
fix: restrain PyTorch version to below 2.5 (#244)
fix: restrain PyTorch version to below 2.5 Restrain PyTorch version to below 2.5, since the latter creates some problem in our CI and wheels building. See also: pytorch/pytorch#138333
1 parent 6f1b77a commit 9a0c89f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

s3torchbenchmarking/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ description = "Tools to run and compare benchmarks against various PyTorch conne
99
requires-python = ">=3.8,<3.13"
1010
readme = "README.md"
1111
dependencies = [
12-
#TODO: Remove torch != 2.3.0 restriction when https://github.com/pytorch/data/issues/1244 is fixed
13-
"torch >= 2.0.1, != 2.3.0",
12+
# TODO: remove "!= 2.3.0" restriction once https://github.com/pytorch/data/issues/1244 is fixed
13+
# TODO: remove "< 2.5" restriction once https://github.com/pytorch/pytorch/issues/138333 is fixed
14+
"torch >= 2.0.1, != 2.3.0, < 2.5",
1415
"lightning >= 2.0",
1516
"s3torchconnector",
1617
"hydra-core",

s3torchconnector/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
]
2323

2424
dependencies = [
25-
"torch >= 2.0.1",
25+
"torch >= 2.0.1, < 2.5", # TODO: remove "< 2.5" restriction once https://github.com/pytorch/pytorch/issues/138333 is fixed
2626
"s3torchconnectorclient >= 1.2.6",
2727
]
2828

0 commit comments

Comments
 (0)
0