Skip to content

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

freeze pytorch & ipex version in CI (#541)

Sun, Xuehao784273edcf48
diff --git a/.azure-pipelines/template/ut-template.yml b/.azure-pipelines/template/ut-template.yml
index a1b84a7e4..86dd4af1a 100644
--- a/.azure-pipelines/template/ut-template.yml
+++ b/.azure-pipelines/template/ut-template.yml
@@ -35,7 +35,8 @@ steps:
- ${{ if eq(parameters.imageSource, 'build') }}:
- script: |
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
- && pip install torch --index-url https://download.pytorch.org/whl/cpu \
+ && pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu \
+ && pip install intel-extension-for-pytorch==2.6.0 \
&& pip install .[cpu] \
&& pip list"
displayName: "Env Setup"