- Cuda For 10.11 Os X Mac
- Cuda For 10.11 Os X Update Download
- Cuda For 10.11 Os X 7
- Cuda For 10.11 Os X Download
- Cuda For 10.11 Os X 7
- Cuda For 10.11 Os X 9
Deep learning is a hot topic these days and it is greatly increased by the fact that AMD/nVidia video cards can be used for accelerating the training of very complex neural networks. In the meantime, some powerful frameworks have been developed by the community. One of the most known is Caffe which is specialized in image recognition, just one of the areas where I am more interested in.
I started trying Theano today and wanted to use the GPU (NVIDIA GeForce GT 750M 2048 MB) on my Mac. Here’s a brief instruction on how to use the GPU on Mac, largely following the instructions. Sep 15, 2015 OSX 10.11.6. Tried building Torch when my CUDA version was. 7.4 or something not up to date. Got torch nvcc fatal: The version ('70300') of the host compiler ('Apple clang') is not supported Updated CUDA to 7.5.30, which other threads suggested would fix the problem. But it did not.
I dont understand why the install feature has been made so simple and the uninstall is nearly impossible for someone who doesnt understand terminal I installed CUDA 8 ON MY mid 2014 macbook pro with NVIDIA GeForce GT 750M I need to uninstall it because as great as it was with some software its also clashing with apples final cut pro which has plugins made by devs where CUDA isnt supported. NVIDIA CUDA Installation Guide for Mac OS X DU-05348-001v8.0 2 Table 1 Mac Operating System Support in CUDA 8.0 Toolchain Mac OSX Version (native x8664) Xcode Apple LLVM 10.11 10.12 7.2 7.0.3 YES NO 8.2 8.0.0 NO YES Before installing the CUDA Toolkit, you. My setup: MacbookPro late 2013; OS X 10.11.6; 16 GM RAM; NVIDIA GPU GeForce GT 750M with 2GB VRAM Xcode: Version 7.3 (7D175) I’m at my wits end trying to figure out how to get CUDA + CUDNN installation working with my TensorFlow.
However, it is not an easy task to get a working Caffe environment for a standard user. Of course, there are plenty of online documentation and some very nice guides but I didn’t find any for a Mac OS X 10.11.4 version working out of the box, so after struggling several hours trying to have everything ready, I decided to post here all the steps just in case it could help someone else.
In my case, I wanted to run the cool new automatic colorization methods using deep learning algorithms and the results are absolutely fantastic.
![10.11 10.11](/uploads/1/2/6/6/126627898/280244638.png)
In addition, I also wanted to use CPU and GPU code paths in order to compare the processing speed, unfortunately, the video card I have on my workstation is an old AMD card and I need to have a nVidia one for using CUDA libraries so my only machine with that specs is a MacBook Pro with Mac OS X 10.11.4, 16GB RAM, Intel Core i7 4960HQ and a nVidia GeForce GT 750M (2GB).
Let’s start with the optional but highly recommended prerequisites:
Cuda For 10.11 Os X Mac
- Check your Mac OS X and update everything is pending, you also need to install Xcode, 7.3 is the latest one but not supported by CUDA yet so later on, I will show you a work around for this issue
- Install Homebrew package manager and if possible, start up with a clean /usr/local directory
- Install Anaconda Python 2.7 on /usr/local directory. Once it is done, add to your ~/.bash_profile file:
Now, we are installing the needed libraries:
Cuda For 10.11 Os X Update Download
- Install nVidia CUDA 7.5, in my case the exact version is 7.5.27. I also installed it on /usr/local/cuda. Once it is done, add to your ~/.bash_profile file:
- Install nVidia cuDNN, you have to register and get approved by nVidia. I got 7.5 v5 but unfortunately, I was not able to use it, apparently some kind of incompatibility with my CUDA version or the Xcode used. In any case, once you have the tgz file, just uncompress it (tar -xfvz) and copy the contents of the /lib directory in to /usr/local/cuda/lib and cudnn.h to /usr/local/cuda/include directory.
Cuda For 10.11 Os X 7
- Install Intel MKL libraries, which is a part of Intel Parallel Studio XE Composer, you can download a trial version or a student/academic research one if you fulfill the requirements. MKL libraries are installed on /opt/intel/mkl. Once it is done, add to your ~/.bash_profile file:
- Using Homebrew, we are installing some needed libraries. At this point, it is very important to have the right environment variables, if you followed the guide step-by-step, you have them on your ~/.bash_profile but if you were working on the same terminal session, they are not loaded so, you can close this terminal and open a new one or just execute this command:Before starting to download, compile and install the pending libraries, execute this command:and you should see something like “Python 2.7.xx :: Anaconda 4.x.x (x86_64)”, if that is the case, the go on, otherwise, revise your environment vars as something is not well configured.At this point, we are using the python provided by Anaconda so let’s execute these commands (note that in some cases, the GNU C/C++ 5.3.0 will be compiled and it takes a while, ~30min on my rig):
- Finally, we can download Caffe, I am donwloading it to /usr/local/caffe:Next step is to configure it, open Makefile.config file with your preferred text editor (vim?) and let’s configure the following vars:Update 23/August/2016: Instead of providing a partial Makefile.config file, a full copy of this file is attached above.Give it a try…:If it compiles fine, you can skip this paragraph, you probably have Xcode 7.0.2 or a lower version which is OK…
but if all you get is this error:
“nvcc fatal : The version (‘70300’) of the host compiler (‘Apple clang’) is not supported”
it means you have the Xcode 7.3 and CUDA still does not support it.
Of course, it has a solution, to install a supported Xcode version and use it for compiling Caffe:
– go to https://developer.apple.com/downloads/ and log in
– download Command Line Tools OS X 10.11 Xcode 7.2 and install it
– now, switch to use this version:Remember that using:will configure the default compiler, which, in my case is 7.3.
Let’s try to compile it again:This time, it should be OK. Now, let’s compile the tests:Everything went fine? Perfect! At this point, you probably want to run the tests but… they will fail(!). This time the guilty one is Apple and the latest OS X 10.11 “El Capitan” version, apparently it is undocumented but spending some time ‘googling’, I found that other application are failing too as it seems that Apple unset all DYLD_ prefix environment variables when running scripts. I only know one solution:
– to disable System Integrity Protection, which I totally do not recommend to do, or if you do that, revert to SIP on as soon as you check that all the tests were OK.
So, we can discard to run the tests and trust that everything is fine and continue with only a few more steps. - Compiling PyCaffe, which is the python interface to Caffe:If everything went fine, you are almost there! Add this environment variable to your ~/.bash_profile:And now the final test:You should get the python prompt and no errors at all which means that your python interface to Caffe is fully working and ready for some cool applications:Update: if you receive some errors regarding to locale, you just need to add these new environment vars to your famous ~/.bash_profile file:
Cuda For 10.11 Os X Download
You are now ready for playing with some examples:
Cuda For 10.11 Os X 7
As you can see, it is not an easy task to configure Caffe environment but finally I got it and can test the Automatic Colorization algorithms for automatically converting grey-pictures into fully colored ones, in a few days I will write down a small post with my result.
Cuda For 10.11 Os X 9
Have fun with this great but a bit difficult to configure deep learning framework!!