yasserzamani closed pull request #63: update python gpu build from source instructions on windows URL: https://github.com/apache/incubator-mxnet-site/pull/63
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/install/index.html b/install/index.html index e9fb9716d..529952614 100644 --- a/install/index.html +++ b/install/index.html @@ -922,6 +922,7 @@ <h1 id="logo-wrap"> <p>To build and install MXNet yourself using <a class="reference external" href="https://www.visualstudio.com/vs/older-downloads/">Microsoft Visual Studio 2015</a>, you need the following dependencies. Install the required dependencies:</p> <ol class="simple"> <li>If <a class="reference external" href="https://www.visualstudio.com/vs/older-downloads/">Microsoft Visual Studio 2015</a> is not already installed, download and install it. You can download and install the free community edition.</li> +<li>At least Update 3 of Microsoft Visual Studio 2015 is required to build MXNet from source. Upgrade via it's <code class="docutils literal"><span class="pre">Tools -> Extensions and Updates... | Product Updates</span></code> menu.</li> <li>Download and install <a class="reference external" href="https://cmake.org/">CMake</a> if it is not already installed.</li> <li>Download and install <a class="reference external" href="http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0/opencv-3.0.0.exe/download">OpenCV</a>.</li> <li>Unzip the OpenCV package.</li> @@ -929,10 +930,12 @@ <h1 id="logo-wrap"> <li>If you don’t have the Intel Math Kernel Library (MKL) installed, download and install <a class="reference external" href="http://sourceforge.net/projects/openblas/files/v0.2.14/">OpenBlas</a>.</li> <li>Set the environment variable <code class="docutils literal"><span class="pre">OpenBLAS_HOME</span></code> to point to the <code class="docutils literal"><span class="pre">OpenBLAS</span></code> directory that contains the <code class="docutils literal"><span class="pre">include</span></code> and <code class="docutils literal"><span class="pre">lib</span></code> directories. Typically, you can find the directory in <code class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">files</span> <span class="pre">(x86)\OpenBLAS\</span></code>.</li> <li>Download and install <a class="reference external" href="https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64">CUDA</a> and <a class="reference external" href="https://developer.nvidia.com/cudnn">cuDNN</a>. To get access to the download link, register as an NVIDIA community user.</li> +<li>Set the environment variable <code class="docutils literal"><span class="pre">CUDACXX</span></code> to point to the <code class="docutils literal"><span class="pre">CUDA</span> <span class="pre">Compiler</span></code> (<code class="docutils literal"><span class="pre">C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin\nvcc.exe</span></code> for example).</li> +<li>Set the environment variable <code class="docutils literal"><span class="pre">CUDNN_ROOT</span></code> to point to the <code class="docutils literal"><span class="pre">cuDNN</span></code> directory that contains the <code class="docutils literal"><span class="pre">include</span></code>, <code class="docutils literal"><span class="pre">lib</span></code> and <code class="docutils literal"><span class="pre">bin</span></code> directories (<code class="docutils literal"><span class="pre">C:\Downloads\cudnn-9.1-windows7-x64-v7\cuda</span></code> for example).</li> </ol> <p>After you have installed all of the required dependencies, build the MXNet source code:</p> <ol class="simple"> -<li>Download the MXNet source code from <a class="reference external" href="https://github.com/apache/incubator-mxnet">GitHub</a>.</li> +<li>Download the MXNet source code from <a class="reference external" href="https://github.com/apache/incubator-mxnet">GitHub</a> (make sure you also download third parties submodules e.g. <code class="docutils literal"><span class="pre">git clone --recurse-submodules</span></code>).</li> <li>Use <a class="reference external" href="https://cmake.org/">CMake</a> to create a Visual Studio solution in <code class="docutils literal"><span class="pre">./build</span></code>.</li> <li>In Visual Studio, open the solution file,<code class="docutils literal"><span class="pre">.sln</span></code>, and compile it. These commands produce a library called <code class="docutils literal"><span class="pre">mxnet.dll</span></code> in the <code class="docutils literal"><span class="pre">./build/Release/</span></code> or <code class="docutils literal"><span class="pre">./build/Debug</span></code> folder.</li> ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services