You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to deploy EasyOCR locally on a VM and when executing the output = reader.readtext(image_array) command I get the following warning: "Could not initialize NNPACK! Reason: Unsupported hardware.". I am deploying in a CPU only environment, on CPUs with the AVX512 instructions enabled. When the warning is displayed the model takes a lot more time to process and triggers a Timeout. I executed the following command print(torch.__config__.show()) to see if NNPACK is available at runtime and indeed it is. This is the output right before the inference is processed:
Hi everyone,
I am trying to deploy EasyOCR locally on a VM and when executing the
output = reader.readtext(image_array)
command I get the following warning: "Could not initialize NNPACK! Reason: Unsupported hardware.". I am deploying in a CPU only environment, on CPUs with the AVX512 instructions enabled. When the warning is displayed the model takes a lot more time to process and triggers a Timeout. I executed the following commandprint(torch.__config__.show())
to see if NNPACK is available at runtime and indeed it is. This is the output right before the inference is processed:I don't know why it does not detect NNPACK, when pytorch is built with this capability. Any help would be greatly appreciated.
My environment is:
The text was updated successfully, but these errors were encountered: