Report this

What is the reason for this report?

How to remove this error([W NNPACK.cpp:51] Could not initialize NNPACK! Reason: Unsupported hardware.)

Posted on September 7, 2022

This error occurs while I run torch on my flask server



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.

Hi there,

I believe that you have to install cmake.

You can check your cmake version by running cmake --version.

If you don’t have it installed, you can install it with:

sudo apt update -y
sudo apt install cmake

Let me know how it goes.

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.