Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

update habana docker to 1.21.0 (#566)

Sun, Xuehao9a23061bcdfb
diff --git a/.azure-pipelines/template/docker-template.yml b/.azure-pipelines/template/docker-template.yml
index a9d104b29..96a078a4b 100644
--- a/.azure-pipelines/template/docker-template.yml
+++ b/.azure-pipelines/template/docker-template.yml
@@ -74,7 +74,7 @@ steps:
- ${{ if eq(parameters.imageSource, 'pull') }}:
- script: |
- docker pull vault.habana.ai/gaudi-docker/1.19.0/ubuntu22.04/habanalabs/pytorch-installer-2.5.1:latest
+ docker pull vault.habana.ai/gaudi-docker/1.21.0/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:latest
displayName: "Pull habana docker image"
- script: |
@@ -95,7 +95,7 @@ steps:
else
docker run -dit --disable-content-trust --privileged --name=${{ parameters.containerName }} --shm-size="2g" \
--runtime=habana -e HABANA_VISIBLE_DEVICES=all -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --net=host --ipc=host \
- -v ${BUILD_SOURCESDIRECTORY}:/auto-round vault.habana.ai/gaudi-docker/1.19.0/ubuntu22.04/habanalabs/pytorch-installer-2.5.1:latest
+ -v ${BUILD_SOURCESDIRECTORY}:/auto-round vault.habana.ai/gaudi-docker/1.21.0/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:latest
docker exec ${{ parameters.containerName }} bash -c "ln -sf \$(which python3) /usr/bin/python"
fi
echo "Show the container list after docker run ... "
diff --git a/.azure-pipelines/unit-test-hpu.yml b/.azure-pipelines/unit-test-hpu.yml
index 4c209bf91..212699241 100644
--- a/.azure-pipelines/unit-test-hpu.yml
+++ b/.azure-pipelines/unit-test-hpu.yml
@@ -13,6 +13,8 @@ pr:
- setup.py
- requirements-hpu.txt
- .azure-pipelines/scripts/ut
+ - .azure-pipelines/template/docker-template.yml
+ - .azure-pipelines/template/ut-template.yml
exclude:
- auto_round/export/export_to_autogptq
- auto_round/export/export_to_awq
diff --git a/.azure-pipelines/unit-test.yml b/.azure-pipelines/unit-test.yml
index f46867ebe..42ba44c9f 100644
--- a/.azure-pipelines/unit-test.yml
+++ b/.azure-pipelines/unit-test.yml
@@ -16,6 +16,7 @@ pr:
- .azure-pipelines/scripts/ut
- .azure-pipelines/unit-test.yml
- .azure-pipelines/template/ut-template.yml
+ - .azure-pipelines/template/docker-template.yml
exclude:
- test/test*hpu*
- "*.md"