Skip to content

Commit df6ad54

Browse files
committed
Pin torch to 2.2.2
Signed-off-by: Tomasz Wrona <tomasz@cast.ai>
1 parent 3258903 commit df6ad54

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ opentelemetry = ["prometheus_client", "psutil"]
9696
spark = ["pyspark>=3.0.0,<4"]
9797
trino = ["trino>=0.305.0,<0.400.0", "regex"]
9898
postgres = ["psycopg[binary,pool]>=3.0.0,<4"]
99-
pytorch = ["torch>=2.2.2", "torchvision>=0.17.2"]
99+
pytorch = ["torch==2.2.2", "torchvision>=0.17.2"]
100100
qdrant = ["qdrant-client>=1.12.0"]
101101
redis = [
102102
"redis>=4.2.2,<5",

sdk/python/requirements/py3.10-ci-requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ starlette==0.46.1
11041104
# via fastapi
11051105
substrait==0.23.0
11061106
# via ibis-substrait
1107-
sympy==1.13.1
1107+
sympy==1.13.3
11081108
# via torch
11091109
tabulate==0.9.0
11101110
# via
@@ -1147,14 +1147,14 @@ toolz==0.12.1
11471147
# dask
11481148
# ibis-framework
11491149
# partd
1150-
torch==2.6.0
1150+
torch==2.2.2
11511151
# via
11521152
# feast (setup.py)
11531153
# docling-ibm-models
11541154
# easyocr
11551155
# safetensors
11561156
# torchvision
1157-
torchvision==0.21.0
1157+
torchvision==0.17.2
11581158
# via
11591159
# feast (setup.py)
11601160
# docling-ibm-models

sdk/python/requirements/py3.11-ci-requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ starlette==0.46.1
10981098
# via fastapi
10991099
substrait==0.23.0
11001100
# via ibis-substrait
1101-
sympy==1.13.1
1101+
sympy==1.13.3
11021102
# via torch
11031103
tabulate==0.9.0
11041104
# via
@@ -1133,14 +1133,14 @@ toolz==0.12.1
11331133
# dask
11341134
# ibis-framework
11351135
# partd
1136-
torch==2.6.0
1136+
torch==2.2.2
11371137
# via
11381138
# feast (setup.py)
11391139
# docling-ibm-models
11401140
# easyocr
11411141
# safetensors
11421142
# torchvision
1143-
torchvision==0.21.0
1143+
torchvision==0.17.2
11441144
# via
11451145
# feast (setup.py)
11461146
# docling-ibm-models

sdk/python/requirements/py3.9-ci-requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ starlette==0.46.1
11171117
# via fastapi
11181118
substrait==0.23.0
11191119
# via ibis-substrait
1120-
sympy==1.13.1
1120+
sympy==1.13.3
11211121
# via torch
11221122
tabulate==0.9.0
11231123
# via
@@ -1160,14 +1160,14 @@ toolz==0.12.1
11601160
# dask
11611161
# ibis-framework
11621162
# partd
1163-
torch==2.6.0
1163+
torch==2.2.2
11641164
# via
11651165
# feast (setup.py)
11661166
# docling-ibm-models
11671167
# easyocr
11681168
# safetensors
11691169
# torchvision
1170-
torchvision==0.21.0
1170+
torchvision==0.17.2
11711171
# via
11721172
# feast (setup.py)
11731173
# docling-ibm-models

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
MILVUS_REQUIRED = ["pymilvus"]
165165

166166
TORCH_REQUIRED = [
167-
"torch>=2.2.2",
167+
"torch==2.2.2",
168168
"torchvision>=0.17.2",
169169
]
170170

0 commit comments

Comments
 (0)