Skip to content

Commit

Permalink
update install packages using wheel distribution
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Dec 16, 2024
1 parent 7558746 commit 242f262
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .azure-pipelines/template/ut-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ steps:
- ${{ if eq(parameters.imageSource, 'build') }}:
- script: |
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
&& pip install -vvv --no-build-isolation . \
&& python setup.py bdist_wheel \
&& pip install $(ls dist/*.whl | head -n 1)[cpu] \
&& pip list"
displayName: "Env Setup"
- ${{ if eq(parameters.imageSource, 'pull') }}:
- script: |
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
&& pip install -vvv --no-build-isolation . \
&& pip install $(ls dist/*.whl | head -n 1)[hpu] \
&& pip list"
displayName: "HPU Env Setup"
Expand Down

0 comments on commit 242f262

Please sign in to comment.