Is this really an error (and thus your application is crashing) or just a warning (I assume the latter)?
If I’m not mistaken, NNPACK needs AVX2 CPU instructions, so if these are not supported on your CPU, you would get this warning. You could potentially build PyTorch from source without NNPACK to silence this warning or ignore it.
2 Likes