onnxruntime/tools/ci_build/github/azure-pipelines/py-cuda-publishing-pipeline.yml
Changming Sun c6cbda3257
Update Python-Cuda-Publishing-Pipeline (#23253)
### Description
1. Currently Python-Cuda-Publishing-Pipeline only publishes Linux
wheels, not Windows wheels. It is because recently we refactored the
upstream pipeline("Python-CUDA-Packaging-Pipeline") to use 1ES PT. This
PR fixed the issue
2. tools/ci_build/github/azure-pipelines/stages/py-win-gpu-stage.yml no
longer includes component-governance-component-detection-steps.yml ,
because 1ES PT already inserted such a thing
3. Delete tools/ci_build/github/windows/eager/requirements.txt because
it is no longer used.

### Motivation and Context
The "Python-CUDA-Packaging-Pipeline" is for CUDA 12.
"Python CUDA ALT Packaging Pipeline" is for CUDA 11.

The two pipelines are very similar, except the CUDA versions are
different.
Each of them has three parts: build, test, publish.
"Python-CUDA-Packaging-Pipeline" is the first part: build.
"Python CUDA12 Package Test Pipeline" is the second part.
"Python-Cuda-Publishing-Pipeline" is the third part that publishes the
packages to an internal ADO feed.
2025-01-06 11:50:58 -08:00

26 lines
No EOL
514 B
YAML

resources:
pipelines:
- pipeline: build
source: 'Python CUDA12 Package Test Pipeline'
trigger:
branches:
include:
- main
branch: main
parameters:
- name: isReleaseBuild
type: boolean
default: false
variables:
- name: ArtifactFeed
${{ if eq(parameters.isReleaseBuild, false) }}:
value: ORT-Nightly
${{ else }}:
value: onnxruntime-cuda-12
stages:
- template: stages/py-cuda-publishing-stage.yml
parameters:
artifact_feed: $(ArtifactFeed)