Skip to content

Commit 52a035b

Browse files
committed
export LD_LIBRARY_PATH in test
Signed-off-by: chensuyue <[email protected]>
1 parent 5226448 commit 52a035b

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.azure-pipelines/scripts/models/run_pytorch_models_trigger.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ FRAMEWORK="pytorch"
7272
source /neural-compressor/.azure-pipelines/scripts/fwk_version.sh 'latest'
7373
if [[ "${inc_new_api}" == "3x"* ]]; then
7474
FRAMEWORK_VERSION="latest"
75+
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
7576
else
7677
FRAMEWORK_VERSION=${pytorch_version}
7778
TORCH_VISION_VERSION=${torchvision_version}

.azure-pipelines/scripts/ut/3x/run_3x_pt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ echo "${test_case}"
55

66
# install requirements
77
echo "set up UT env..."
8+
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
89
pip install -r /neural-compressor/test/3x/torch/requirements.txt
910
pip install pytest-cov
1011
pip install pytest-html

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ echo "run itrex ut..."
66

77
# install inc 3x deps
88
pip install -r /neural-compressor/requirements_pt.txt
9+
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
910

1011
# prepare itrex
1112
git clone https://github.com/intel/intel-extension-for-transformers.git /intel-extension-for-transformers

.azure-pipelines/ut-itrex.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ pr:
1313
- requirements.txt
1414
- .azure-pipelines/scripts/ut/run_itrex.sh
1515
- .azure-pipelines/ut-itrex.yml
16-
exclude:
17-
- neural_compressor/common
18-
- neural_compressor/torch
19-
- neural_compressor/tensorflow
2016

2117
pool: MODEL_PERF_TEST
2218

0 commit comments

Comments
 (0)