Unverified Commit 08fcda32 authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

[Doc] Fix link to backends docs (#1376)


Co-authored-by: default avatarTong He <hetong007@gmail.com>
parent b9c65e91
.. _backends:
Working with different backends Working with different backends
=============================== ===============================
...@@ -22,7 +24,7 @@ size smaller than 2^32. To enable large graph training, *build* MXNet with ``USE ...@@ -22,7 +24,7 @@ size smaller than 2^32. To enable large graph training, *build* MXNet with ``USE
flag. See `this FAQ <https://mxnet.apache.org/api/faq/large_tensor_support>`_ for more information. flag. See `this FAQ <https://mxnet.apache.org/api/faq/large_tensor_support>`_ for more information.
MXNet 1.5 and later has an option to enable Numpy shape mode for ``NDArray`` objects, some DGL models MXNet 1.5 and later has an option to enable Numpy shape mode for ``NDArray`` objects, some DGL models
need this mode to be enabled to run correctly. However, this mode may not compatible with pretrained need this mode to be enabled to run correctly. However, this mode may not compatible with pretrained
model parameters with this mode disabled, e.g. pretrained models from GluonCV and GluonNLP. model parameters with this mode disabled, e.g. pretrained models from GluonCV and GluonNLP.
By setting ``DGL_MXNET_SET_NP_SHAPE``, users can switch this mode on or off. By setting ``DGL_MXNET_SET_NP_SHAPE``, users can switch this mode on or off.
......
...@@ -14,8 +14,7 @@ DGL works with the following operating systems: ...@@ -14,8 +14,7 @@ DGL works with the following operating systems:
DGL requires Python version 3.5 or later. Python 3.4 or earlier is not DGL requires Python version 3.5 or later. Python 3.4 or earlier is not
tested. Python 2 support is coming. tested. Python 2 support is coming.
DGL supports multiple tensor libraries as backends, e.g., PyTorch, MXNet. For requirements on backends and how to select one, see DGL supports multiple tensor libraries as backends, e.g., PyTorch, MXNet. For requirements on backends and how to select one, see :ref:`backends`.
`Working with different backends`_.
Starting at version 0.3, DGL is separated into CPU and CUDA builds. The builds share the Starting at version 0.3, DGL is separated into CPU and CUDA builds. The builds share the
same Python package name. If you install DGL with a CUDA 9 build after you install the same Python package name. If you install DGL with a CUDA 9 build after you install the
...@@ -46,7 +45,7 @@ For CPU builds, run the following command to install with ``pip``. ...@@ -46,7 +45,7 @@ For CPU builds, run the following command to install with ``pip``.
.. code:: bash .. code:: bash
pip install dgl pip install dgl
For CUDA builds, run one of the following commands and specify the CUDA version. For CUDA builds, run one of the following commands and specify the CUDA version.
.. code:: bash .. code:: bash
...@@ -54,7 +53,7 @@ For CUDA builds, run one of the following commands and specify the CUDA version. ...@@ -54,7 +53,7 @@ For CUDA builds, run one of the following commands and specify the CUDA version.
pip install dgl # For CPU Build pip install dgl # For CPU Build
pip install dgl-cu90 # For CUDA 9.0 Build pip install dgl-cu90 # For CUDA 9.0 Build
pip install dgl-cu92 # For CUDA 9.2 Build pip install dgl-cu92 # For CUDA 9.2 Build
pip install dgl-cu100 # For CUDA 10.0 Build pip install dgl-cu100 # For CUDA 10.0 Build
pip install dgl-cu101 # For CUDA 10.1 Build pip install dgl-cu101 # For CUDA 10.1 Build
For the most current nightly build from master branch, run one of the following commands. For the most current nightly build from master branch, run one of the following commands.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment