Hello! How do I get rid of this when running torch? After getting this error the first time, I installed cmake, but I still get the error. I’m running cmake version 3.28.3 and torch version 2.3.1 on a basic droplet (Regular Intel CPU, 2vCPUs, 4 GB memory, 80 GB disk). Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
NNPACK needs AVX2 CPU instructions, so if these are not supported on your CPU, you would get this.
As such, what I could suggest is you could potentially build PyTorch from source without NNPACK to silence this warning or ignore it.
By looking at the forums I saw this:
https://discuss.pytorch.org/t/bug-w-nnpack-cpp-80-could-not-initialize-nnpack-reason-unsupported-hardware/107518/3