Open caofx0418 opened 8 months ago
@smk2007
Can you help me? Thank you.
@smk2007 @PatriceVignola @justinchuby @snnn @HectorSVC could you please take a look this issue? thank you
@jywu-msft @fdwr
could you please take a look this issue? thank you
Can I use WinML ... to enable QNN-EP...?
@caofx0418 Nope, WinML only supports CPU and DirectX (DML) backends.
Can I use WinML ... to enable QNN-EP...?
@caofx0418 Nope, WinML only supports CPU and DirectX (DML) backends.
Thank you for your reply!
Do WinML have plan to support other Backends in future ?
Do WinML have plan to support other Backends in future ?
I defer to Sheil @smk2007 for any future WinML plans, but my wager is that WinML will only target Windows API's like DirectML rather than using lower-level device-specific driver interfaces. WinML is a thin layer over ORT though - can you call ORT directly?
Do WinML have plan to support other Backends in future ?
I defer to Sheil @smk2007 for any future WinML plans, but my wager is that WinML will only target Windows API's like DirectML rather than using lower-level device-specific driver interfaces. WinML is a thin layer over ORT though - can you call ORT directly?
Thank you for your reply!
I can call ORT C++ interface directly. and I also want to make my EP more "Windows ML native".
Describe the feature request
Can I use Microsoft.AI.MachineLearning(WinML) interfaces to enable OnnxRuntime-QNN-EP(Qualcomm NPU) or other no-DirectX EP ?
From "windows-ml/get-started", we can see 2 solutions: In-box vs NuGet https://learn.microsoft.com/en-us/windows/ai/windows-ml/get-started
In-box: OnnxRuntime as a part of Windows, we can't change. so it's no chance to use myself built OnnxRuntime with QNN-EP.
NuGet: Microsoft.ai.machinelearning.dll does not contain an embedded ONNX runtime, instead the ONNX runtime is built into a file: onnxruntime.dll.
and maybe we can replace the onnxruntime.dll to myself built OnnxRuntime with QNN-EP. but the WinML interface: public enum LearningModelDeviceKind, only support 4 kinds: 0 Default, 1 Cpu, 2 DirectX, 3 DirectXHighPerformance, 4 DirectXMinPower. But there is no option for QNN-EP or other EP in the LearningModelDeviceKind enumeration.
So can I use Microsoft.AI.MachineLearning(WinML) interfaces to enable OnnxRuntime-QNN-EP(Qualcomm NPU) or other no-DirectX EP?
Describe scenario use case
Windows: Microsoft.AI.MachineLearning(WinML) interfaces to enable OnnxRuntime-QNN-EP(Qualcomm NPU) or other no-DirectX EP