DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm.
MIT License
2.24k
stars
301
forks
source link
failed to run DirectML_ESRGAN on NPU of Snapdragon X Elite Dev box #659
When I specify the command line parameter -a "NPU", the sample app runs with this output:
2024-10-25 17:08:26.1129381 [E:onnxruntime:, inference_session.cc:2045 onnxruntime::InferenceSession::Initialize::::operator ()] Exception during initialization: D:\a_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\DmlGraphFusionHelper.cpp(576)\onnxruntime.dll!00007FFEE0F0027C: (caller: 00007FFEE0E7D2E4) Exception(1) tid(2e30) 887A0004 The specified device interface or feature level is not supported on this system.
Error: Exception during initialization: D:\a_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\DmlGraphFusionHelper.cpp(576)\onnxruntime.dll!00007FFEE0F0027C: (caller: 00007FFEE0E7D2E4) Exception(1) tid(2e30) 887A0004 The specified device interface or feature level is not supported on this system.
Developers will experience error code DXGI_ERROR_UNSUPPORTED (0x887A0004) stating “The specified device interface or feature level is not supported on this system” when attempting to use models outside of supported models.
So I downloaded the ESRGAN model from here. But the above exception still throws!
When I specify the command line parameter -a "NPU", the sample app runs with this output:
I read here:
So I downloaded the ESRGAN model from here. But the above exception still throws!
Help needed here!