Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
export LD_LIBRARY_PATH in test
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Jul 29, 2024
commit 52a035b47f00a52e2d95ee8119ac9bb2358eaab8
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ FRAMEWORK="pytorch"
source /neural-compressor/.azure-pipelines/scripts/fwk_version.sh 'latest'
if [[ "${inc_new_api}" == "3x"* ]]; then
FRAMEWORK_VERSION="latest"
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
else
FRAMEWORK_VERSION=${pytorch_version}
TORCH_VISION_VERSION=${torchvision_version}
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/scripts/ut/3x/run_3x_pt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ echo "${test_case}"

# install requirements
echo "set up UT env..."
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
pip install -r /neural-compressor/test/3x/torch/requirements.txt
pip install pytest-cov
pip install pytest-html
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/scripts/ut/run_itrex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ echo "run itrex ut..."

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

# prepare itrex
git clone https://github.com/intel/intel-extension-for-transformers.git /intel-extension-for-transformers
Expand Down
4 changes: 0 additions & 4 deletions .azure-pipelines/ut-itrex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ pr:
- requirements.txt
- .azure-pipelines/scripts/ut/run_itrex.sh
- .azure-pipelines/ut-itrex.yml
exclude:
- neural_compressor/common
- neural_compressor/torch
- neural_compressor/tensorflow

pool: MODEL_PERF_TEST

Expand Down