From 46d6ab57cadf0282d66a0098462f1cabd900fd6a Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 17 Apr 2026 10:05:44 -0400 Subject: [PATCH 1/7] Fix lack of auth --- tools/ci_build/github/azure-pipelines/templates/py-linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-linux.yml b/tools/ci_build/github/azure-pipelines/templates/py-linux.yml index 330e4cd0e7724..2fb92ce67320f 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-linux.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-linux.yml @@ -76,6 +76,7 @@ jobs: submodules: none - template: set-nightly-build-option-variable-step.yml + - template: setup-feeds-and-python-steps.yml - template: get-docker-image-steps.yml parameters: From 29d8a90afcb67ed4a6e9ebc979d8df25761bc5b2 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 17 Apr 2026 10:09:38 -0400 Subject: [PATCH 2/7] Update --- tools/ci_build/github/azure-pipelines/templates/py-linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-linux.yml b/tools/ci_build/github/azure-pipelines/templates/py-linux.yml index 2fb92ce67320f..12e88d39ecd7d 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-linux.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-linux.yml @@ -77,6 +77,8 @@ jobs: - template: set-nightly-build-option-variable-step.yml - template: setup-feeds-and-python-steps.yml + parameters: + architecture: ${{ parameters.arch }} - template: get-docker-image-steps.yml parameters: From 2e1efa6e2ed2eeb3a64ebc933663c60ee8e85451 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 17 Apr 2026 10:34:44 -0400 Subject: [PATCH 3/7] . --- .../templates/setup-feeds-and-python-steps.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml b/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml index b72787241a0a3..180ec76386ddf 100644 --- a/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml +++ b/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml @@ -78,7 +78,9 @@ steps: condition: ne('${{ parameters.architecture }}', 'aarch64') inputs: versionSpec: ${{ parameters.versionSpec }} - ${{ if ne(parameters.architecture, '') }}: + ${{ if eq(parameters.architecture, 'x86_64') }}: + architecture: 'x64' + ${{ elif ne(parameters.architecture, '') }}: architecture: ${{ parameters.architecture }} - task: PowerShell@2 From b52db7aec24a7b7157afc7e537c91500b7a878f2 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 17 Apr 2026 10:36:06 -0400 Subject: [PATCH 4/7] . --- .../azure-pipelines/templates/setup-feeds-and-python-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml b/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml index 180ec76386ddf..328e44abf91f6 100644 --- a/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml +++ b/tools/ci_build/github/azure-pipelines/templates/setup-feeds-and-python-steps.yml @@ -80,7 +80,7 @@ steps: versionSpec: ${{ parameters.versionSpec }} ${{ if eq(parameters.architecture, 'x86_64') }}: architecture: 'x64' - ${{ elif ne(parameters.architecture, '') }}: + ${{ elseif ne(parameters.architecture, '') }}: architecture: ${{ parameters.architecture }} - task: PowerShell@2 From 0914f8b33469dd390c19f999993e2f17e26cdb31 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 17 Apr 2026 13:05:59 -0400 Subject: [PATCH 5/7] Another fix --- .../azure-pipelines/templates/py-packaging-linux-test-cpu.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cpu.yml index 3acb299ce59a1..1c7715ca19b74 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cpu.yml @@ -50,6 +50,10 @@ jobs: - download: build # pipeline resource identifier. artifact: 'onnxruntime-${{ parameters.arch }}-${{ parameters.ep }}' + - template: templates/setup-feeds-and-python-steps.yml + parameters: + architecture: ${{ parameters.arch }} + - bash: | set -e -x ls $(Pipeline.Workspace)/build From 7b4a9f58980c1b22b32e0fc88b5a9c25db1ec125 Mon Sep 17 00:00:00 2001 From: Sanaa Hamel Date: Fri, 17 Apr 2026 13:33:23 -0400 Subject: [PATCH 6/7] fix: feed auth for py-cuda and webgpu --- .../github/azure-pipelines/stages/py-linux-gpu-stage.yml | 4 ++++ .../github/azure-pipelines/stages/py-linux-webgpu-stage.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/stages/py-linux-gpu-stage.yml b/tools/ci_build/github/azure-pipelines/stages/py-linux-gpu-stage.yml index 5fbf75eda6a3a..d8793c147477d 100644 --- a/tools/ci_build/github/azure-pipelines/stages/py-linux-gpu-stage.yml +++ b/tools/ci_build/github/azure-pipelines/stages/py-linux-gpu-stage.yml @@ -91,6 +91,10 @@ stages: - template: ../templates/set-nightly-build-option-variable-step.yml + - template: ../templates/setup-feeds-and-python-steps.yml + parameters: + architecture: ${{ parameters.arch }} + - template: ../templates/get-docker-image-steps.yml parameters: Dockerfile: tools/ci_build/github/linux/docker/inference/${{ parameters.arch }}/python/cuda/Dockerfile diff --git a/tools/ci_build/github/azure-pipelines/stages/py-linux-webgpu-stage.yml b/tools/ci_build/github/azure-pipelines/stages/py-linux-webgpu-stage.yml index 1e20e6c82baf3..83a6bb51a9c52 100644 --- a/tools/ci_build/github/azure-pipelines/stages/py-linux-webgpu-stage.yml +++ b/tools/ci_build/github/azure-pipelines/stages/py-linux-webgpu-stage.yml @@ -54,6 +54,10 @@ stages: - template: ../templates/set-nightly-build-option-variable-step.yml + - template: ../templates/setup-feeds-and-python-steps.yml + parameters: + architecture: ${{ parameters.arch }} + - template: ../templates/get-docker-image-steps.yml parameters: Dockerfile: tools/ci_build/github/linux/docker/inference/${{ parameters.arch }}/python/cuda/Dockerfile From 924d138883f084e14be67c8cc1737a0496ad7903 Mon Sep 17 00:00:00 2001 From: Sanaa Hamel Date: Mon, 20 Apr 2026 14:43:19 -0400 Subject: [PATCH 7/7] fix: gpu test auth --- .../templates/py-packaging-linux-test-cuda.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cuda.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cuda.yml index a10ea02542908..1dde96e21a636 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cuda.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test-cuda.yml @@ -56,6 +56,11 @@ jobs: - checkout: self clean: true submodules: none + + - template: templates/setup-feeds-and-python-steps.yml + parameters: + architecture: ${{ parameters.arch }} + - download: build # pipeline resource identifier. artifact: 'linux_gpu_wheel_${{ parameters.arch }}'