Even build from docker failed:
#23 325.0 [  8%] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/shuffle/jit_uni_shuffle.cpp.o
#23 337.2 [  8%] Built target dnnl_cpu_x64
#23 337.2 make: *** [all] Error 2
#23 337.2 Makefile:140: recipe for target 'all' failed
#23 337.2 Building wheel torch-1.8.0a0
#23 337.2 -- Building version 1.8.0a0
#23 337.2 cmake -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/pytorch/torch -DCMAKE_PREFIX_PATH=/opt/conda/bin/../ -DNUMPY_INCLUDE_DIR=/opt/conda/lib/python3.8/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/opt/conda/bin/python -DPYTHON_INCLUDE_DIR=/opt/conda/include/python3.8 -DPYTHON_LIBRARY=/opt/conda/lib/libpython3.8.so.1.0 -DTORCH_BUILD_VERSION=1.8.0a0 -DUSE_NUMPY=True /opt/pytorch
#23 337.2 cmake --build . --target install --config Release -- -j 8
#23 337.2 Traceback (most recent call last):
#23 337.2   File "setup.py", line 773, in <module>
#23 337.2     build_deps()
#23 337.2   File "setup.py", line 315, in build_deps
#23 337.2     build_caffe2(version=version,
#23 337.2   File "/opt/pytorch/tools/build_pytorch_libs.py", line 58, in build_caffe2
#23 337.2     cmake.build(my_env)
#23 337.2   File "/opt/pytorch/tools/setup_helpers/cmake.py", line 345, in build
#23 337.2     self.run(build_args, my_env)
#23 337.2   File "/opt/pytorch/tools/setup_helpers/cmake.py", line 140, in run
#23 337.2     check_call(command, cwd=self.build_dir, env=env)
#23 337.2   File "/opt/conda/lib/python3.8/subprocess.py", line 364, in check_call
#23 337.2     raise CalledProcessError(retcode, cmd)
#23 337.2 subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 2.
------
error committing ki40ko690hn6nxbbd83w6smqr: invalid mutable ref 0xc001c50fa0: invalid: executor failed running [/bin/sh -c TORCH_CUDA_ARCH_LIST="3.0 3.5 5.2 6.0 6.1 7.0+PTX 8.0" TORCH_NVCC_FLAGS="-Xfatbin -compress-all"     CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"     python setup.py install]: exit code: 1
make: *** [docker.Makefile:47: devel-image] Error 1