I also meet the same problem for same env with you(gcc 5.3, py3.6), there two options can solve this problem:


USE_FBGEMM=0 python setup.py install in case of you don’t want to use low-precision solution.


Using higher gcc version, gcc 6.3.1 can works in my side.