📜  rapids install - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:19:42.519000             🧑  作者: Mango

Rapids Install - Shell-Bash

Rapids is an open-source data science framework that aims to accelerate data science on GPUs. The installation process can be challenging, so here is a step-by-step guide to installing Rapids using Shell-Bash.

Step 1: Install Miniconda

Miniconda is a lightweight version of Anaconda, a popular Python distribution. It is recommended to use Miniconda to create a virtual environment for Rapids installation.

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
Step 2: Create a New Conda Environment

Create a new Conda environment for Rapids and activate it.

conda create -n rapids -c rapidsai -c nvidia -c conda-forge rapids-blazing=21.10 python=3.9 cudatoolkit=11.2
conda activate rapids
Step 3: Verify your Installation

Run the following command to verify your installation:

python -c "import cudf; print(cudf.__version__)"

You should see the version number of cudf printed on the screen.

Conclusion

In this tutorial, you have learned how to install Rapids using Shell-Bash. With Rapids installed, you can now accelerate your data science workflows on GPUs.