Skip to content

Commit f909bca

Browse files
authored
update itrex ut test (#1929)
Signed-off-by: chensuyue <[email protected]>
1 parent 649e6b1 commit f909bca

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.azure-pipelines/scripts/install_nc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ elif [[ $1 = *"3x_ort" ]]; then
1616
pip install dist/neural_compressor*.whl --force-reinstall
1717
else
1818
python -m pip install --no-cache-dir -r requirements.txt
19-
python setup.py 2x bdist_wheel
19+
python setup.py bdist_wheel
2020
pip install dist/neural_compressor*.whl --force-reinstall
2121
fi
2222

.azure-pipelines/scripts/ut/run_itrex.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ source /neural-compressor/.azure-pipelines/scripts/change_color.sh
44
python -c "import neural_compressor as nc;print(nc.version.__version__)"
55
echo "run itrex ut..."
66

7+
# install inc 3x deps
8+
pip install -r /neural-compressor/requirements_pt.txt
9+
710
# prepare itrex
811
git clone https://github.com/intel/intel-extension-for-transformers.git /intel-extension-for-transformers
912
cd /intel-extension-for-transformers && git rev-parse --short HEAD

0 commit comments

Comments
 (0)