PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
Support auto-round-lib build with oneAPI 2026.0 and work with pytorch xpu 2.13 (#2043)
chen, suyue4d24c405f047
diff --git a/.azure-pipelines/ark-unit-test.yml b/.azure-pipelines/ark-unit-test.ymlindex 5d0a4d186..a5b621f09 100644--- a/.azure-pipelines/ark-unit-test.yml+++ b/.azure-pipelines/ark-unit-test.yml@@ -25,8 +25,8 @@ parameters:displayName: "Torch versions"type: string# Comma-separated list to align with pythonVersions runtime input style.- # For example, "2.11.0,2.12.0"- default: "2.12.0"+ # For example, "2.13.0"+ default: "2.13.0"- name: publishTargetdisplayName: "Publish wheels to"type: stringdiff --git a/.azure-pipelines/template/lib-build-template.yml b/.azure-pipelines/template/lib-build-template.ymlindex d506097fe..711ff6754 100644--- a/.azure-pipelines/template/lib-build-template.yml+++ b/.azure-pipelines/template/lib-build-template.yml@@ -73,7 +73,7 @@ stages:displayName: Build ark wheel (py${{ trim(pythonVersion) }})${{ if eq(parameters.enableChangeDetection, true) }}:condition: and(succeeded(), eq(variables['BUILD_ARK_WHEEL'], 'true'))- pool: GAUDI+ pool: INTEL-CPUtimeoutInMinutes: 30steps:- checkout: self@@ -89,6 +89,8 @@ stages:docker run --rm \--user "$(id -u):$(id -g)" \-e HOME=/tmp \+ --cpuset-cpus="${NUMA_CPUSET:-0-15}" \+ --cpuset-mems="${NUMA_NODE:-0}" \-v $(Build.SourcesDirectory):/auto-round \-v /opt/intel/oneapi:/opt/intel/oneapi \-w /auto-round/auto_round_extension/ark \diff --git a/auto_round_extension/ark/requirements.txt b/auto_round_extension/ark/requirements.txtindex 8c72b662c..8f8e2cf32 100644--- a/auto_round_extension/ark/requirements.txt+++ b/auto_round_extension/ark/requirements.txt@@ -1 +1 @@-torch>=2.10.0+torch>=2.13.0