[deps] pin max torch version (#37760)

pin max pt version :(
This commit is contained in:
Joao Gante
2025-04-24 16:18:25 +01:00
committed by GitHub
parent 0302aa1c6e
commit af6d2756d9
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ _deps = [
"tiktoken",
"timm<=1.0.11",
"tokenizers>=0.21,<0.22",
"torch>=2.1",
"torch>=2.1,<2.7", # Installing torch 2.7 results in slower compiled LLMs. Pinned while we investigate.
"torchaudio",
"torchvision",
"pyctcdecode>=0.4.0",