Skip to content

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

Update CI/CD dockerfile (#2294)

Sun, Xuehao726becc35c45
diff --git a/.azure-pipelines/ark-unit-test.yml b/.azure-pipelines/ark-unit-test.yml
index f9e2b3d0a..29627f20f 100644
--- a/.azure-pipelines/ark-unit-test.yml
+++ b/.azure-pipelines/ark-unit-test.yml
@@ -20,13 +20,13 @@ parameters:
type: string
# Comma-separated list to avoid YAML float parsing in runtime inputs.
# For example, "3.10,3.11,3.12,3.13,3.14"
- default: "3.12"
+ default: "3.14"
- name: torchVersions
displayName: "Torch versions"
type: string
# Comma-separated list to align with pythonVersions runtime input style.
- # For example, "2.13.0"
- default: "2.13.0"
+ # For example, "2.14.0"
+ default: "2.14.0"
- name: publishTarget
displayName: "Publish wheels to"
type: string
diff --git a/.azure-pipelines/docker/DockerfileCodeScan.devel b/.azure-pipelines/docker/DockerfileCodeScan.devel
deleted file mode 100644
index acf0cad76..000000000
--- a/.azure-pipelines/docker/DockerfileCodeScan.devel
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright (c) 2024 Intel Corporation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-ARG UBUNTU_VER=24.04
-FROM ubuntu:${UBUNTU_VER} as devel
-
-# See http://bugs.python.org/issue19846
-ENV LANG C.UTF-8
-
-RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
- aspell \
- aspell-en \
- python3 \
- python3-pip \
- autoconf \
- build-essential \
- wget
-
-RUN ln -sf $(which python3) /usr/bin/python
-
-ARG USER_ID=1000
-ARG GROUP_ID=1000
-
-RUN groupadd -g ${GROUP_ID} hostgroup && \
- useradd -m -u ${USER_ID} -g ${GROUP_ID} hostuser
-
-USER hostuser
-
-ENV PATH="/home/hostuser/.local/bin:$PATH"
-RUN pip config set global.break-system-packages true
-RUN python -m pip install --no-cache-dir pylint bandit
-
-WORKDIR /
diff --git a/.azure-pipelines/docker/Dockerfile.devel b/.azure-pipelines/docker/cpu.dockerfile
similarity index 89%
rename from .azure-pipelines/docker/Dockerfile.devel
rename to .azure-pipelines/docker/cpu.dockerfile
index 04f840aed..d3c08a7ff 100644
--- a/.azure-pipelines/docker/Dockerfile.devel
+++ b/.azure-pipelines/docker/cpu.dockerfile
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ARG UBUNTU_VER=24.04
+ARG UBUNTU_VER=26.04
FROM ubuntu:${UBUNTU_VER}
# See http://bugs.python.org/issue19846
@@ -46,8 +46,9 @@ ENV VIRTUAL_ENV="/home/hostuser/.venv"
ENV UV_NO_PROGRESS=1 \
UV_LINK_MODE=copy
-RUN uv venv --python=3.12 /home/hostuser/.venv
+RUN uv python install 3.14
+RUN uv venv --python=3.14 /home/hostuser/.venv
RUN which python && python --version
-RUN uv pip install torch==2.13.0 torchvision==0.28.0 --extra-index-url https://download.pytorch.org/whl/cpu
+RUN uv pip install torch==2.14.0 torchvision==0.29.0 --extra-index-url https://download.pytorch.org/whl/cpu
WORKDIR /home/hostuser
diff --git a/.azure-pipelines/docker/Dockerfile_xpu.devel b/.azure-pipelines/docker/xpu.dockerfile
similarity index 87%
rename from .azure-pipelines/docker/Dockerfile_xpu.devel
rename to .azure-pipelines/docker/xpu.dockerfile
index 95c4559b1..84f7da4d2 100644
--- a/.azure-pipelines/docker/Dockerfile_xpu.devel
+++ b/.azure-pipelines/docker/xpu.dockerfile
@@ -1,7 +1,7 @@
# Copyright (C) 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
-ARG UBUNTU_VER=24.04
+ARG UBUNTU_VER=26.04
FROM ubuntu:${UBUNTU_VER}
# See http://bugs.python.org/issue19846
@@ -18,8 +18,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
bc \
jq \
vim \
- python3.12 \
- python3.12-dev \
+ python3.14 \
+ python3.14-dev \
python3-pip
RUN apt-get install -y software-properties-common \
@@ -46,8 +46,9 @@ ENV VIRTUAL_ENV="/home/hostuser/.venv"
ENV UV_NO_PROGRESS=1 \
UV_LINK_MODE=copy
-RUN uv venv --python=3.12 /home/hostuser/.venv
+RUN uv python install 3.14
+RUN uv venv --python=3.14 /home/hostuser/.venv
RUN which python && python --version
-RUN uv pip install torch==2.13.0 torchvision==0.28.0 --extra-index-url https://download.pytorch.org/whl/xpu
+RUN uv pip install torch==2.14.0 torchvision==0.29.0 --extra-index-url https://download.pytorch.org/whl/xpu
WORKDIR /home/hostuser
diff --git a/.azure-pipelines/nightly-test-cpu.yml b/.azure-pipelines/nightly-test-cpu.yml
index 91f7b52b8..9212b9d53 100644
--- a/.azure-pipelines/nightly-test-cpu.yml
+++ b/.azure-pipelines/nightly-test-cpu.yml
@@ -37,7 +37,7 @@ pool: INTEL-CPU
variables:
IMAGE_NAME: "auto-round"
- IMAGE_TAG: "py312"
+ IMAGE_TAG: "py314"
UPLOAD_PATH: $(Build.SourcesDirectory)/log_dir
DOWNLOAD_PATH: $(Build.SourcesDirectory)/log_dir
ARTIFACT_NAME: "Nightly_coverage_report"
@@ -97,8 +97,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: '3.12'
- displayName: 'Use Python 3.12'
+ versionSpec: '3.14'
+ displayName: 'Use Python 3.14'
- script: |
cd ${BUILD_SOURCESDIRECTORY}
diff --git a/.azure-pipelines/nightly-test-cuda.yml b/.azure-pipelines/nightly-test-cuda.yml
index d3b609792..106c688a2 100644
--- a/.azure-pipelines/nightly-test-cuda.yml
+++ b/.azure-pipelines/nightly-test-cuda.yml
@@ -56,8 +56,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: "3.13"
- displayName: "Use Python 3.13"
+ versionSpec: "3.14"
+ displayName: "Use Python 3.14"
- task: Bash@3
displayName: "Install dependencies"
@@ -113,6 +113,8 @@ stages:
- stage: GPU_Test
displayName: "GPU Nightly Test"
dependsOn: Start_Pod
+ variables:
+ - group: auto-round-bot-secrets
jobs:
- job: GpuTests
timeoutInMinutes: 300
@@ -146,6 +148,8 @@ stages:
--test_case=nightly \
--test_part=0
displayName: "Run GPU Nightly Tests"
+ env:
+ GITHUB_TOKEN: $(AUTO_ROUND_BOT_TOKEN)
- task: PublishPipelineArtifact@1
condition: succeeded()
@@ -176,8 +180,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: "3.13"
- displayName: "Use Python 3.13"
+ versionSpec: "3.14"
+ displayName: "Use Python 3.14"
- task: Bash@3
displayName: "Install dependencies"
diff --git a/.azure-pipelines/nightly-test-xpu.yml b/.azure-pipelines/nightly-test-xpu.yml
index 22bcd4a7f..795952652 100644
--- a/.azure-pipelines/nightly-test-xpu.yml
+++ b/.azure-pipelines/nightly-test-xpu.yml
@@ -37,8 +37,8 @@ pool: B60
variables:
IMAGE_NAME: "auto-round"
- IMAGE_TAG: "py312-xpu"
- DOCKERFILE_NAME: "Dockerfile_xpu"
+ IMAGE_TAG: "py314-xpu"
+ DOCKERFILE_NAME: "xpu.dockerfile"
UPLOAD_PATH: $(Build.SourcesDirectory)/log_dir
DOWNLOAD_PATH: $(Build.SourcesDirectory)/log_dir
ARTIFACT_NAME: "Nightly_XPU_coverage_report"
@@ -100,8 +100,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: '3.12'
- displayName: 'Use Python 3.12'
+ versionSpec: '3.14'
+ displayName: 'Use Python 3.14'
- script: |
pip install -U pip setuptools uv
diff --git a/.azure-pipelines/scripts/cuda_unit_test/run_cuda_ut.sh b/.azure-pipelines/scripts/cuda_unit_test/run_cuda_ut.sh
index dd1b83167..2bfd86e4a 100644
--- a/.azure-pipelines/scripts/cuda_unit_test/run_cuda_ut.sh
+++ b/.azure-pipelines/scripts/cuda_unit_test/run_cuda_ut.sh
@@ -39,6 +39,12 @@ function setup_environment() {
export CUDA_VISIBLE_DEVICES=0
export HF_HUB_DISABLE_PROGRESS_BARS=1
export COVERAGE_RCFILE="${BUILD_SOURCESDIRECTORY}/.azure-pipelines/scripts/ut/coveragerc/cuda.coveragerc"
+
+ if [[ -n "${GITHUB_TOKEN:-}" ]]; then
+ export GIT_CONFIG_COUNT=1
+ export GIT_CONFIG_KEY_0="url.https://x-access-token:${GITHUB_TOKEN}@github.com/.insteadOf"
+ export GIT_CONFIG_VALUE_0="https://github.com/"
+ fi
}
function print_summary() {
@@ -60,16 +66,18 @@ function setup_basic_test_env() {
echo "##[group]Setting up test environment..."
cd "${BUILD_SOURCESDIRECTORY}" || exit 1
- uv pip install torch==2.13.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
+ rm -rf /root/.venv
+ uv venv --python=3.14 /root/.venv
+ uv pip install torch==2.14.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
uv pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu130
- uv pip install 'git+https://github.com/ggml-org/llama.cpp.git#subdirectory=gguf-py'
+ uv pip install 'git+https://github.com/ggml-org/llama.cpp.git@master#subdirectory=gguf-py'
uv pip install -r test/unit/test_cuda/requirements.txt
uv pip install -r test/unit/test_cuda/requirements_diffusion.txt
uv pip install -U transformers chardet
uv pip install -U pytest-cov
- uv pip install kernels==0.15.2 # For sm120: https://github.com/huggingface/transformers/blob/v5.13.1/setup.py#L93
+ uv pip install kernels==0.16.1 # For sm120: https://github.com/huggingface/transformers/blob/v5.16.1/setup.py#L93
uv pip uninstall torch torchvision
- uv pip install torch==2.13.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
+ uv pip install torch==2.14.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
uv pip install .
echo "List dependencies ..."
@@ -159,7 +167,7 @@ function run_unit_test_llmc() {
echo "##[group]set up UT env..."
cd "${BUILD_SOURCESDIRECTORY}" || exit 1
rm -rf /root/.venv
- uv venv --python=3.12 /root/.venv
+ uv venv --python=3.14 /root/.venv
uv pip install -U pytest-cov
BUILD_TYPE="nightly" uv pip install \
-r test/integration/test_cuda/requirements_llmc.txt \
@@ -183,7 +191,7 @@ function run_unit_test_sglang() {
echo "##[group]set up UT env..."
cd "${BUILD_SOURCESDIRECTORY}" || exit 1
rm -rf /root/.venv
- uv venv --python=3.12 /root/.venv
+ uv venv --python=3.14 /root/.venv
uv pip install -U pytest-cov
uv pip install -r test/integration/test_cuda/requirements_sglang.txt \
--prerelease=allow \
@@ -208,7 +216,7 @@ function run_unit_test_vllm() {
echo "##[group]set up UT env..."
cd "${BUILD_SOURCESDIRECTORY}" || exit 1
rm -rf /root/.venv
- uv venv --python=3.12 /root/.venv
+ uv venv --python=3.14 /root/.venv
uv pip install -U pytest-cov
uv pip install -r test/integration/test_cuda/requirements_vllm.txt \
--extra-index-url https://download.pytorch.org/whl/cu130 \
diff --git a/.azure-pipelines/scripts/cuda_unit_test/runpod_manager.py b/.azure-pipelines/scripts/cuda_unit_test/runpod_manager.py
index fa3bf7f0e..c0a56edb8 100644
--- a/.azure-pipelines/scripts/cuda_unit_test/runpod_manager.py
+++ b/.azure-pipelines/scripts/cuda_unit_test/runpod_manager.py
@@ -15,9 +15,9 @@ TARGET_GPUS = [
"NVIDIA RTX PRO 4500 Blackwell",
"NVIDIA RTX PRO 6000 Blackwell Server Edition MIG 1g.24gb",
"NVIDIA RTX PRO 4000 Blackwell",
+ "NVIDIA RTX PRO 6000 Blackwell Server Edition MIG 2g.48gb",
"NVIDIA RTX 6000 Ada Generation",
"NVIDIA L40S",
- "NVIDIA RTX PRO 6000 Blackwell Server Edition MIG 2g.48gb",
"NVIDIA RTX PRO 6000 Blackwell Server Edition",
"NVIDIA RTX PRO 6000 Blackwell Workstation Edition",
"NVIDIA L40",
diff --git a/.azure-pipelines/scripts/ut/constraints.txt b/.azure-pipelines/scripts/ut/constraints.txt
index 6fbffd978..c2a43a813 100644
--- a/.azure-pipelines/scripts/ut/constraints.txt
+++ b/.azure-pipelines/scripts/ut/constraints.txt
@@ -1,2 +1,2 @@
-torch==2.13.0
-torchvision==0.28.0
+torch==2.14.0
+torchvision==0.29.0
diff --git a/.azure-pipelines/scripts/ut/coveragerc/cpu.coveragerc b/.azure-pipelines/scripts/ut/coveragerc/cpu.coveragerc
index f58ceb616..cc9a0a9e1 100644
--- a/.azure-pipelines/scripts/ut/coveragerc/cpu.coveragerc
+++ b/.azure-pipelines/scripts/ut/coveragerc/cpu.coveragerc
@@ -17,9 +17,8 @@ omit =
*/auto_round/export/export_to_gguf/sync_llama_cpp_conversion.py
*/auto_round/algorithms/transforms/hadamard/utils/triton/*
*/auto_round/modeling/finegrained_fp8_patch*.py
-exclude_lines =
- pragma: no cover
+exclude_also =
raise NotImplementedError
- raise TypeError
- except ImportError:
- except Exception as e:
+ if __name__ == .__main__.:
+ @(abc\.)?abstractmethod
+ def __repr__
diff --git a/.azure-pipelines/scripts/ut/coveragerc/cuda.coveragerc b/.azure-pipelines/scripts/ut/coveragerc/cuda.coveragerc
index fb820a177..ce67f789d 100644
--- a/.azure-pipelines/scripts/ut/coveragerc/cuda.coveragerc
+++ b/.azure-pipelines/scripts/ut/coveragerc/cuda.coveragerc
@@ -16,9 +16,8 @@ omit =
*/auto_round/export/export_to_gguf/conversion/*
*/auto_round/export/export_to_gguf/sync_llama_cpp_conversion.py
*/auto_round/modeling/finegrained_fp8_patch*.py
-exclude_lines =
- pragma: no cover
+exclude_also =
raise NotImplementedError
- raise TypeError
- except ImportError:
- except Exception as e:
+ if __name__ == .__main__.:
+ @(abc\.)?abstractmethod
+ def __repr__
diff --git a/.azure-pipelines/scripts/ut/coveragerc/hpu.coveragerc b/.azure-pipelines/scripts/ut/coveragerc/hpu.coveragerc
index edf6c3a56..243cc1e2d 100644
--- a/.azure-pipelines/scripts/ut/coveragerc/hpu.coveragerc
+++ b/.azure-pipelines/scripts/ut/coveragerc/hpu.coveragerc
@@ -17,9 +17,8 @@ omit =
*/auto_round/export/export_to_gguf/conversion/*
*/auto_round/export/export_to_gguf/sync_llama_cpp_conversion.py
*/auto_round/algorithms/transforms/hadamard/utils/triton/*
-exclude_lines =
- pragma: no cover
+exclude_also =
raise NotImplementedError
- raise TypeError
- except ImportError:
- except Exception as e:
+ if __name__ == .__main__.:
+ @(abc\.)?abstractmethod
+ def __repr__
diff --git a/.azure-pipelines/scripts/ut/coveragerc/xpu.coveragerc b/.azure-pipelines/scripts/ut/coveragerc/xpu.coveragerc
index f58ceb616..cc9a0a9e1 100644
--- a/.azure-pipelines/scripts/ut/coveragerc/xpu.coveragerc
+++ b/.azure-pipelines/scripts/ut/coveragerc/xpu.coveragerc
@@ -17,9 +17,8 @@ omit =
*/auto_round/export/export_to_gguf/sync_llama_cpp_conversion.py
*/auto_round/algorithms/transforms/hadamard/utils/triton/*
*/auto_round/modeling/finegrained_fp8_patch*.py
-exclude_lines =
- pragma: no cover
+exclude_also =
raise NotImplementedError
- raise TypeError
- except ImportError:
- except Exception as e:
+ if __name__ == .__main__.:
+ @(abc\.)?abstractmethod
+ def __repr__
diff --git a/.azure-pipelines/scripts/ut/run_ut_cuda.sh b/.azure-pipelines/scripts/ut/run_ut_cuda.sh
index 7c336ddc8..a43d550b7 100644
--- a/.azure-pipelines/scripts/ut/run_ut_cuda.sh
+++ b/.azure-pipelines/scripts/ut/run_ut_cuda.sh
@@ -4,7 +4,7 @@
set -xe
CONDA_ENV_NAME="unittest_cuda"
-PYTHON_VERSION="3.12"
+PYTHON_VERSION="3.14"
REPO_PATH=$(git rev-parse --show-toplevel)
LOG_DIR=${REPO_PATH}/ut_log_dir
SUMMARY_LOG=${LOG_DIR}/results_summary.log
@@ -94,14 +94,14 @@ function run_unit_test() {
cd ${REPO_PATH}/test
rm -rf .coverage* *.xml *.html
- uv pip install torch==2.13.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
+ uv pip install torch==2.14.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
uv pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu130
- uv pip install 'git+https://github.com/ggml-org/llama.cpp.git#subdirectory=gguf-py'
+ uv pip install 'git+https://github.com/ggml-org/llama.cpp.git@master#subdirectory=gguf-py'
uv pip install -r unit/test_cuda/requirements.txt
uv pip install -r unit/test_cuda/requirements_diffusion.txt
uv pip install -U transformers chardet
uv pip uninstall torch torchvision
- uv pip install torch==2.13.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
+ uv pip install torch==2.14.0 torchvision torchao --index-url https://download.pytorch.org/whl/cu130
cd ${REPO_PATH} && uv pip install . && cd ${REPO_PATH}/test
pip list > ${LOG_DIR}/ut_pip_list.txt
@@ -130,7 +130,7 @@ function run_unit_test_vlm() {
cd ${REPO_PATH}/test
rm -rf .coverage* *.xml *.html
- uv pip install torch==2.13.0 torchvision --index-url https://download.pytorch.org/whl/cu130
+ uv pip install torch==2.14.0 torchvision --index-url https://download.pytorch.org/whl/cu130
uv pip install git+https://github.com/haotian-liu/[email protected] --no-deps
uv pip install flash-attn==2.8.3 --no-build-isolation
uv pip install -r unit/test_cuda/requirements_vlm.txt \
diff --git a/.azure-pipelines/template/docker-template.yml b/.azure-pipelines/template/docker-template.yml
index d09cf3f10..d78e28230 100644
--- a/.azure-pipelines/template/docker-template.yml
+++ b/.azure-pipelines/template/docker-template.yml
@@ -4,10 +4,10 @@ parameters:
default: "auto-round"
- name: repoTag
type: string
- default: "py312"
+ default: "py314"
- name: dockerFileName
type: string
- default: "Dockerfile"
+ default: "cpu.dockerfile"
- name: containerName
type: string
- name: repo
@@ -29,7 +29,7 @@ steps:
docker image prune -f || true
IMAGE="${{ parameters.repoName }}:${{ parameters.repoTag }}"
- DOCKERFILE="${BUILD_SOURCESDIRECTORY}/.azure-pipelines/docker/${{parameters.dockerFileName}}.devel"
+ DOCKERFILE="${BUILD_SOURCESDIRECTORY}/.azure-pipelines/docker/${{ parameters.dockerFileName }}"
CURRENT_HASH=$(md5sum "$DOCKERFILE" | awk '{print $1}')
NEED_BUILD=false
if [[ ! $(docker image ls --format '{{.Repository}}:{{.Tag}}' | grep -Fx "$IMAGE") ]]; then
diff --git a/.azure-pipelines/template/lib-build-template.yml b/.azure-pipelines/template/lib-build-template.yml
index ced6c1abf..75aa69172 100644
--- a/.azure-pipelines/template/lib-build-template.yml
+++ b/.azure-pipelines/template/lib-build-template.yml
@@ -8,7 +8,7 @@ parameters:
- name: pythonVersions
type: string
# Comma-separated list to avoid YAML float parsing (e.g. 3.10 -> 3.1).
- default: "3.12"
+ default: "3.14"
- name: buildMode
type: string
default: "dev"
diff --git a/.azure-pipelines/template/ut-template.yml b/.azure-pipelines/template/ut-template.yml
index 3c5d7c73a..f1925e26c 100644
--- a/.azure-pipelines/template/ut-template.yml
+++ b/.azure-pipelines/template/ut-template.yml
@@ -19,10 +19,10 @@ parameters:
default: "auto-round"
- name: imageTag
type: string
- default: "py312"
+ default: "py314"
- name: dockerFileName
type: string
- default: "Dockerfile"
+ default: "cpu.dockerfile"
- name: buildARKWheel
type: string
default: "false"
diff --git a/.azure-pipelines/unit-test-cuda.yml b/.azure-pipelines/unit-test-cuda.yml
index 95581aa04..a885ccbb8 100644
--- a/.azure-pipelines/unit-test-cuda.yml
+++ b/.azure-pipelines/unit-test-cuda.yml
@@ -59,8 +59,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: "3.13"
- displayName: "Use Python 3.13"
+ versionSpec: "3.14"
+ displayName: "Use Python 3.14"
- task: Bash@3
displayName: "Install dependencies"
@@ -115,6 +115,8 @@ stages:
- job: GpuTests
dependsOn: Start_Pod_Job
+ variables:
+ - group: auto-round-bot-secrets
timeoutInMinutes: 60
pool:
name: "$(POOL_NAME)"
@@ -183,6 +185,8 @@ stages:
--test_case=ci \
--test_part=${{ pair.value.PART }}
displayName: "Run GPU Tests"
+ env:
+ GITHUB_TOKEN: $(AUTO_ROUND_BOT_TOKEN)
- task: PublishPipelineArtifact@1
condition: succeeded()
@@ -221,8 +225,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: "3.13"
- displayName: "Use Python 3.13"
+ versionSpec: "3.14"
+ displayName: "Use Python 3.14"
- task: Bash@3
displayName: "Install dependencies"
@@ -285,8 +289,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: '3.12'
- displayName: 'Use Python 3.12'
+ versionSpec: '3.14'
+ displayName: 'Use Python 3.14'
- script: |
cd ${BUILD_SOURCESDIRECTORY}
diff --git a/.azure-pipelines/unit-test-xpu.yml b/.azure-pipelines/unit-test-xpu.yml
index 0ec992d90..9a91505aa 100644
--- a/.azure-pipelines/unit-test-xpu.yml
+++ b/.azure-pipelines/unit-test-xpu.yml
@@ -18,7 +18,7 @@ pr:
- .azure-pipelines/unit-test-xpu.yml
- .azure-pipelines/scripts/ut/run_ut_xpu.sh
- .azure-pipelines/scripts/ut/detect_changed_tests.sh
- - .azure-pipelines/docker/Dockerfile_xpu.devel
+ - .azure-pipelines/docker/xpu.dockerfile
- .azure-pipelines/build-auto-round-lib.yml
- .azure-pipelines/template/lib-build-template.yml
exclude:
@@ -30,8 +30,8 @@ pool: B60
variables:
IMAGE_NAME: "auto-round"
- IMAGE_TAG: "py312-xpu"
- DOCKERFILE_NAME: "Dockerfile_xpu"
+ IMAGE_TAG: "py314-xpu"
+ DOCKERFILE_NAME: "xpu.dockerfile"
UPLOAD_PATH: $(Build.SourcesDirectory)/log_dir
DOWNLOAD_PATH: $(Build.SourcesDirectory)/log_dir
ARTIFACT_NAME: "UT_coverage_report"
@@ -93,8 +93,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: '3.12'
- displayName: 'Use Python 3.12'
+ versionSpec: '3.14'
+ displayName: 'Use Python 3.14'
- script: |
cd ${BUILD_SOURCESDIRECTORY}
diff --git a/.azure-pipelines/unit-test.yml b/.azure-pipelines/unit-test.yml
index 956c354a9..6a21106f3 100644
--- a/.azure-pipelines/unit-test.yml
+++ b/.azure-pipelines/unit-test.yml
@@ -39,7 +39,7 @@ pool: INTEL-CPU
variables:
IMAGE_NAME: "auto-round"
- IMAGE_TAG: "py312"
+ IMAGE_TAG: "py314"
UPLOAD_PATH: $(Build.SourcesDirectory)/log_dir
DOWNLOAD_PATH: $(Build.SourcesDirectory)/log_dir
ARTIFACT_NAME: "UT_coverage_report"
@@ -99,8 +99,8 @@ stages:
- task: UsePythonVersion@0
inputs:
- versionSpec: '3.12'
- displayName: 'Use Python 3.12'
+ versionSpec: '3.14'
+ displayName: 'Use Python 3.14'
- script: |
cd ${BUILD_SOURCESDIRECTORY}