#246246th of 433 in ML frameworks and libraries
raft
CUDA-accelerated C++ primitives for ML and data mining, with Python wrappers
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts raft on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.raft is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Cuda
999 on 8 May 20261,058 on 27 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
RAFT is a header-only C++ template library of CUDA-accelerated primitives: dense and sparse linear algebra, solvers, statistics, random data generation and multi-GPU communication utilities. It ships an optional precompiled shared library, plus pylibraft (Python wrappers over the runtime APIs) and raft-dask (multi-node multi-GPU communicators for Dask). It targets library and application developers, not data scientists doing exploration.
Who it is for: C++ and Python developers building GPU-accelerated ML libraries
Strengths
- pylibraft accepts any __cuda_array_interface__ object, working with CuPy, Numba, PyTorch and cuDF
- Header-only C++ with optional precompiled library and runtime APIs that need no CUDA compiler
- Conda packages for CUDA 12 and 13, plus experimental pip wheels
- mdspan/mdarray API and raft-dask cover multi-dimensional data and multi-node multi-GPU use
Weaknesses
- Low-level building blocks; README says it is not meant for direct use by data scientists
- Requires an NVIDIA GPU and CUDA; no CPU fallback described
- Pip packages are experimental and do not expose the C++ headers
- README distance examples depend on the separate cuVS library
What it needs
- GPU required
- Needs CUDA 12 or 13, RMM or CCCL memory resources, Dask (raft-dask), NVIDIA cuVS (for distance examples)
What changed
- v26.10.00 ↗ (opens in a new tab)Breaking
“FastIntDiv: fallback to normal division when values exceed 32-bit ran… by @huuanhhuyn in https://github.com/NVIDIA/raft/pull/3093”
- v26.08.00 ↗ (opens in a new tab)Breaking
“Enhanced support for memory-tracking raft resources by @achirkin in https://github.com/NVIDIA/raft/pull/3004”
- v26.06.00 ↗ (opens in a new tab)Breaking
“Unify memory resources by @achirkin in https://github.com/rapidsai/raft/pull/2968”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #244 | scenicJAX/Flax library for training attention-based vision models at scale | 51 out of 100 |
| #245 | slm-labDeep reinforcement learning framework in PyTorch with JSON-spec experiments | 51 out of 100 |
| #247 | hyperoptPython library for hyperparameter search over conditional, mixed search spaces | 50 out of 100 |
| #248 | donkeycarPython library for building and training self-driving RC cars | 50 out of 100 |
| #249 | torchioPyTorch library for loading, augmenting and patch-sampling 3D medical images | 50 out of 100 |