support for eGPU via TB3 on macos systems

Hello,
I am planning to buy an external GPU for my 2016 MacBook Pro, and I am wondering whether Matlab can take advantage of it for high-peformance computing, Machine Learning and Deep Learning tasks? Any hints on a particular enclosure or GPU to maximize compatibility? I prefer an nvidia GPU to run my other CUDA-based programs. My first guess is GTX-1080Ti or Titan-X on an Akito Node enclosure via Thunderbolt 3 (USB-C).
Alternatively I would consider connecting the eGPU to a linux host.
Which of both configurations would maximize matlab compatibility and performance?
Thank you in advance,

7 commentaires

Walter Roberson
Walter Roberson le 26 Nov 2017
Interesting, literally just yesterday I started reading about this possibility, as I am considering switching to a (used) iMac without NVIDIA from my current older MacBook Pro 2012 that has NVIDIA.
I had not gotten very far with my reading, but one thing I noticed at https://developer.apple.com/development-kit/external-graphics/ is "Apps that use Metal, OpenCL, and OpenGL can now take advantage of the increased performance that external graphics processors can bring.", which is possibly hinting that CUDA might not have support.
If you do consider Mac for this, then https://egpu.io/bootcamp-setup-guide-tb3-macbook-pro/ has some hardware related information that is relevant. That page is about setting up Bootcamp to access eGPU, but the parts about which ports to use and what to disable is relevant.
Joss Knight
Joss Knight le 27 Nov 2017
Modifié(e) : Joss Knight le 19 Déc 2017
We have qualified the Razer Core system on Windows and are aware that it works when you have the latest Mac OS and a Thunderbolt 3-compatible USB-C connector. I can't speak for your particular choice, but we are aware these things do work.
aa
aa le 28 Nov 2017
Thank you Joe & Walter for your replies. I shall consider the Razer Core enclosure rather than the Akito Node then. Which kind of nvidia GPU should I install in the enclosure for optimal results in my use case (HPC and machine learning parallel computing on Matlab)? Are the GTX-1080Ti or Titan-X supported on macos as external gpus? I am not sure whether the drivers required by matlab for this to work are available on macos.
Walter Roberson
Walter Roberson le 28 Nov 2017
The GPU drivers are available on OS-X / MacOS, including the RCCN. Joss indicates the device is accessible to MATLAB with that enclosure.
Joss Knight
Joss Knight le 19 Déc 2017
Sorry, I made an error in my comment which I have just corrected - we have qualified the Razer Core on Windows, not Mac, but we understand that it works and will be qualifying it soon once we have upgraded our systems to the latest Mac OS.
Whether or not MATLAB can use a device is entirely down to whether the NVIDIA driver can use it. If you can run any CUDA code on the card then so can MATLAB.
Shen Zhao
Shen Zhao le 15 Sep 2018
Is there any update for macOS now?
Has anyone tested macOS with Nvidia eGPU CUDA acceleration?
Joss Knight
Joss Knight le 20 Sep 2018
I have mixed reports. Some of our engineers have successfully got this working and others have failed. The biggest sticking point is the need to disable certain kernel protections.

Connectez-vous pour commenter.

Réponses (0)

Question posée :

aa
le 26 Nov 2017

Commenté :

le 20 Sep 2018

Community Treasure Hunt

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

Start Hunting!

Translated by