Commit 2992fda
Load WinML runtime DLL for SDK EP discovery (#733)
## Summary
- Load `Microsoft.Windows.AI.MachineLearning.dll` from the Core native
directory for the Python SDK when present.
- Preload the same WinML runtime DLL for Rust `winml` builds from the
native runtime directory.
- Preload the WinML runtime DLL for C# WinML builds alongside ORT and
ORT GenAI.
- No JS SDK code change needed; its existing loader already handles the
native runtime directory.
## Validation
- Rust WinML EP smoke without a caller PATH override discovered CUDA,
OpenVINO, and NvTensorRTRTX, then registered OpenVINO.
- C# WinML source smoke without a caller PATH override discovered CUDA,
OpenVINO, and NvTensorRTRTX, then registered OpenVINO.
- JS EP smoke without a caller PATH override discovered CUDA, OpenVINO,
and NvTensorRTRTX, then registered OpenVINO.
---------
Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Bhagirath Mehta <bhamehta@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 33a1a2f commit 2992fda
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
185 | 197 | | |
186 | 198 | | |
187 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
790 | 809 | | |
791 | 810 | | |
792 | 811 | | |
| |||
0 commit comments