Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave and newer?

150 views (last 30 days)
Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave and newer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 Sep 2022
Edited: MathWorks Support Team on 24 Mar 2021
MATLAB requires that an NVIDIA-supplied graphics driver be installed on your Mac in order to take full advantage of an NVIDIA GPU. NVIDIA has not released an Apple-approved graphics driver for macOS Mojave. For more information, please see this official statement from NVIDIA on NVIDIA's developer forums.
The impact on MATLAB is as follows:
Graphics
You can use MATLAB with an NVIDIA GPU on macOS Mojave and newer, however, graphics performance is degraded when compared to running MATLAB on previous releases of macOS.
Computational acceleration
NVIDIA-specific functionality such as CUDA is not available which means GPU Arrays, provided by Parallel Computing Toolbox and used by many products, will not work.
The following products have features that make use of CUDA functionality and these features will be impacted by the lack of an NVIDIA-supplied graphics driver:
  • Parallel Computing Toolbox
  • GPU Coder
  • Image Processing Toolbox
  • Deep Learning Toolbox
  • Statistics and Machine Learning Toolbox
  • Computer Vision System Toolbox
  • Signal Processing Toolbox
  • Communications Toolbox
  • Phased Array System Toolbox
  • Text Analytics Toolbox
  • Reinforcement Learning Toolbox
  31 Comments
Walter Roberson
Walter Roberson on 31 May 2021
Deep Learning on GPU, and GPU use in Statistics and Machine Learning, will not be supported on Mac any time soon.
I have no information about whether Mathworks is working on GPU for M1; every time I ask through private channels, I get silence.

Sign in to comment.

More Answers (3)

SALIOU Fall
SALIOU Fall on 8 Feb 2021
the Matlab app cannot be istalled in my Macbook air. how can i do?

victor chen
victor chen on 1 Aug 2021
where I can get the newest version GPU PROCESSOR IN COMPUTER, like APPLE PRO?
OR best for you recommanded !
many thanks indeed
Victor Chen
  4 Comments
Walter Roberson
Walter Roberson on 2 Aug 2021
You may be wondering about getting an eGPU for Mac Pro. As far as I can determine at the moment, the eGPU recommended by Apple never supported NVIDIA. I find two Thunderbolt 3 eGPU manufacturers that do support Nvidia, but you cannot get MacOS CUDA drivers for anything newer than Pascal architecture on Catalina, and Mathworks has dropped support for GPUs on MacOS (because Nvidia has dropped support.)

Sign in to comment.


Felix-A. Lebel
Felix-A. Lebel on 20 Mar 2022
Considering how performant apple made system on a chip architecture (M1) has become, is mathworks considering the possibility of using the new possibilities of this hardware to the benefit of its users? It is a shame that we cannot take full advantage of the hardware due to dispute between Nvidia and apple. Politics should not get in the way of science.
  3 Comments
Walter Roberson
Walter Roberson on 30 May 2022
I read a posting from a company that was trying to do some higher performance computing on the Apple M1 GPUs. They wrote that the documentation from Apple about how to achieve performance was very weak, and that they tried a number of approaches but were not able to get nearly the rated performance. Apple did not cooperate with them.
This is very different than Nvidia, which puts a lot of effort into making high performance computing accessible to developers.
If Apple does not provide the ecosystem and does not provide enough information for developers to create ecosystems themselves, then the task becomes rather difficult.

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!