Skip to content

Instantly share code, notes, and snippets.

@patharanordev
Created June 4, 2022 03:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save patharanordev/eb38d6cd4f6b44007168ab38e460bf91 to your computer and use it in GitHub Desktop.
Save patharanordev/eb38d6cd4f6b44007168ab38e460bf91 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