How can I accelerate Deep learning training in Macbook M4 GPU/ANU?

9 views (last 30 days)
Is it correct that Deep Learning Toolbox training acceleration works only with NVIDIA GPUs (CUDA)? So, how can I accelerate Deep learning training in Macbook M4 GPU/ANU?

Answers (1)

Walter Roberson
Walter Roberson on 30 Sep 2025
It is correct that Deep Learning Toolbox training acceleration only works with NVIDIA GPUs.
Unfortunately your hardware and software is not compatible with training acceleration.
Last time I checked a few years ago, Mathworks was not actively working on making GPU work with Apple Silicon. They did investigate doing so, but unfortunately Apple does not provide detailed design documents for its GPUs, making it difficult to design efficient GPU operations. Furthermore, Apple has a distinct history of changing internal operations, so if Mathworks did manage to figure out how to use the GPU efficiently, then Apple could easily change GPU operations and say, "We never documented that it worked that way, so it is tough luck that you relied upon it."

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!