From 4c15907a1b3857374ca63bb164ba4b433ff035b3 Mon Sep 17 00:00:00 2001 From: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com> Date: Mon, 19 Aug 2024 09:56:41 +0200 Subject: [PATCH] limit neural compressor version (#871) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index da10f4f91b..ea2ba060b0 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ QUALITY_REQUIRE = ["black~=23.1", "ruff>=0.0.241"] EXTRAS_REQUIRE = { - "neural-compressor": ["neural-compressor>=2.2.0", "onnxruntime<1.15.0", "accelerate", "transformers<4.43.0"], + "neural-compressor": ["neural-compressor>=2.2.0,<3.0", "onnxruntime<1.15.0", "accelerate", "transformers<4.43.0"], "openvino": ["openvino>=2023.3", "nncf>=2.11.0", "openvino-tokenizers[transformers]"], "nncf": ["nncf>=2.11.0"], "ipex": ["intel-extension-for-pytorch", "transformers>=4.39.0,<4.44.0"],