Skip to content

Update CUDA plugin package outputs - #31722

Merged
Tianlei Wu (tianleiwu) merged 2 commits into
mainfrom
tlwu/20260807/update_cuda_plugin_packages
Aug 7, 2026
Merged

Update CUDA plugin package outputs#31722
Tianlei Wu (tianleiwu) merged 2 commits into
mainfrom
tlwu/20260807/update_cuda_plugin_packages

Conversation

@tianleiwu

Copy link
Copy Markdown
Contributor

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.

@tianleiwu
Tianlei Wu (tianleiwu) merged commit 776e8a8 into main Aug 7, 2026
87 checks passed
@tianleiwu
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants