migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime#782
Open
prathikr wants to merge 1 commit into
Open
migrates SDK from Microsoft.ML.OnnxRuntime.Foundry to Microsoft.ML.OnnxRuntime#782prathikr wants to merge 1 commit into
prathikr wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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.FoundrytoMicrosoft.ML.OnnxRuntimeacross 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 |
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.
Eliminates the need for a foundry-specific ORT package