Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raspiduino/684637064eff5eef2ffb0cb7f13f3b72 to your computer and use it in GitHub Desktop.
Save raspiduino/684637064eff5eef2ffb0cb7f13f3b72 to your computer and use it in GitHub Desktop.
Uninstall CUDA.framework on macOS

Uninstall CUDA.framework on macOS

If you

  • got message like "CUDA.framework is malware, ... damage on your mac"
  • using OpenCL instead
  • using macOS 10.14+ (used Metal framework instead)

and try to remove it.

Delete the following folders/files:

sudo rm -rf /Library/Frameworks/CUDA.framework
sudo rm -rf /Library/LaunchAgents/com.nvidia.CUDASoftwareUpdate.plist
sudo rm -rf /Library/PreferencePanes/CUDA/Preferences.prefPane
sudo rm -rf /System/Library/StartupItems/CUDA/
sudo rm -rf /System/Library/Extensions/CUDA.kext

If you installed the tookits and samples, delete the following also:

sudo rm -rf /Developer/NVIDIA/CUDA-x.x # your cuda version
sudo rm -rf /usr/local/cuda
sudo rm -rf /frameworks

Ref. https://community.adobe.com/t5/premiere-pro-discussions/how-to-disable-cuda-or-uninstaller-mac/m-p/7354498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment