Skip to content

Commit

Permalink
[MXNET-541] Correcting the new install pages bugs (apache#11261)
Browse files Browse the repository at this point in the history
* Correcting the install command for version 0.11.0

* added latest CUDA versions and link to old versions

* fixed typo

* Changing the queryString variable to be platform instead of Devices

* Fixing the unclosed HTML comment tag
  • Loading branch information
kpmurali authored and marcoabreu committed Jun 15, 2018
1 parent fb084cc commit 258e96d
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 50 deletions.
18 changes: 9 additions & 9 deletions docs/_static/js/options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var versionSelect = defaultVersion = 'v1.2.0';
var deviceSelect = 'Linux';
var platformSelect = 'Linux';
var languageSelect = 'Python';
var processorSelect = 'CPU';
var environSelect = 'Pip';
Expand All @@ -16,10 +16,10 @@ $(document).ready(function () {
$('li a:contains(' + versionSelect + ')').parent().siblings().removeClass('active');
$('li a:contains(' + versionSelect + ')').parent().addClass('active');
$('.current-version').html( versionSelect + ' <span class="caret"></span></button>' );
if (urlParams.get('device'))
deviceSelect = urlParams.get('device');
$('button:contains(' + deviceSelect + ')').siblings().removeClass('active');
$('button:contains(' + deviceSelect + ')').addClass('active');
if (urlParams.get('platform'))
platformSelect = urlParams.get('platform');
$('button:contains(' + platformSelect + ')').siblings().removeClass('active');
$('button:contains(' + platformSelect + ')').addClass('active');
if (urlParams.get('language'))
languageSelect = urlParams.get('language');
$('button:contains(' + languageSelect + ')').siblings().removeClass('active');
Expand All @@ -35,9 +35,9 @@ $(document).ready(function () {
showContent();
if (window.location.href.includes("/install/index.html")) {
if (versionSelect.includes(defaultVersion)) {
history.pushState(null, null, '/install/index.html?device=' + deviceSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
history.pushState(null, null, '/install/index.html?platform=' + platformSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
} else {
history.pushState(null, null, '/install/index.html?version=' + versionSelect + '&device=' + deviceSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
history.pushState(null, null, '/install/index.html?version=' + versionSelect + '&platform=' + platformSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
}
}
}
Expand Down Expand Up @@ -71,8 +71,8 @@ $(document).ready(function () {
history.pushState(null, null, '/install/index.html' + window.location.search.replace( 'version', 'prev' ));
}
}
else if ($(this).hasClass("Devices")) {
history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('device'), $(this).text() ));
else if ($(this).hasClass("platforms")) {
history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('platform'), $(this).text() ));
}
else if ($(this).hasClass("languages")) {
history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('language'), $(this).text() ));
Expand Down
168 changes: 127 additions & 41 deletions docs/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Indicate your preferred configuration. Then, follow the customized commands to i
<!-- START - OS Menu -->

<div class="btn-group opt-group" role="group">
<button type="button" class="btn btn-default opt active Devices">Linux</button>
<button type="button" class="btn btn-default opt Devices">MacOS</button>
<button type="button" class="btn btn-default opt Devices">Windows</button>
<button type="button" class="btn btn-default opt Devices">Cloud</button>
<button type="button" class="btn btn-default opt Devices">Devices</button>
<button type="button" class="btn btn-default opt active platforms">Linux</button>
<button type="button" class="btn btn-default opt platforms">MacOS</button>
<button type="button" class="btn btn-default opt platforms">Windows</button>
<button type="button" class="btn btn-default opt platforms">Cloud</button>
<button type="button" class="btn btn-default opt platforms">Devices</button>
</div>

<!-- START - Language Menu -->
Expand Down Expand Up @@ -513,12 +513,23 @@ $ wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py

<div class="v1-2-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0
**Step 2** Install *MXNet* with GPU support using CUDA 9.2

**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
$ pip install mxnet-cu90
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

```bash
$ pip install mxnet-cu92
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

**Step 3** Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
```bash
sudo apt-get install graphviz
Expand All @@ -537,12 +548,23 @@ $ pip install mxnet-cu90mkl

<div class="v1-1-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0
**Step 2** Install *MXNet* with GPU support using CUDA 9.1

**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
$ pip install mxnet-cu90==1.1.0
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

```bash
$ pip install mxnet-cu91==1.1.0
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

**Step 3** Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
```bash
sudo apt-get install graphviz
Expand All @@ -551,11 +573,13 @@ pip install graphviz

**Step 4** Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).

**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
**Experimental Choice** If You would like to install MXNet with Intel MKL, try the experimental pip package with MKL:
```bash
$ pip install mxnet-cu90mkl==1.1.0
$ pip install mxnet-cu91mkl==1.1.0
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-1-0-->


Expand Down Expand Up @@ -621,10 +645,10 @@ $ pip install mxnet-cu90mkl==0.12.0

<div class="v0-11-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0
**Step 2** Install *MXNet* with GPU support using CUDA 8.0

```bash
$ pip install mxnet-cu90==0.11.0
$ pip install mxnet-cu80==0.11.0
```

**Step 3** Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
Expand All @@ -635,9 +659,9 @@ pip install graphviz

**Step 4** Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).

**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
**Experimental Choice** If You would like to install MXNet with Intel MKL, try the experimental pip package with MKL:
```bash
$ pip install mxnet-cu90mkl==0.11.0
$ pip install mxnet-cu80mkl==0.11.0
```

</div> <!-- End of v0-11-0-->
Expand Down Expand Up @@ -687,23 +711,45 @@ Installing *MXNet* with pip requires a latest version of `pip`. Install the late

<div class="v1-2-0">

Install *MXNet* with GPU support using CUDA 9.0.
**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

Install *MXNet* with GPU support using CUDA 9.2:

```bash
(mxnet)$ pip install mxnet-cu90
(mxnet)$ pip install mxnet-cu92
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-2-0-->


<div class="v1-1-0">

Install *MXNet* with GPU support using CUDA 9.0.
**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

Install *MXNet* with GPU support using CUDA 9.1:

```bash
(mxnet)$ pip install mxnet-cu90==1.1.0
(mxnet)$ pip install mxnet-cu91==1.1.0
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-1-0-->


Expand All @@ -714,6 +760,7 @@ Install *MXNet* with GPU support using CUDA 9.0.
```bash
(mxnet)$ pip install mxnet-cu90==1.0.0
```
Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-0-0-->

Expand All @@ -726,33 +773,40 @@ Install *MXNet* with GPU support using CUDA 9.0.
(mxnet)$ pip install mxnet-cu90==0.12.1
```

For *MXNet* 0.12.0 with GPU support using CUDA 9.0.

```bash
(mxnet)$ pip install mxnet-cu90==0.12.0
```
Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v0-12-1-->


<div class="v0-11-0">

Install *MXNet* with GPU support using CUDA 9.0.
Install *MXNet* with GPU support using CUDA 8.0.

```bash
(mxnet)$ pip install mxnet-cu90==0.11.0
(mxnet)$ pip install mxnet-cu80==0.11.0
```

</div> <!-- End of v0-11-0-->

<div class="master">

Install *MXNet* with GPU support using CUDA 9.0.
**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

Install *MXNet* with GPU support using CUDA 9.2.

```bash
(mxnet)$ pip install mxnet-cu90 --pre
(mxnet)$ pip install mxnet-cu92 --pre
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of master-->

**Step 4** Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
Expand Down Expand Up @@ -1572,22 +1626,44 @@ Follow the installation instructions [in this guide](./windows_setup.md) to set

<div class="v1-2-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0.
**Step 2** Install *MXNet* with GPU support using CUDA 9.2.

**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

```bash
$ pip install mxnet-cu90
$ pip install mxnet-cu92
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-2-0-->

<div class="v1-1-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0.
**Step 2** Install *MXNet* with GPU support using CUDA 9.1.

**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

```bash
$ pip install mxnet-cu90==1.1.0
$ pip install mxnet-cu91==1.1.0
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of v1-1-0-->

<div class="v1-0-0">
Expand Down Expand Up @@ -1618,22 +1694,33 @@ $ pip install mxnet-cu90==0.12.0

<div class="v0-11-0">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0.
**Step 2** Install *MXNet* with GPU support using CUDA 8.0.

```bash
$ pip install mxnet-cu90==0.11.0
$ pip install mxnet-cu80==0.11.0
```

</div> <!-- End of v0-11-0-->

<div class="master">

**Step 2** Install *MXNet* with GPU support using CUDA 9.0.
**Step 2** Install *MXNet* with GPU support using CUDA 9.2.

**Important**: Make sure your installed CUDA version matches the CUDA version in the pip package.
Check your CUDA version with the following command:

```bash
nvcc --version
```

You can either upgrade your CUDA install or install the MXNet package that supports your CUDA version.

```bash
$ pip install mxnet-cu90 --pre
$ pip install mxnet-cu92 --pre
```

Refer to [pypi for older packages](https://pypi.org/project/mxnet/).

</div> <!-- End of master-->

Refer to [#8671](https://github.com/apache/incubator-mxnet/issues/8671) for status on CUDA 9.1 support.
Expand All @@ -1644,7 +1731,7 @@ Refer to [#8671](https://github.com/apache/incubator-mxnet/issues/8671) for stat

We provide both options to build and install MXNet yourself using [Microsoft Visual Studio 2017](https://www.visualstudio.com/downloads/), and [Microsoft Visual Studio 2015](https://www.visualstudio.com/vs/older-downloads/).

**Option 1**
**Option 1**

To build and install MXNet yourself using [Microsoft Visual Studio 2017](https://www.visualstudio.com/downloads/), you need the following dependencies. Install the required dependencies:

Expand Down Expand Up @@ -1678,7 +1765,7 @@ git clone https://github.com/apache/incubator-mxnet.git --recursive
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.11
```

5. Create a build dir using the following command and go to the directory, for example:
5. Create a build dir using the following command and go to the directory, for example:

```r
mkdir C:\build
Expand All @@ -1699,7 +1786,7 @@ NOTE: make sure the DCUDNN_INCLUDE and DCUDNN_LIBRARY pointing to the “include
msbuild mxnet.sln /p:Configuration=Release;Platform=x64 /maxcpucount
```

**Option 2**
**Option 2**

To build and install MXNet yourself using [Microsoft Visual Studio 2015](https://www.visualstudio.com/vs/older-downloads/), you need the following dependencies. Install the required dependencies:

Expand Down Expand Up @@ -1778,7 +1865,7 @@ Follow the installation instructions [in this guide](./windows_setup.md) to set
<p> To build the C++ package, please refer to <a href="build_from_source.html#build-the-c-package">this guide</a>. </p>
<br/>
</div> <!-- End of cpu gpu -->
</div> <!-- End of C++>
</div> <!-- End of C++ -->
</div> <!-- End of Windows -->


Expand Down Expand Up @@ -2402,4 +2489,3 @@ Will be available soon.
# Source Download

<a href="download.html">Download</a> your required version of MXNet.

0 comments on commit 258e96d

Please sign in to comment.