Skip to content

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

Open
prathikr wants to merge 9 commits into
mainfrom
prathikrao/adjust-ort-dep
Open

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

Conversation

@prathikr

@prathikr prathikr commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Eliminates the need for a foundry-specific ORT package and fixes pipeline to read versions from deps_versions.json

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

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 9, 2026 8:15pm

Request Review

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 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 thread sdk_v2/cpp/cmake/FindOnnxRuntime.cmake Outdated
@prathikr prathikr changed the title adjusts ort dependency migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime Jun 5, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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