@@ -21,19 +21,42 @@ MXNet.jl is built on top of [libmxnet](https://github.com/dmlc/mxnet).
2121Upon installation, Julia will try to automatically download and build
2222libmxnet.
2323
24- There are three environment variables that change this behaviour. If you
25- already have a pre-installed version of mxnet you can use ` MXNET_HOME `
26- to point the build-process in the right direction. If the automatic
27- cuda detection fails you can also set ` CUDA_HOME ` to override the process.
28- To control which version of libmxnet will be compiled, you can use the
29- ` MXNET_COMMIT ` variable to point to either a version tag (e.g. ` v0.10.0 ` ), a
30- branch name (e.g. ` master ` ) or a specific commit hash (e.g. ` a0b1c2d3 ` ).
24+ There are three environment variables that change this behaviour.
25+
26+ - ` MXNET_HOME ` : If you already have a pre-installed version of mxnet,
27+ you can use ` MXNET_HOME ` to point the build-process in the right direction.
28+
29+ - ` CUDA_HOME ` : If the automatic cuda detection fails,
30+ you can also set ` CUDA_HOME ` to override the process.
31+
32+ ``` julia
33+ ENV [" CUDA_HOME" ] = " /usr/mycuda"
34+ Pkg. build (" MXNet" )
35+ ```
36+
37+ - ` MXNET_COMMIT ` : To control which version of libmxnet will be compiled,
38+ you can use the ` MXNET_COMMIT ` variable to point to either a version tag
39+ (e.g. ` v0.10.0 ` ), a branch name (e.g. ` master ` ) or a specific commit hash
40+ (e.g. ` a0b1c2d3 ` ).
41+
42+ ``` julia
43+ ENV [" MXNET_COMMIT" ] = " master"
44+ Pkg. build (" MXNet" )
45+ ```
3146
3247The libmxnet source is downloaded to ` Pkg.dir("MXNet", "deps", "src", "mxnet") ` .
33- The automatic build is using default configurations, with OpenCV disabled.
34- If the compilation failed due to unresolved dependency, or if
35- you want to customize the build, you can compile and
36- install libmxnet manually. Please see below for more details.
48+ The automatic build will try to detect optional dependencies, including
49+
50+ - [ CUDA] ( https://developer.nvidia.com/cuda-toolkit ) 8.0
51+
52+ - [ CuDNN] ( https://developer.nvidia.com/cudnn )
53+
54+ - [ OpenCV] ( https://opencv.org/ )
55+
56+ If the compilation failed due to unresolved dependency,
57+ or if you want to customize the build,
58+ you can compile and install libmxnet manually.
59+ Please see below for more details.
3760
3861Manual Compilation
3962------------------
0 commit comments