Error in installing pytorch 20180621

[root@localhost pytorch]# source activate py35
(py35) [root@localhost pytorch]# export CMAKE_PREFIX_PATH="/root/miniconda3/bin:/usr/lib64"
(py35) [root@localhost pytorch]# python install

[100%] Generating lib/
Compiling src/ > /opt/pytorch/third_party/build/nccl/obj/libwrap.o
nvcc fatal : redefinition of keyword ‘code’
make[3]: *** [/opt/pytorch/third_party/build/nccl/obj/libwrap.o] 错误 1
make[2]: *** [lib/] 错误 2
make[1]: *** [CMakeFiles/nccl.dir/all] 错误 2

But for pytorch 20180617, it works fine

Could you run python clean first and then re-run the build command?