

This is executed everytime you open a terminal window) (If your bash_profile does not exist, create it.

Tensorflow-gpu 1.0.0 needs CUDA 8.0 and cuDNN v5.1 is the one that worked for me. Install CUDA, cuDNN, Tensorflow and KerasĪt this moment, Keras 2.08 needs tensorflow 1.0.0. When your Mac restarted, Open up Terminal and execute this command: sudo ~/Desktop/automate-eGPU/./automate-eGPU.sh -a This is important if you did not unplug your eGPU you may end up with black screen after restarting. Unplug your eGPU from your Mac, and restart. Sudo ~/Desktop/automate-eGPU/./automate-eGPU.sh When your mac restarted, run this command in Terminal: cd ~/Desktop git clone Ĭhmod +x ~/Desktop/automate-eGPU/automate-eGPU.sh From the Menu Bar click Utilities > Terminal and write ‘csrutil disable reboot’ press enter to execute this command.ShutDown your system, power it up again with pressing (⌘ and R) keys until you see , this will let you in Recovery Mode.cuDNN v5.1 (Jan 20, 2017), for CUDA 8.0: Need to register and download.Apple Thunderbolt3 to Thunderbolt2 Adapter.MacBook Pro (Retina, 13-inch, Early 2015).This configuration worked for me, hope it helps I wrote a gist with the procedure, hope it helps I could finally install Nvidia Titan XP + MacBook Pro + Akitio Node + Tensorflow + Keras People suggested renting server space instead, or using Windows (better graphics card support) or even building a new PC for the same price that allows you to use a eGPU on Mac. Side note: I have seen users making use of eGPU's on macbook's before (Razor Core, AKiTiO Node), but never in combination with CUDA and Machine Learning (or the 1080 GTX for that matter). My question therefore is, is it possible to use TensorFlow with CUDA and eGPU on the late MacBook Pro 2016 (15")? I want to use the graphics card in macOS (with late MacBook Pro 15") as an eGPU (no dual-boot/Windows/Linux partition). However, I do not know all the things that are important to get it to work. My only purpose is to use Keras and TensorFlow with it.

Ideally, I would like to run the 1080 GTX of NVIDIA. Others say, it can only work for the older graphics cards as CUDA is not supported for the newer graphics cards (GTX 1080). Some say it can work, but it requires Windows (dual-boot). I did my research, however on the internet I find a lot of confusing information. I would like to know what the external GPU (eGPU) options are for macOS in 2017 with the late 2016 MacBook Pro.
