Installing nx-cugraph#
This guide describes how to install nx-cugraph
and use it in your workflows.
System Requirements#
nx-cugraph
requires the following:
Volta architecture or later NVIDIA GPU, with compute capability 7.0+
CUDA 11.2, 11.4, 11.5, 11.8, 12.0, 12.2, or 12.5
Python >= 3.10
NetworkX >= 3.0 (version 3.4 or higher recommended)
More details about system requirements can be found in the RAPIDS System Requirements Documentation.
Installing Packages#
Read the RAPIDS Quick Start Guide to learn more about installing all RAPIDS libraries.
nx-cugraph
can be installed using conda or pip. It is included in the RAPIDS metapackage, or can be installed separately.
Conda#
Nightly version
conda install -c rapidsai-nightly -c conda-forge -c nvidia nx-cugraph
Stable version
conda install -c rapidsai -c conda-forge -c nvidia nx-cugraph
pip#
Nightly version
pip install nx-cugraph-cu11 --extra-index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
Stable version
pip install nx-cugraph-cu11 --extra-index-url https://pypi.nvidia.com
Note:
The
pip install
examples above are for CUDA 11. To install for CUDA 12, replace-cu11
with-cu12