libcuml-cu12
cuML - RAPIDS ML Algorithms (C++)
What it is and what it does
libcuml-cu12 is the CUDA 12 variant of cuML, NVIDIA's GPU-accelerated machine learning library that mirrors scikit-learn's API for tabular ML tasks. It implements clustering, regression, classification, dimensionality reduction, time series, and preprocessing—all running on NVIDIA GPUs instead of CPU.
The library is designed for data scientists and engineers who want to accelerate traditional ML workflows without writing CUDA code. It depends on cuda-toolkit, libcuvs-cu12, libraft-cu12, librmm-cu12, nvidia-nvjitlink-cu12, and rapids-logger. Multi-GPU and multi-node operation is available via Dask for a growing set of algorithms. Models can be serialized with pickle or joblib for later inference, though deserialization from untrusted sources poses security risks.
Use it for:
- Accelerate large-scale clustering tasks on GPU when CPU processing is too slow.
- Train and deploy regression or classification models on GPU with scikit-learn-compatible interface.
- Perform distributed nearest neighbors search across multiple GPUs using Dask.
- Run dimensionality reduction on large tabular datasets to prepare features for downstream tasks.
- Build time series forecasts on GPU-resident data without CPU bottlenecks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
GPU-accelerated machine learning algorithms with scikit-learn-compatible APIs for clustering, regression, classification, dimensionality reduction, and time series models.
Yes, if you have NVIDIA GPU hardware and need to accelerate scikit-learn-style ML workflows. The active maintenance, permissive Apache-2.0 license, and scikit-learn API compatibility make it a low-risk choice. Install friction is moderate due to CUDA and GPU library dependencies, but that is inherent to GPU compute; no known vulnerabilities. Not suitable without GPU hardware.
Install
libcuml-cu12 on PyPI
pip
pip install libcuml-cu12uv
uv add libcuml-cu12poetry
poetry add libcuml-cu12Installing libcuml-cu12
Before you install
Medium install friction due to CUDA toolkit and multiple NVIDIA GPU libraries (libcuvs-cu12, libraft-cu12, librmm-cu12, nvidia-nvjitlink-cu12) as runtime dependencies. Actively maintained with release 8 days old; requires Python 3.11 or higher.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for proprietary projects provided attribution and license text are included.
Quickstart
pip install libcuml-cu12
from libcuml-cu12 import cluster
# GPU-accelerated clustering with DBSCAN
dbscan = cluster.DBSCAN(eps=1.0, min_samples=1)
dbscan.fit(data)
labels = dbscan.labels_
Requires NVIDIA GPU with CUDA support and cuda-toolkit installed; Python 3.11 minimum.
Verify before relying
- Performance claim of 10-50x speedup versus CPU equivalents—exact conditions and dataset sizes not specified.
- Compatibility with scikit-learn version 1.6 or higher—whether this is a hard requirement or advisory.
- Multi-GPU and multi-node support scope—which algorithms fully support Dask distributed operation.
- Exact import paths and module structure for clustering, regression, and other algorithm categories.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 7 — cuda-toolkit, libcuvs-cu12, libnvforest-cu12, libraft-cu12, librmm-cu12, nvidia-nvjitlink-cu12, rapids-logger |
| Maintenance | actively maintained — 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 405,616/month — #6,902 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: libcuml_cu12-26.8.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; libcuml_cu12-26.8.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
cuml-cu12GPU-accelerated machine learning algorithms for…
permissive · top 15,000 on PyPI
scikit-learn-intelexAccelerates scikit-learn algorithms on CPU and…
permissive · top 15,000 on PyPI
libcuvs-cu12GPU-accelerated vector search and clustering…
permissive · top 15,000 on PyPI
libraft-cu12libraft-cu12 provides CUDA-accelerated…
permissive · top 15,000 on PyPI
cuvs-cu12Provides GPU-accelerated approximate nearest…
permissive · top 15,000 on PyPI
raft-dask-cu12Provides multi-node multi-GPU distributed…
permissive · top 15,000 on PyPI
cudf-cu12cuDF is a GPU-accelerated DataFrame library…
permissive · top 15,000 on PyPI
lightgbmLightGBM is a gradient boosting framework for…
unclear · top 1,000 on PyPI
faiss-gpuFaiss provides GPU-accelerated similarity…
permissive · top 15,000 on PyPI
libcudf-cu12libcudf-cu12 is a GPU-accelerated C++ library…
permissive · top 15,000 on PyPI