-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello world tutorial error: RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: CHECK failed: it != end(): key not found: profile #88
Comments
Someone had the same error in a previous issue and was able to resolve it. Worth checking if this also helps resolve your issue: #59 (comment) |
I gave this a try and it resulted in my kernel completely crashing unfortunately |
Hi @ChristiaanBoe, In the quantization section in Step 3, update it to the following. As well, you'll want to restart the Jupyter Notebook before rerunning all the cells so that there's no cached data.
Thanks, |
Hello @vgodsoe , Thank you so much for your help so far! I have tried using your method resulting in the following onnx files: Unfortunatly using both the automated and the manual install I am still greeted with an onnxRuntime error however it appears I now get different outputs. I also used the #59 method for both automated and manual methods.
Manual error using #59
Resulting in the following error log: Using the automated method normally I got the following error messages:
With the following log: Using the automated method using #59 I simply get a kernel shutdown With the following log: I feel like the problem might be with finding the the voe-4.0-win_amd64 folder. Christiaan |
I had the same issue, which is fixed by this commit b361b5b |
Hey @vgodsoe @ryomo after some fiddling and reinstalling Windows 11 I got the NPU to work (I think). I still find some weird bugs, as I first have to run the NPU execution cell, quantize the onnx file again and then execute that file via the NPU to get it to work. I was also a bit suprised regarding the low speed of the NPU on the minisforum. It usually is about two times as slow and at best of times the inference times are equal (see the attached image), is this the same result you guys get from the hello world notebook running on the Minisforum um790 pro? Edit: the NPU is faster then CPU once the size of the fully connected layer increases |
Hi. FYI, other quantized models which I'm working on are showing faster inference speeds via the NPU than via the CPU. (But super low accuracy for now 😢 ) |
Your work seems super interesting, to me the runtime seems to have quite a bit of variance, I am looking forward to seeing your solution! What I noticed so far is that the IPU really shines compares to GPUs when it comes to large models with larges input sizes as it can use the more numerous CPU ram as opposed to CUDA RAM. As I used the manual installation method one thing I noticed is that in my global variables |
Now I have converted hello_world.ipynb to a normal Python script to check what's going on.
I completely agree. |
Hi @ryomo and @ChristiaanBoe Thank you for your feedback! Love to see them. I checked in a new hello world example, and I wanted to share a couple of updates that will hopefully help!
Thanks, |
Thank you for your clarifications and updates! The detailed explanations are very helpful. |
Hello @vgodsoe , Thank you so much for the clarifications and the continued support :) I have been playing around with the NUM_OF_DPU_RUNNERS: rather surprisingly I found that both the NPU as well as the CPU appear to speed up roughly the same amount, is this an expected result? All the best, Christiaan |
Hello everyone,
I am having some trouble with my Minisforum um790 pro.
For context, I have followed the steps on both the automated installation (https://ryzenai.docs.amd.com/en/latest/inst.html) using the install.bat script as well as the manual one (https://ryzenai.docs.amd.com/en/latest/manual_installation.html). The only exception regarding following the steps was that I used Visual Studio 2022 instead of 2019 as it is hidden behind a Microsoft subscription.
I did this by changing the following line from the bat script
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\16.0" >nul 2>&1
into
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\17.0" >nul 2>&1
.I run the automated installation using vs code, in the same manner as the youtube tutorial resulting in the following error message:
In turn the manual installation is run via an jupyter environment resulting in the following error message:
I have also attached the error log of the jupyter notebook in ryzenlog.txt.
ryzenlog.txt
If someone could help me find out what I did wrong it would very much be appreciated.
Best regards
The text was updated successfully, but these errors were encountered: