Skip to content

Make the WinML SDK resolvable from a standalone build agent - #2

Merged
Zhaeong merged 1 commit into
AMD-GPU:rel-0.15.1from
aditya-dl:amd/dev/adilohia/nuget-winml-sdk-source
Aug 5, 2026
Merged

Make the WinML SDK resolvable from a standalone build agent#2
Zhaeong merged 1 commit into
AMD-GPU:rel-0.15.1from
aditya-dl:amd/dev/adilohia/nuget-winml-sdk-source

Conversation

@aditya-dl

Copy link
Copy Markdown

The repo nuget.config clears all package sources and declares only ORT-Nightly. Upstream CI resolves Microsoft.Windows.AI.MachineLearning through internal package infrastructure, so a USE_WINML build outside that environment has no source for the WinML SDK and its dependencies.

Adding nuget.org alone is not enough: ORT-Nightly is an upstream-proxying feed that answers 401 (prompting for credentials) rather than 404 for packages it does not host, which aborts the restore instead of falling through to the next source. A packageSourceMapping routes the ORT packages to the nightly feed and everything else to nuget.org.

Verified with an uncached, non-interactive install of the WinML SDK, and by a cold USE_WINML=ON + USE_DML=ON build.

The repo nuget.config clears all package sources and declares only ORT-Nightly.
Upstream CI resolves Microsoft.Windows.AI.MachineLearning through internal package
infrastructure, so a USE_WINML build outside that environment has no source for the
WinML SDK and its dependencies.

Adding nuget.org alone is not enough: ORT-Nightly is an upstream-proxying feed that
answers 401 (prompting for credentials) rather than 404 for packages it does not
host, which aborts the restore instead of falling through to the next source. A
packageSourceMapping routes the ORT packages to the nightly feed and everything else
to nuget.org.

Verified with an uncached, non-interactive install of the WinML SDK, and by a cold
USE_WINML=ON + USE_DML=ON build.
@Zhaeong
Zhaeong merged commit badb776 into AMD-GPU:rel-0.15.1 Aug 5, 2026
1 of 12 checks passed
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