-
Notifications
You must be signed in to change notification settings - Fork 317
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
Unsupported Hardware on VM with compatible CPU #207
Comments
Also, the same code run perfectly on the host machine on Ubuntu 21 with NNPack... =/ |
So basically, the problem seems to be from VvirtualBox (something with AVX through virtualbox). |
I ran into a similar issue, and it was related to the L3 cache. I am running an Ubuntu 22.04 VM using KVM/QEMU/libvirt, with an AMD Ryzen CPU. After adjusting the CPU settings for the VM, the cache size shown with <cpu mode='host-passthrough'>
<topology sockets='1' dies='1' cores='4' threads='2'/>
<cache mode='passthrough'/>
<feature policy='require' name='topoext'/>
</cpu> In particular it is the |
Hi everyone,
I'm having some issues with NNPack, but I didn't know where to start.
I'm getting the famous message
Could not initialize NNPACK! Reason: Unsupported hardware
that seems related to CPU that doesn't have AVX2 and 3-level cache. I also forgot to say that this error start since we were switching a virtual machine from CentOS to Ubuntu.I start looking at CPU info inside the Ubuntu VM and it seems that AVX2 and cache are rightly detected.
So I'm wondering, can a library or something that can be missing that makes my CPU to be incorrectly driven?
Best regards
The text was updated successfully, but these errors were encountered: