NVIDIA/raft
RAFT contains fundamental widely-used algorithms and primitives for machine learning and information retrieval. The algorithms are CUDA-accelerated and form building blocks for more easily writing high performance applications.
What it solves
RAFT provides a standardized library of fundamental, high-performance algorithms and primitives for machine learning and data mining. It solves the problem of redundant development by centralizing core computations, which accelerates the construction of new applications and reduces long-term maintenance burdens.
How it works
RAFT is primarily a C++ header-only template library that leverages CUDA to accelerate computations on NVIDIA GPUs. It offers a primitives-based approach, providing building blocks for dense and sparse linear algebra, statistics, and combinatorial solvers. For developers, it includes a device_resources object to manage expensive CUDA handles and streams, and supports mdspan for multi-dimensional array views. It also provides lightweight Python wrappers (pylibraft) and a distributed infrastructure layer (raft-dask) for multi-node, multi-GPU workflows.
Who it’s for
RAFT is designed for application developers and data source providers who need to build high-performance, GPU-accelerated software. It is not intended for direct use by data scientists performing discovery or experimentation; those users should instead look to higher-level NVIDIA CUDA-X libraries.
Highlights
- Accelerates algorithm construction and reduces maintenance through code reuse.
- Includes a wide range of accelerated functions for dense/sparse operations, statistics, and solvers.
- Provides C++ header-only templates with an optional shared library for faster compilation.
- Offers
pylibraftfor easy Python integration with support for zero-copy data exchange with libraries like CuPy, PyTorch, and cuDF. - Supports distributed, multi-node, multi-GPU algorithm development via
raft-dask.
Related
- Project
- Project
- Project
- Project
- Project