hetong007 closed pull request #11976: Fix install instructions for MXNET-R
URL: https://github.com/apache/incubator-mxnet/pull/11976
 
 
   

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/docs/install/index.md b/docs/install/index.md
index d4704df2ee7..57c50eb9bb0 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
 <div class="cpu">
 
 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")
 
 <div class="gpu">
 
-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";
-options(repos = cran)
-install.packages("mxnet")
+  cran <- getOption("repos")
+  cran["dmlc"] <- 
"https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu92";
+  options(repos = cran)
+  install.packages("mxnet")
 ```
+Change cu92 to cu80, cu90 or cu91 based on your CUDA toolkit version. 
Currently, MXNet supports these versions of CUDA.
 
 </div> <!-- END of GPU -->
 </div> <!-- END - Windows R -->
diff --git a/docs/install/windows_setup.md b/docs/install/windows_setup.md
index 9d03474b594..40ddeb8182d 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/cu92";
   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 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.


 

----------------------------------------------------------------
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