From bd376449b37249206de576a96f1a989ba4aafde5 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 3 Feb 2026 19:48:54 -0500 Subject: [PATCH 1/2] Force agent version --- .../github/azure-pipelines/templates/py-win-arm64-qnn.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml index 3ea75701accb1..50229d91fbf03 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml @@ -7,7 +7,7 @@ parameters: - name: PYTHON_VERSION type: string default: '3.11' - + - name: QNN_SDK displayName: QNN SDK Version type: string @@ -32,6 +32,8 @@ jobs: name: ${{ parameters.MACHINE_POOL }} os: windows hostArchitecture: Arm64 + demands: + - Agent.Version -equals 4.264.2 templateContext: sdl: codeSignValidation: From 32139d37daa8591aefdff590fda1971a8443b3d2 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 3 Feb 2026 20:08:14 -0500 Subject: [PATCH 2/2] More pool adjustments --- .../github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml index 51581814a4b81..f5b5c4cbdb3e4 100644 --- a/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml @@ -37,7 +37,10 @@ parameters: jobs: - job: 'BUILD_QNN_EP' - pool: 'onnxruntime-qnn-windows-vs-2022-arm64' + pool: + name: 'onnxruntime-qnn-windows-vs-2022-arm64' + demands: + - Agent.Version -equals 4.264.2 variables: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true buildArch: arm64 @@ -83,7 +86,7 @@ jobs: --config $(BuildConfig) --build_dir $(Build.BinariesDirectory) --cmake_generator "Visual Studio 17 2022" - --build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache + --build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache --use_qnn $(QnnLibKind) --qnn_home $(QnnSDKRootDir) --update --build --parallel $(ExtraQnnBuildArgs)