#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.

Stars
1.1k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Cuda
Stars, last 29 weeks+59
8 May 2026: 999 stars15 May 2026: 1,000 stars22 May 2026: 1,003 stars29 May 2026: 1,006 stars5 Jun 2026: 1,009 stars12 Jun 2026: 1,012 stars19 Jun 2026: 1,013 stars26 Jun 2026: 1,014 stars3 Jul 2026: 1,018 stars10 Jul 2026: 1,022 stars17 Jul 2026: 1,024 stars24 Jul 2026: 1,027 stars31 Jul 2026: 1,030 stars7 Aug 2026: 1,032 stars14 Aug 2026: 1,033 stars21 Aug 2026: 1,033 stars28 Aug 2026: 1,034 stars4 Sept 2026: 1,035 stars11 Sept 2026: 1,037 stars18 Sept 2026: 1,038 stars25 Sept 2026: 1,039 stars2 Oct 2026: 1,039 stars9 Oct 2026: 1,040 stars16 Oct 2026: 1,043 stars23 Oct 2026: 1,044 stars30 Oct 2026: 1,046 stars6 Nov 2026: 1,050 stars13 Nov 2026: 1,052 stars20 Nov 2026: 1,055 stars27 Nov 2026: 1,058 stars

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

  1. “FastIntDiv: fallback to normal division when values exceed 32-bit ran… by @huuanhhuyn in https://github.com/NVIDIA/raft/pull/3093”

  2. “Enhanced support for memory-tracking raft resources by @achirkin in https://github.com/NVIDIA/raft/pull/3004”

  3. “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
Also in ML frameworks and libraries
RankProjectScore
#244scenicJAX/Flax library for training attention-based vision models at scale Live demo ↗ (opens in a new tab)3.8k starsApache-2.051 out of 100
#245slm-labDeep reinforcement learning framework in PyTorch with JSON-spec experiments1.4k starsMIT51 out of 100
#247hyperoptPython library for hyperparameter search over conditional, mixed search spaces7.6k starscustom license50 out of 100
#248donkeycarPython library for building and training self-driving RC cars3.6k starsMIT50 out of 100
#249torchioPyTorch library for loading, augmenting and patch-sampling 3D medical images2.5k starsApache-2.050 out of 100