Skip to content

[DRAFT] WinML2.0 preview samples#634

Open
bmehta001 wants to merge 14 commits intoreleases/rel-1.0.0from
bhamehta/winml2-preview-samples
Open

[DRAFT] WinML2.0 preview samples#634
bmehta001 wants to merge 14 commits intoreleases/rel-1.0.0from
bhamehta/winml2-preview-samples

Conversation

@bmehta001
Copy link
Copy Markdown
Contributor

No description provided.

bmehta001 and others added 9 commits April 10, 2026 19:12
Samples in Python, JavaScript, C#, and Rust that verify WinML 2.0
execution providers are discovered, downloaded, and registered correctly.
Each sample runs streaming chat completions on a GPU model.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Points to 1.0.0.dev20260411012949 on ORT-Nightly feed, built with
WindowsAppSDK.ML 2.0.297-preview and ORT 1.24.4.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Python: foundry-local-core-winml==1.0.0.dev20260411003620
- NuGet: Microsoft.AI.Foundry.Local.Core.WinML 1.0.0-dev-20260411T003630-592f019
- JS/Rust: same NuGet version from ORT-Nightly feed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Python: fix chat client API, web service endpoint, pin dev core version
- C#: fix DiscoverEps return type, DownloadAndRegisterEpsAsync signature,
  ListModelsAsync, web service URL, add Betalgo.Ranul.OpenAI dep
- nuget.config: add WindowsAppSDK/Windows.SDK patterns to ORT-Nightly source

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The verify-winml samples are already exercising the WinML package path, so
printing WinML=YES/NO based on EP name heuristics is misleading. Remove the
extra labeling from Python, JS, and Rust samples.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Align the preview validation samples with the packages that are actually
published today: keep the public SDK layers where needed, route the
preview Core.WinML package to ORT-Nightly, and fix the verify-winml
sample code paths so Python, JS, C#, and Rust all use the intended
preview bits.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

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

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Apr 15, 2026 7:10pm

Request Review

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Stop the C#, JS, Python, and Rust SDKs from auto-injecting Bootstrap=true for WinML packages and align the WinML C# floor with the reg-free runtime.

Co-authored-by: Copilot <223556219+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.

1 participant