From 1146eae5a6d4777ffdc1427f4369e5f400b61384 Mon Sep 17 00:00:00 2001 From: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> Date: Fri, 22 Mar 2024 18:21:48 +0100 Subject: [PATCH] Limit transformers version for tf models ONNX export (#1766) --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index dab9972b8b1..81b3d74c9cc 100644 --- a/setup.py +++ b/setup.py @@ -72,6 +72,7 @@ "timm", "h5py", "numpy<1.24.0", + "transformers[sentencepiece]>=4.26.0,<4.38.0", ], "diffusers": ["diffusers"], "intel": "optimum-intel>=1.15.0",