From 5d2ee3a4249a434ef9365d874db43631bf927ed8 Mon Sep 17 00:00:00 2001 From: "Sun, Xuehao" Date: Fri, 27 Dec 2024 15:42:19 +0800 Subject: [PATCH] Update requirements-lib Signed-off-by: Sun, Xuehao --- .azure-pipelines/template/ut-template.yml | 3 ++- MANIFEST.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/template/ut-template.yml b/.azure-pipelines/template/ut-template.yml index 76c11142..a1b84a7e 100644 --- a/.azure-pipelines/template/ut-template.yml +++ b/.azure-pipelines/template/ut-template.yml @@ -43,7 +43,8 @@ steps: - ${{ if eq(parameters.imageSource, 'pull') }}: - script: | docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \ - && pip install .[hpu] \ + && python setup.py bdist_wheel lib \ + && pip install dist/*.whl \ && pip list" displayName: "HPU Env Setup" diff --git a/MANIFEST.in b/MANIFEST.in index 906cf0d2..471010b7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include requirements.txt include requirements-cpu.txt include requirements-hpu.txt -include requirements-gpu.txt +include requirements-lib.txt