mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-01 20:00:09 +06:00
build: 📌 Remove upper bound on PyTorch (#38789)
build: 📌 remove upper bound on torch dependency as issue which originally resulted in the pin has been released in torch 2.7.1
This commit is contained in:
parent
eea35a15b0
commit
3542e0b844
2
setup.py
2
setup.py
@ -189,7 +189,7 @@ _deps = [
|
||||
"tiktoken",
|
||||
"timm<=1.0.11",
|
||||
"tokenizers>=0.21,<0.22",
|
||||
"torch>=2.1,<2.7", # Installing torch 2.7 results in slower compiled LLMs. Pinned while we investigate.
|
||||
"torch>=2.1",
|
||||
"torchaudio",
|
||||
"torchvision",
|
||||
"pyctcdecode>=0.4.0",
|
||||
|
@ -91,7 +91,7 @@ deps = {
|
||||
"tiktoken": "tiktoken",
|
||||
"timm": "timm<=1.0.11",
|
||||
"tokenizers": "tokenizers>=0.21,<0.22",
|
||||
"torch": "torch>=2.1,<2.7",
|
||||
"torch": "torch>=2.1",
|
||||
"torchaudio": "torchaudio",
|
||||
"torchvision": "torchvision",
|
||||
"pyctcdecode": "pyctcdecode>=0.4.0",
|
||||
|
Loading…
Reference in New Issue
Block a user