From 74e0bad9f14a3eef9826a478432cabc144e7e844 Mon Sep 17 00:00:00 2001 From: Ella Charlaix Date: Fri, 6 Dec 2024 15:00:20 +0100 Subject: [PATCH] enable latest transformers release --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 6736085943a..28b6941ebe8 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ "datasets>=1.2.1", "evaluate", "protobuf>=3.20.1", - "transformers>=4.36,<4.47.0", + "transformers>=4.36,<4.48.0", ], "onnxruntime-gpu": [ "onnx", @@ -60,19 +60,19 @@ "evaluate", "protobuf>=3.20.1", "accelerate", # ORTTrainer requires it. - "transformers>=4.36,<4.47.0", + "transformers>=4.36,<4.48.0", ], "exporters": [ "onnx", "onnxruntime", "timm", - "transformers>=4.36,<4.47.0", + "transformers>=4.36,<4.48.0", ], "exporters-gpu": [ "onnx", "onnxruntime-gpu", "timm", - "transformers>=4.36,<4.47.0", + "transformers>=4.36,<4.48.0", ], "exporters-tf": [ "tensorflow>=2.4,<=2.12.1",