Closed sw6y15 closed 5 years ago
hello @sw6y15 ; Curious why did you close this. did you figure out what is wrong and it's all good now? we would like to help you fix it.
I am not sure the reason, but I clean the environment and it works now. And I found that , if I install CUDA, it happens again. Cuz I was trying onnxruntime with CUDA.
Do you happen to use any of these features when you repro the crash described here?
I didn't use those features manually, if these turn on by default or not?
closing, feel free to reopen if this issue repros
I'm submitting a…
Bug report (I searched for similar issues and did not find one)
Current behavior
WinML UWP
It cannot create learning model session with GPU.
WinMLRunner
I also tried to use
WinMLRunner.exe -model Squeeze.onnx
And it crush as below.When I try to debug it, it also got error in create learning model session with GPU.
Minimal reproduction of the problem with instructions
code in UWP
_device = new LearningModelDevice(LearningModelDeviceKind.DirectX);
_session_gpu = new LearningModelSession(_model, _device);
Environment
Windows Build Number: Win 10 v1809 App min and target version: build version 17763 OS Version (Server, IoT Core, Desktop, etc): Desktop Graphics Driver version:
DxDiag:
Visual Studio 2017