Skip to content

Build onnxruntime-genai-cuda packages on win-arm64 - #2199

Merged
baijumeswani merged 6 commits into
mainfrom
baijumeswani/windows-arm64-cuda
Jun 17, 2026
Merged

Build onnxruntime-genai-cuda packages on win-arm64#2199
baijumeswani merged 6 commits into
mainfrom
baijumeswani/windows-arm64-cuda

Conversation

@baijumeswani

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 8, 2026 21:51
@baijumeswani
baijumeswani requested a review from a team as a code owner June 8, 2026 21:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 extends the build/packaging pipeline to produce onnxruntime-genai CUDA artifacts for Windows ARM64, aligning Windows ARM64 CUDA builds with existing x64 CUDA flows and updating CI to use CUDA 13.1 and a CUDA 13 manylinux image.

Changes:

  • Add Windows ARM64 CUDA CMake presets and update ORT NuGet selection/layout handling for Windows ARM64 CUDA builds.
  • Extend Azure Pipelines to build/package/validate Win-ARM64 CUDA artifacts (C API, Python, NuGet) and update CUDA version gating from 13.0 → 13.1.
  • Update NuGet packaging inputs to include Win-ARM64 CUDA native binaries and add a CUDA 13 manylinux Dockerfile.

Reviewed changes

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

Show a summary per file
File Description
tools/python/util/dependency_resolver.py Adjust ORT NuGet package selection for CUDA on Windows ARM.
tools/nuget/generate_nuspec_for_custom_nuget.py Allow CUDA binaries to be included in custom NuGet generation (still filtering PDBs).
tools/ci_build/github/linux/docker/manylinux/Dockerfile.manylinux2_28_cuda_13 Add CUDA 13 manylinux build image definition.
nuget/targets/netstandard/Microsoft.ML.OnnxRuntimeGenAI.props Copy Win-ARM64 CUDA DLL to output when present.
cmake/presets/CMakeWinConfigPresets.json Add Windows ARM64 CUDA configure presets and adjust WinML ARM64 inheritance.
cmake/presets/CMakeWinBuildPresets.json Add Windows ARM64 CUDA build presets.
cmake/ortlib.cmake Use CPU-package layout/package name for Windows ARM64 CUDA ORT and adjust header dir selection accordingly.
.pipelines/stages/py-validation-stage.yml Switch CUDA validation gating from 13.0 → 13.1.
.pipelines/stages/py-packaging-stage.yml Add ort_cuda_version parameter and enable Win-ARM64 CUDA Python packaging.
.pipelines/stages/nuget-packaging-stage.yml Pass enable_win_arm64 into nuget packaging job.
.pipelines/stages/jobs/steps/capi-win-step.yml Add Win-ARM64 CUDA SDK download logic and ORT package selection for CUDA ARM64.
.pipelines/stages/jobs/steps/capi-linux-step.yml Map CUDA 13.x to Dockerfile suffix “13” for image lookup.
.pipelines/stages/jobs/py-validation-job.yml Update CUDA 13 docker image selection to trigger on 13.1.
.pipelines/stages/jobs/nuget-validation-job.yml Update CUDA 13 docker image selection to trigger on 13.1.
.pipelines/stages/jobs/nuget-packaging-job.yml Validate presence of CUDA native libraries for enabled RIDs (incl. win-arm64).
.pipelines/stages/jobs/custom-nuget-packaging-job.yml Download Win-ARM64 CUDA C API artifacts for custom NuGet packaging.
.pipelines/stages/capi-packaging-stage.yml Enable Win-ARM64 CUDA C API packaging and propagate cuda_version.
.pipelines/pypl-publishing.yml Introduce ort_cuda_version pipeline parameter and pass it through.
.pipelines/nuget-publishing.yml Update allowed CUDA versions list to include 13.1 (drop 13.0).

Comment thread nuget/targets/netstandard/Microsoft.ML.OnnxRuntimeGenAI.props
Comment thread .pipelines/stages/jobs/steps/capi-win-step.yml
@baijumeswani
baijumeswani force-pushed the baijumeswani/windows-arm64-cuda branch from 5f52af7 to 71a4714 Compare June 12, 2026 21:40
Comment thread .pipelines/stages/nuget-packaging-stage.yml
@kunal-vaishnavi

Copy link
Copy Markdown
Contributor

/azp run Integration Tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@kunal-vaishnavi
kunal-vaishnavi enabled auto-merge (squash) June 16, 2026 22:10
@baijumeswani
baijumeswani disabled auto-merge June 17, 2026 05:20
@baijumeswani
baijumeswani merged commit 01efc0b into main Jun 17, 2026
132 of 134 checks passed
@baijumeswani
baijumeswani deleted the baijumeswani/windows-arm64-cuda branch June 17, 2026 05:20
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.

3 participants