From 50e54adb12661e08019dd0fcb9e6e9461975a07d Mon Sep 17 00:00:00 2001 From: Khedia Date: Wed, 1 Aug 2018 13:25:12 -0700 Subject: [PATCH 1/3] fix install instructions for MXNET-R --- docs/install/index.md | 7 ++++--- docs/install/windows_setup.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/install/index.md b/docs/install/index.md index d4704df2ee7b..44cec79d3061 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -1784,7 +1784,7 @@ Next, we install the ```graphviz``` library that we use for visualizing network
Install the latest version (3.5.1+) of R from [CRAN](https://cran.r-project.org/bin/windows/). -You can [build MXNet-R from source](windows_setup.html#install-the-mxnet-package-for-r), or you can use a pre-built binary: +You can [build MXNet-R from source](windows_setup.html#install-mxnet-package-for-r), or you can use a pre-built binary: ```r cran <- getOption("repos") @@ -1797,14 +1797,15 @@ install.packages("mxnet")
-You can [build MXNet-R from source](windows_setup.html#install-the-mxnet-package-for-r), or you can use a pre-built binary: +You can [build MXNet-R from source](windows_setup.html#install-mxnet-package-for-r), or you can use a pre-built binary: ```r cran <- getOption("repos") -cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU" +cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cuX" options(repos = cran) install.packages("mxnet") ``` +Change X to 80, 90, 91 or 92 based on CUDA toolkit version installed on your system. Currently, MXNet supports these versions of CUDA.
diff --git a/docs/install/windows_setup.md b/docs/install/windows_setup.md index 9d03474b5949..7720c2e4103f 100755 --- a/docs/install/windows_setup.md +++ b/docs/install/windows_setup.md @@ -222,7 +222,7 @@ For GPU package: options(repos = cran) install.packages("mxnet") ``` -Change X to 80,90,91 or 92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. +Change X to 80, 90, 91 or 92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. #### Building MXNet from Source Code(GPU) After you have installed above software, continue with the following steps to build MXNet-R: 1. Clone the MXNet github repo. From 813b4856c9d5a3a34050e263705e757edb6c129d Mon Sep 17 00:00:00 2001 From: Khedia Date: Wed, 1 Aug 2018 13:39:46 -0700 Subject: [PATCH 2/3] fix install instructions for MXNET-R --- docs/install/index.md | 10 +++++----- docs/install/windows_setup.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/install/index.md b/docs/install/index.md index 44cec79d3061..4c4f1f561aa4 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -1800,12 +1800,12 @@ install.packages("mxnet") You can [build MXNet-R from source](windows_setup.html#install-mxnet-package-for-r), or you can use a pre-built binary: ```r -cran <- getOption("repos") -cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cuX" -options(repos = cran) -install.packages("mxnet") + cran <- getOption("repos") + cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu80" + options(repos = cran) + install.packages("mxnet") ``` -Change X to 80, 90, 91 or 92 based on CUDA toolkit version installed on your system. Currently, MXNet supports these versions of CUDA. +Change cu80 to cu90, cu91 or cu92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. diff --git a/docs/install/windows_setup.md b/docs/install/windows_setup.md index 7720c2e4103f..935f3f8cea20 100755 --- a/docs/install/windows_setup.md +++ b/docs/install/windows_setup.md @@ -218,11 +218,11 @@ For GPU package: ```r cran <- getOption("repos") - cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cuX" + cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu80" options(repos = cran) install.packages("mxnet") ``` -Change X to 80, 90, 91 or 92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. +Change cu80 to cu90, cu91 or cu92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. #### Building MXNet from Source Code(GPU) After you have installed above software, continue with the following steps to build MXNet-R: 1. Clone the MXNet github repo. From 86cec25f66c7f3375d6b1316578ca9b64be33174 Mon Sep 17 00:00:00 2001 From: Khedia Date: Wed, 1 Aug 2018 14:59:08 -0700 Subject: [PATCH 3/3] fix default cuda version for MXNet-R --- docs/install/index.md | 4 ++-- docs/install/windows_setup.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install/index.md b/docs/install/index.md index 4c4f1f561aa4..57c50eb9bb06 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -1801,11 +1801,11 @@ You can [build MXNet-R from source](windows_setup.html#install-mxnet-package-for ```r cran <- getOption("repos") - cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu80" + cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu92" options(repos = cran) install.packages("mxnet") ``` -Change cu80 to cu90, cu91 or cu92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. +Change cu92 to cu80, cu90 or cu91 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. diff --git a/docs/install/windows_setup.md b/docs/install/windows_setup.md index 935f3f8cea20..40ddeb8182d8 100755 --- a/docs/install/windows_setup.md +++ b/docs/install/windows_setup.md @@ -218,11 +218,11 @@ For GPU package: ```r cran <- getOption("repos") - cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu80" + cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu92" options(repos = cran) install.packages("mxnet") ``` -Change cu80 to cu90, cu91 or cu92 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. +Change cu92 to cu80, cu90 or cu91 based on your CUDA toolkit version. Currently, MXNet supports these versions of CUDA. #### Building MXNet from Source Code(GPU) After you have installed above software, continue with the following steps to build MXNet-R: 1. Clone the MXNet github repo.