CUDA for M1 MacBook Pro

229 ビュー (過去 30 日間)
Fatemah Aladwani
Fatemah Aladwani 2022 年 6 月 20 日
コメント済み: Ram Kokku 2023 年 1 月 15 日
Hi, i would like to ask is there a way to install CUDA for my M1 MacBook Pro (13-inch, M1, 2020) version 12 ?
I'm working on aproject on deep learning using Matlab, i've downloaded the MatConvNet library, and i have Xcode version 13.4.1, but i couldn't install CUDA because it shown that it is no longer supports Mac! any suggestions about how to fix this sitiuation? i need it for my MSc project.
thank you.
  1 件のコメント
Ram Kokku
Ram Kokku 2023 年 1 月 15 日
@Walter Roberson - thank you for chiming in.
@Fatemah Aladwani - Apple devices do not have NVIDIA GPUs (at least the ones that Apple produced in the last seven years). CUDA is a programming language for NVIDIA GPUs only. So, CUDA is not useful for Apple devices. Apple has its own integrated GPUs and Neural Processing Units to run compute-heavy loads like Machine Learning, etc.,; Apple's Metal is the programming language for these devices. As Walter stated in the earlier response, MATLAB does not currently support Apple's GPU and NPU. If your goal is to run inference, not training, the CPU may be able to provide good performance. You can use MATLAB with Rosetta or MATLAB Coder for this.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2022 年 6 月 21 日
No, there is no way to install CUDA for any of the ARM-based Apple Systems -- not even through Rosetta 2 translation.
Last I heard, Mathworks had no plans to work on supporting GPU for ARM-based Apple systems: Apple is not supplying the computational libraries that would be necessary.
CUDA in particular is unlikely to ever be supported on ARM-based Apple Systems: NVIDIA has exited the Apple market, after years of disagreements with Apple.
Sorry, but you simply will not be able to use your M1 MacBook Pro for this purpose.

その他の回答 (1 件)

Andrea Picciau
Andrea Picciau 2022 年 6 月 21 日
Hi Fatemah,
You might be interested in this blog article of ours: Exploring the MATLAB beta for Native Apple Silicon. This talks about how to run MATLAB on the M1 chips (beta!).

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by