Skip to content

migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime#782

Open
prathikr wants to merge 1 commit into
mainfrom
prathikrao/adjust-ort-dep
Open

migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime#782
prathikr wants to merge 1 commit into
mainfrom
prathikrao/adjust-ort-dep

Conversation

@prathikr
Copy link
Copy Markdown
Contributor

@prathikr prathikr commented Jun 5, 2026

Eliminates the need for a foundry-specific ORT package

Copilot AI review requested due to automatic review settings June 5, 2026 17:11
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 5, 2026 5:11pm

Request Review

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

This PR updates the SDK v2 dependency wiring to use the standard Microsoft.ML.OnnxRuntime NuGet package instead of Microsoft.ML.OnnxRuntime.Foundry, aligning build/install scripts, packaging, and pipeline documentation with the new ORT package choice.

Changes:

  • Switched ORT package IDs from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime across CMake FetchContent, NuGet packaging, and pipeline prefetch steps.
  • Updated the JS v2 native install script to download Microsoft.ML.OnnxRuntime (keeping the Linux x64 GPU package path).
  • Refreshed developer/pipeline documentation to reflect the new ORT package name.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk_v2/js/script/install-native.cjs Updates the ORT NuGet package name used for JS v2 native runtime download (non-Linux-x64).
sdk_v2/DEVELOPMENT.md Updates troubleshooting docs to reference Microsoft.ML.OnnxRuntime instead of .Foundry.
sdk_v2/cpp/nuget/pack.py Updates CLI help text for --ort_version to match the new ORT package name.
sdk_v2/cpp/nuget/Microsoft.AI.Foundry.Local.Runtime.nuspec Changes the runtime package dependency to Microsoft.ML.OnnxRuntime.
sdk_v2/cpp/cmake/FindOnnxRuntime.cmake Switches the default FetchContent ORT package to Microsoft.ML.OnnxRuntime and updates related messaging/comments.
sdk_v2/cpp/build.py Updates --use_winml help text to reference the new ORT package name.
.pipelines/v2/templates/steps-prefetch-nuget.yml Prefetches Microsoft.ML.OnnxRuntime instead of .Foundry and updates parameter docs.
.pipelines/v2/templates/steps-build-windows.yml Updates parameter docs to reference Microsoft.ML.OnnxRuntime.
.pipelines/v2/sdk_v2-pipeline-plan.md Updates pipeline plan documentation to reflect the new ORT package ID.

Comment on lines +4 to 6
# ORT is always sourced from Microsoft.ML.OnnxRuntime via FetchContent —
# nuget.org for releases,
# the ORT-Nightly ADO feed for -dev- versions. The FOUNDRY_LOCAL_USE_WINML flag
@prathikr prathikr changed the title adjusts ort dependency migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime Jun 5, 2026
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