Skip to content

Commit e8ba369

Browse files
authored
fix: Optimum - pin torch<2.9.0 (#2392)
1 parent a6b7ef1 commit e8ba369

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integrations/optimum/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ dependencies = [
3636
"sentence-transformers>=2.3",
3737
# tokenizers is a dependency of transformers/sentence-transformers. The following version is the first one which supports Python 3.13.
3838
"tokenizers>=0.20.2",
39-
]
39+
"torch<2.9.0", # https://github.com/huggingface/optimum/issues/2374
40+
]
4041

4142
[project.urls]
4243
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/optimum#readme"

0 commit comments

Comments
 (0)