如何在没有 GPU 的 macOS catalina 10.15.7 上安装 nvcc?

mar*_*oob 2 macos cuda nvidia nvcc cudnn

运行时:

which nvcc

它说:

nvcc not found

而且我没有找到在 macOS catalina 10.15.7 上安装 nvcc 的明确指南。

因为我正在尝试运行https://github.com/jugg1024/Text-Detection-with-FRCN.git。但在摄像机上:

make -j16 && make pycaffe:

从这里:

在此输入图像描述

它给出了这个错误: 在此输入图像描述

这就是为什么我确实需要nvcc安装。

您能提供的任何帮助将不胜感激!

Rob*_*lla 5

自 CUDA 11.0 起,macOS 不再是 CUDA 支持的环境。

最后支持的环境基于 CUDA 10.2(请参阅此处)和 macOS 版本 10.13.x

There has never been a supported nvcc install, CUDA install, or CUDA version for macOS 10.15.x

If you don't have a CUDA-capable GPU in your mac, it's not clear why you would want to install nvcc or CUDA. They could possibly be used to build code, but that code wouldn't be runnable on that machine.

If you do have a CUDA capable GPU in your mac, you would want to follow the above linked instructions carefully, noting carefully the machine requirements, such as supported macOS version. CUDA 10.2 would be the latest/last version of CUDA you could install on that mac.

  • “如果您的 Mac 中没有支持 CUDA 的 GPU,则不清楚为什么要安装 nvcc 或 CUDA。” 原因之一可能是想要交叉编译 CUDA 内核。 (3认同)