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.”
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。