Skip to content

Conversation

@eserscor
Copy link
Contributor

Description

Adds new pipeline for CUDA 13 Nuget builds

Motivation and Context

The artifacts from this pipeline will be used by the release pipeline to publish the nuget packages to our public feed.

@eserscor eserscor requested a review from Copilot January 15, 2026 19:39
@eserscor eserscor marked this pull request as ready for review January 15, 2026 19:39
@eserscor
Copy link
Contributor Author

/azp run Windows ARM64 QNN CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new Azure Pipeline specifically for building CUDA 13 NuGet packages. The pipeline is a streamlined version of the existing c-api-noopenmp-packaging-pipelines.yml, focused specifically on CUDA builds without the CPU-only stages.

Changes:

  • Created new pipeline c-api-noopenmp-packaging-pipelines-cuda13.yml with CUDA 13.0 as the default version
  • Configured pipeline with appropriate CUDA 13-specific variables (TensorRT, CUDA SDK paths, CUDNN, and architecture specifications)
  • Simplified stage structure to focus on NuGet CUDA packaging, removing CPU-specific and separate Java/Node.js stages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 43 to 47
- name: NugetPackageSuffix
displayName: Suffix to append to nuget package
type: string
default: 'NONE'

Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter 'NugetPackageSuffix' is defined but never used in the pipeline stages. This parameter appears to be carried over from the base pipeline but is not referenced in any of the template stages. Consider removing this unused parameter to keep the pipeline configuration clean and maintainable.

Suggested change
- name: NugetPackageSuffix
displayName: Suffix to append to nuget package
type: string
default: 'NONE'

Copilot uses AI. Check for mistakes.
Comment on lines 48 to 52
- name: AdditionalBuildFlag
displayName: Build flags to append to build command
type: string
default: '--use_azure'

Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter 'AdditionalBuildFlag' is defined but never used in the pipeline stages. This parameter is not referenced in any of the included templates. Consider removing this unused parameter unless it will be used in a future update.

Suggested change
- name: AdditionalBuildFlag
displayName: Build flags to append to build command
type: string
default: '--use_azure'

Copilot uses AI. Check for mistakes.
Comment on lines 53 to 59
# Do not update this to a version that does not exist for the qnn-runtime Maven package:
# https://mvnrepository.com/artifact/com.qualcomm.qti/qnn-runtime
- name: QnnSdk
displayName: QNN SDK Version
type: string
default: 2.42.0.251225

Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter 'QnnSdk' is defined but never used in the pipeline stages. This parameter appears to be specific to QNN SDK builds but is not utilized in any of the CUDA-specific stages included in this pipeline. Consider removing this unused parameter to avoid confusion.

Suggested change
# Do not update this to a version that does not exist for the qnn-runtime Maven package:
# https://mvnrepository.com/artifact/com.qualcomm.qti/qnn-runtime
- name: QnnSdk
displayName: QNN SDK Version
type: string
default: 2.42.0.251225

Copilot uses AI. Check for mistakes.
Comment on lines 65 to 67
- 12.8
- 13.0

Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pipeline is named 'c-api-noopenmp-packaging-pipelines-cuda13.yml' suggesting it's specifically for CUDA 13, but the CudaVersion parameter still allows selection of CUDA 12.8. While the default is correctly set to '13.0', allowing CUDA 12.8 as an option seems inconsistent with the pipeline's purpose and naming. Consider either removing the 12.8 option or renaming the pipeline to indicate it supports multiple CUDA versions.

Suggested change
- 12.8
- 13.0
- 13.0

Copilot uses AI. Check for mistakes.
@eserscor
Copy link
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Jan 15, 2026

@eserscor I've opened a new pull request, #27025, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 8 commits January 15, 2026 14:50
…27025)

### Description

Cleaned up the CUDA 13 nuget packaging pipeline by removing unused
parameters and making it CUDA 13 specific:

- Removed unused parameters: `NugetPackageSuffix`,
`AdditionalBuildFlag`, `QnnSdk`
- Removed CUDA 12.8 from supported versions (pipeline filename
explicitly indicates CUDA 13 only)
- Simplified variables section by eliminating conditional logic for CUDA
12.8

### Motivation and Context

The pipeline inherited parameters from the base template that were never
referenced in any stages. Additionally, the pipeline was named for CUDA
13 but allowed CUDA 12.8 selection, creating inconsistency. These
changes improve maintainability and align the pipeline behavior with its
stated purpose.

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: eserscor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants