摘要: 将anaconda环境下的 lib/python3.5/dist-packages/torch/utils/cpp_extension.py文件 将['ninja','-v']改成['ninja','--v'] 或者['ninja','--version'] 阅读全文
posted @ 2020-07-03 15:13 yunshangyue 阅读(9695) 评论(1) 推荐(0) 编辑
摘要: 安装完成后,配置环境变量,在home下的.bashrc中加入 export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH export CUDA_HOME=/usr/local/cuda:$CUDA_HOME source ~/.bas 阅读全文
posted @ 2020-07-03 14:47 yunshangyue 阅读(1853) 评论(0) 推荐(0) 编辑