PyTorch4M1
PyTorch4M1 copied to clipboard
make: *** [all] Error 2
When I run python setup.py build
[ 20%] Built target libprotoc
[ 20%] Built target fbgemm_avx2
[ 20%] Built target fbgemm_generic
make: *** [all] Error 2
See: "build fbgemm failed #33410" https://github.com/pytorch/pytorch/issues/33410
I have the same error
[ 56%] Built target all_microkernels
[ 56%] Built target fbgemm_generic
gmake: *** [Makefile:146: all] Error 2
In that discussion, concludes that it needs gcc higher version than 5,
I have gcc version 12
gcc version 12.2.1 20221121 (Red Hat 12.2.1-4) (GCC)
Is there a procedure to fix this?
I have tried to rerun the build again, always produce this output
gmake[1]: *** [CMakeFiles/Makefile2:2631: third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
I have tried to rerun the build again, always produce this output
gmake[1]: *** [CMakeFiles/Makefile2:2631: third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
have you reached at solution? I face the same error.