This error seems to be raised by NNPACK and while I’m not deeply familiar with it, I would recommend to uninstall all previously installed PyTorch versions, clear the build via python setup.py clean, checkout all sumbodules, and try to rebuild it.