Limit transformers version to be compatible with PyTorch 2.4
- Changed transformers from >=4.48.0 to >=4.40.0,<4.48.0 - Fixes custom_op error in transformers integrations
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ dependencies = [
|
|||||||
"torch~=2.4.0",
|
"torch~=2.4.0",
|
||||||
"torchaudio~=2.4.0",
|
"torchaudio~=2.4.0",
|
||||||
"torchvision~=0.19.0",
|
"torchvision~=0.19.0",
|
||||||
"transformers>=4.48.0",
|
"transformers>=4.40.0,<4.48.0",
|
||||||
"fastapi>=0.104.0",
|
"fastapi>=0.104.0",
|
||||||
"uvicorn[standard]>=0.24.0",
|
"uvicorn[standard]>=0.24.0",
|
||||||
"python-multipart>=0.0.6",
|
"python-multipart>=0.0.6",
|
||||||
|
|||||||
Reference in New Issue
Block a user