Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
8d081138
Unverified
Commit
8d081138
authored
Dec 15, 2020
by
Minjie Wang
Committed by
GitHub
Dec 15, 2020
Browse files
[Doc] Update installation page
Remove the out-dated part. Add a link to the get started page.
parent
6634b984
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
51 deletions
+3
-51
docs/source/install/index.rst
docs/source/install/index.rst
+3
-51
No files found.
docs/source/install/index.rst
View file @
8d081138
...
@@ -19,58 +19,10 @@ Starting at version 0.3, DGL is separated into CPU and CUDA builds. The builds
...
@@ -19,58 +19,10 @@ Starting at version 0.3, DGL is separated into CPU and CUDA builds. The builds
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
CPU build, then the CPU build is overwritten.
CPU build, then the CPU build is overwritten.
Install from conda
Install from Conda or Pip
----------------------
-------------------------
If ``conda`` is not yet installed, get either `miniconda <https://conda.io/miniconda.html>`_ or
the full `anaconda <https://www.anaconda.com/download/>`_.
With ``conda`` installed, you will want install DGL into Python 3.6 ``conda`` environment.
Run `conda create -n dgl python=3.6` to create the environment.
Activate the environment by running `source activate dgl`.
After the ``conda`` environment is activated, run one of the following commands.
.. code:: bash
conda install -c dglteam dgl # For CPU Build
conda install -c dglteam dgl-cuda9.0 # For CUDA 9.0 Build
conda install -c dglteam dgl-cuda10.0 # For CUDA 10.0 Build
conda install -c dglteam dgl-cuda10.1 # For CUDA 10.1 Build
conda install -c dglteam dgl-cuda10.2 # For CUDA 10.2 Build
conda install -c dglteam dgl-cuda11.0 # For CUDA 11.0 Build
Install from pip
----------------
For CPU builds, run the following command to install with ``pip``.
.. code:: bash
pip install dgl
For CUDA builds, run one of the following commands and specify the CUDA version.
.. code:: bash
pip install dgl # For CPU Build
pip install dgl-cu90 # For CUDA 9.0 Build
pip install dgl-cu92 # For CUDA 9.2 Build
pip install dgl-cu100 # For CUDA 10.0 Build
pip install dgl-cu101 # For CUDA 10.1 Build
pip install dgl-cu102 # For CUDA 10.2 Build
pip install dgl-cu110 # For CUDA 11.0 Build
For the most current nightly build from master branch, run one of the following commands.
.. code:: bash
pip install --pre dgl # For CPU Build
pip install --pre dgl-cu90 # For CUDA 9.0 Build
pip install --pre dgl-cu92 # For CUDA 9.2 Build
pip install --pre dgl-cu100 # For CUDA 10.0 Build
pip install --pre dgl-cu101 # For CUDA 10.1 Build
pip install --pre dgl-cu102 # For CUDA 10.2 Build
pip install --pre dgl-cu110 # For CUDA 11.0 Build
Check out the `Get Started page <https://www.dgl.ai/pages/start.html>`_.
.. _install-from-source:
.. _install-from-source:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment