JulianSlzr commented on a change in pull request #9353: added mac gpu install; 
refactored windows install
URL: https://github.com/apache/incubator-mxnet/pull/9353#discussion_r160802085
 
 

 ##########
 File path: docs/install/index.md
 ##########
 @@ -689,11 +689,50 @@ $ bash install-mxnet-osx-python.sh
   <div class="python">
     <div class="gpu">
 
-More details and verified installation instructions for macOS, with GPUs, 
coming soon.
+<div class="pip virtualenv docker">
+</br>
+
+Try the **Build from Source** option for now.
+
+</div>
+
+<div class="build-from-source">
+
+The following instructions are for CUDA 9.1 and cuDNN 7 for MacOS X 10.12+ and 
a CUDA-capable GPU. They summarize confirmed successful builds in 
[#9217](https://github.com/apache/incubator-mxnet/issues/9217).
+Alternatively, you may follow the [CUDA installation instructions for Mac OS 
X](https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html).
+
+1. [Download Xcode 8.3.3 from 
Apple](https://download.developer.apple.com/Developer_Tools/Xcode_8.3.3/Xcode8.3.3.xip).
 This is the version [NVIDIA specifies in its instructions for Mac OS 
X](https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html). 
Unzip and rename to `Xcode8.3.3.app`.
+
+2. Run `sudo xcode-select -s /Applications/Xcode8.3.3.app` or to wherever you 
have placed Xcode.
+
+3. Run `xcode-select --install` to install all command line tools, compilers, 
etc.
+
+4. Install CUDA for MacOS X. Specific steps are provided in NVIDIA's [CUDA 
installation 
instructions](https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#installation).
+
+5. Run `git clone --recursive https://github.com/apache/incubator-mxnet.git 
mxnet` to get the latest version.
+
+6. Run `cd mxnet`.
 
+7. Edit the `make/osx.mk` file to set the following parameters:
 
-*MXNet* is expected to be compatible on macOS with NVIDIA GPUs. Please install 
CUDA 9.0 and cuDNN 7, prior to installing GPU version of *MXNet*.
+    ```
+    USE_CUDA = 1
+    USE_CUDA_PATH = /usr/local/cuda
+    USE_CUDNN = 1
+    USE_OPENCV = 0
+    ```
 
+8. Copy the `mxnet/make/osx.mk` to `mxnet/config.mk`
+
+9. Run `make`. If you previously attempted to compile you might want to do 
make clean_all first. You can also run `make -j` with the number of processors 
you have to compile with multithreading. There'll be plenty of warnings, but 
there should be no errors.
+
 
 Review comment:
   Write `make clean_all` (i.e., with backticks)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to