Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 1 addition & 4 deletions .azure-pipelines/scripts/ut/run_ut_xpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ set -xe
# install requirements
echo "##[group]set up UT env..."
uv pip install pytest-cov pytest-html
uv pip install -r /auto-round/test/test_ark/requirements.txt

cd /auto-round && uv pip install .
echo "##[endgroup]"
uv pip list
echo "##[endgroup]"

# test ark cpu part only before external xpu available
rm -rf /auto-round/auto_round
Expand Down
2 changes: 2 additions & 0 deletions .azure-pipelines/template/ut-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ steps:
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
&& uv pip install torch==2.9.0 --index-url https://download.pytorch.org/whl/xpu \
&& uv pip install -r requirements.txt \
&& uv pip install -r test/test_ark/requirements.txt \
&& cd /auto-round && uv pip install . \
&& uv pip list"
else
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/unit-test-xpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pr:
- auto_round_extension/ark
- auto_round/inference
- test/test_ark
- test/test_xpu
- setup.py
- .azure-pipelines/template/ut-template.yml
- .azure-pipelines/unit-test-xpu.yml
Expand Down
Loading