Skip to content

Add explicit CUDA version suffix to GPU release artifacts#28691

Merged
kpkbandi merged 4 commits into
mainfrom
dev/kusbandi/2026/05/27-cuda-version-suffix
May 29, 2026
Merged

Add explicit CUDA version suffix to GPU release artifacts#28691
kpkbandi merged 4 commits into
mainfrom
dev/kusbandi/2026/05/27-cuda-version-suffix

Conversation

@kpkbandi
Copy link
Copy Markdown
Contributor

Description

For ORT 1.27, GPU release artifacts (zip/tgz) now include an explicit CUDA major version suffix to distinguish between CUDA 12 and CUDA 13 builds.

Before: onnxruntime-linux-x64-gpu-1.27.0.tgz, onnxruntime-win-x64-gpu-1.27.0.zip
After: onnxruntime-linux-x64-gpu_cuda12-1.27.0.tgz, onnxruntime-win-x64-gpu_cuda13-1.27.0.tgz, etc.

Motivation and Context

Copy link
Copy Markdown
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

Renames the combined GPU C-API release artifacts (Linux .tgz and Windows .zip) to include an explicit CUDA major version suffix (gpu_cuda12 / gpu_cuda13) so CUDA 12 and CUDA 13 builds can ship side‑by‑side for ORT 1.27. Intermediate cuda/tensorrt artifacts and the NuGet packaging stage are unchanged.

Changes:

  • Bundling scripts (extract_and_bundle_gpu_package.sh, extract_zip_files_gpu.ps1) now take/require a CUDA major version and produce onnxruntime-{linux,win}-x64-gpu_cuda<MAJOR>-<version> directories and archives.
  • Linux/Windows combined packaging stages define CUDA_VERSION_MAJOR, pass it to the scripts, and update all references to the final archive name (archive step, validate-package, smoke test, published pipeline artifact).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh Adds required -c CUDA major arg and uses gpu_cuda<MAJOR> directory name.
tools/ci_build/github/windows/extract_zip_files_gpu.ps1 Requires CUDA_VERSION_MAJOR env var and renames extracted dir/zip to gpu_cuda<MAJOR>.
tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.yml Passes -c $(CUDA_VERSION_MAJOR) and updates archive, validate, smoke-test, and pipeline artifact names.
tools/ci_build/github/azure-pipelines/stages/nuget-win-cuda-packaging-stage.yml Defines CUDA_VERSION_MAJOR and updates copy filter, validate, smoke-test, and pipeline artifact names.

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

Comment thread tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.yml Outdated
Comment thread tools/nuget/validate_package.py Outdated
@kpkbandi kpkbandi enabled auto-merge (squash) May 28, 2026 23:26
@kpkbandi kpkbandi merged commit 6a517f5 into main May 29, 2026
86 checks passed
@kpkbandi kpkbandi deleted the dev/kusbandi/2026/05/27-cuda-version-suffix branch May 29, 2026 19:41
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.

4 participants