Skip to content

Commit cedd9f3

Browse files
authored
Limit INC version (#1325)
* fix inc ci Signed-off-by: changwangss <[email protected]> * limit neuralcompressor version Signed-off-by: changwangss <[email protected]> --------- Signed-off-by: changwangss <[email protected]>
1 parent 48bff74 commit cedd9f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test_inc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
run: |
5151
pytest tests/neural_compressor
5252
env:
53-
HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
53+
HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
EXTRAS_REQUIRE = {
6868
"nncf": ["nncf>=2.16.0"],
6969
"openvino": ["nncf>=2.16.0", "openvino>=2025.1.0", "openvino-tokenizers>=2025.1.0"],
70-
"neural-compressor": ["neural-compressor[pt]>3.0", "accelerate", "transformers<4.46"],
70+
"neural-compressor": ["neural-compressor[pt]>3.0,<=3.3.1", "accelerate", "transformers<4.46"],
7171
"ipex": ["intel-extension-for-pytorch>=2.6", "transformers>4.49,<4.52", "accelerate"],
7272
"diffusers": ["diffusers"],
7373
"quality": QUALITY_REQUIRE,

0 commit comments

Comments
 (0)