rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<!--T:2--> | <!--T:2--> | ||
[https://rapids.ai/ RAPIDS] is a suite of open source software libraries from NVIDIA mainly for executing data science and analytics pipelines in Python on GPUs. It relies on NVIDIA CUDA primitives for low level compute optimization and provides users with friendly Python APIs, similar to those in Pandas, Scikit-learn, etc. | [https://rapids.ai/ RAPIDS] is a suite of open source software libraries from NVIDIA mainly for executing data science and analytics pipelines in Python on GPUs. It relies on NVIDIA CUDA primitives for low-level compute optimization and provides users with friendly Python APIs, similar to those in Pandas, Scikit-learn, etc. | ||
<!--T:3--> | <!--T:3--> | ||
While RAPIDS can be installed using [[Anaconda/en|Anaconda]], we do not recommend the use of Anaconda on Compute Canada clusters. We propose instead that | While RAPIDS can be installed using [[Anaconda/en|Anaconda]], we do not recommend the use of Anaconda on Compute Canada clusters. We propose instead that you obtain a Docker image from NVIDIA, which can then be converted into a [[Singularity|Singularity]] image for use on our clusters. | ||
<!--T:4--> | <!--T:4--> | ||
This page provides the instructions for working with RAPIDS on Compute Canada clusters based from a Singularity container. | This page provides the instructions for working with RAPIDS on Compute Canada clusters based from a Singularity container. | ||
= | =Building a Singularity image for RAPIDS= <!--T:5--> | ||
To build a Singularity image for RAPIDS the first thing to do is to find and select a Docker image for RAPIDS | To build a Singularity image for RAPIDS the first thing to do is to find and select a Docker image for RAPIDS provided by NVIDIA. | ||
== | ==Finding a Docker image for RAPIDS== <!--T:6--> | ||
There are three types of RAPIDS Docker images | There are three types of RAPIDS Docker images: ''base'', ''runtime'', and ''devel''. For each type, multiple images are provided for different combinations of RAPIDS and CUDA versions, either on Ubuntu or on CentOS. You can find the Docker <tt>pull</tt> command for a selected image under the '''Tags''' tab on each site. | ||
<!--T:7--> | <!--T:7--> | ||
* [https://ngc.nvidia.com/catalog/containers/nvidia:rapidsai:rapidsai NVIDIA GPU Cloud (NGC)] | * [https://ngc.nvidia.com/catalog/containers/nvidia:rapidsai:rapidsai NVIDIA GPU Cloud (NGC)] | ||
** ''base'' | ** '''base''' contains a RAPIDS environment ready to use. Use this type of image if you want to submit a job to the Slurm scheduler. | ||
** ''runtime'' | ** '''runtime''' extends the base image by adding a Jupyter notebook server and example notebooks. Use this type of image if you want to interactively work with RAPIDS through notebooks and examples. | ||
* [https://hub.docker.com/r/rapidsai/rapidsai-dev Docker Hub] | * [https://hub.docker.com/r/rapidsai/rapidsai-dev Docker Hub] | ||
** ''devel'' | ** '''devel''' contains the full RAPIDS source tree, the compiler toolchain, the debugging tools, the headers and the static libraries for RAPIDS development. Use this type of image if you want to implement customized operations with low-level access to cuda-based processes. | ||
== | ==Building a RAPIDS Singularity image== <!--T:8--> | ||
<!--T:9--> | <!--T:9--> | ||
Line 95: | Line 95: | ||
You are then back to the host shell. | You are then back to the host shell. | ||
== | ==Working interactively on a GPU node== <!--T:22--> | ||
<!--T:23--> | <!--T:23--> |