Update CUDA plugin package outputs - #31722
Merged
Tianlei Wu (tianleiwu) merged 2 commits intoAug 7, 2026
Merged
Conversation
Baiju Meswani (baijumeswani)
approved these changes
Aug 7, 2026
Tianlei Wu (tianleiwu)
deleted the
tlwu/20260807/update_cuda_plugin_packages
branch
August 7, 2026 22:48
Hariharan Seshadri (hariharans29)
pushed a commit
that referenced
this pull request
Aug 7, 2026
## Summary Update the CUDA plugin pipeline to publish release-ready Linux archives and split NuGet packages by canonical .NET RID. ## Key changes - Publish Linux `.tar.gz` archives in the `cuda_ep_cuda12_linux_gz` / `cuda_ep_cuda13_linux_gz` artifacts alongside the existing platform zip artifact. - Generate one NuGet package per enabled RID: - `Microsoft.ML.OnnxRuntime.EP.Cuda12/13.win-x64` - `Microsoft.ML.OnnxRuntime.EP.Cuda12/13.win-arm64` - `Microsoft.ML.OnnxRuntime.EP.Cuda12/13.linux-x64` - `Microsoft.ML.OnnxRuntime.EP.Cuda12/13.linux-arm64` - Keep a shared `.csproj`; `pack_nuget.py` selects the package ID and exact native RID contents at pack time. - Publish all RID-specific package IDs in pipeline metadata and update the Windows GPU NuGet test to consume the `win-x64` package. - Update packaging documentation and local examples to use the canonical RID names. ## Validation - YAML and project XML parsing passed. - Ruff check and format check passed for `pack_nuget.py`. - Editor diagnostics reported no errors in touched files. - End-to-end dry packing produced four packages, each containing only its matching runtime directory. - PowerShell/tar archive construction was tested locally. Azure pipeline execution was not run locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the CUDA plugin pipeline to publish release-ready Linux archives and split NuGet packages by canonical .NET RID.
Key changes
.tar.gzarchives in thecuda_ep_cuda12_linux_gz/cuda_ep_cuda13_linux_gzartifacts alongside the existing platform zip artifact.Microsoft.ML.OnnxRuntime.EP.Cuda12/13.win-x64Microsoft.ML.OnnxRuntime.EP.Cuda12/13.win-arm64Microsoft.ML.OnnxRuntime.EP.Cuda12/13.linux-x64Microsoft.ML.OnnxRuntime.EP.Cuda12/13.linux-arm64.csproj;pack_nuget.pyselects the package ID and exact native RID contents at pack time.win-x64package.Validation
pack_nuget.py.Azure pipeline execution was not run locally.