hipRAFT Python API documentation#
2026-03-13
2 min read time
hipRAFT ships two Python packages serving distinct roles:
pylibraft is the core Python library, providing single-GPU, high-performance primitives that map directly onto the underlying C++ API. It is the primary entry point for most users and covers device resource management, random matrix generation, sparse operations, and more.
raft_dask is a complementary package for multi-node, multi-GPU workloads. It builds on top of
pylibraftand Dask to provide distributed communicator abstractions (NCCL, UCX/UCXX), enabling collective operations across GPU clusters. Useraft_daskwhen your workflow spans more than one GPU or node. Note:raft_daskis experimental and has limited testing.