Add explicit CUDA version suffix to GPU release artifacts#28691
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 produceonnxruntime-{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.
sanaa-hamel-microsoft
requested changes
May 28, 2026
eserscor
approved these changes
May 28, 2026
sanaa-hamel-microsoft
approved these changes
May 29, 2026
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.
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.zipAfter:
onnxruntime-linux-x64-gpu_cuda12-1.27.0.tgz,onnxruntime-win-x64-gpu_cuda13-1.27.0.tgz, etc.Motivation and Context