https://github.com/torch/torch7/issues/1086

sudo su
export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
bash install-deps
yes | bash ./install.sh

按照官网的安装方法会出现问题,类似于什么不能编译

上面的安装方法work,但要注意“Be careful with the solution that @adam-dziedzic provided because installing torch under sudo su changes the installation path of torch which may break your luarocks package manager.”

 

相关文章:

  • 2021-12-13
  • 2021-08-06
  • 2021-11-24
  • 2021-09-23
  • 2021-07-12
  • 2021-09-09
  • 2021-10-12
猜你喜欢
  • 2021-06-28
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
相关资源
相似解决方案