cuml-cu12
cuML - RAPIDS ML Algorithms
What it is and what it does
cuML is a GPU-accelerated machine learning library from the RAPIDS ecosystem that brings standard ML algorithms to NVIDIA GPUs. It provides scikit-learn-compatible interfaces for algorithms including random forests, gradient boosting, clustering, and dimensionality reduction, allowing developers to scale training and inference on GPU hardware without rewriting model code.
The package wraps libcuml C++ implementations and depends on cuDF for GPU DataFrames, cuPy for GPU arrays, and RAFT for shared ML primitives. It targets developers who need to accelerate existing scikit-learn workflows on GPU clusters or single-GPU systems, and requires CUDA 12, Python 3.11+, and a compatible NVIDIA GPU. The library is actively maintained as part of the RAPIDS project and integrates with joblib, numba, and other ecosystem tools.
Use it for:
- Train random forest or gradient boosting models on GPU for faster convergence on large datasets.
- Accelerate hyperparameter tuning and cross-validation workflows by moving model training to GPU.
- Build GPU-native ML pipelines in Dask for distributed training across multiple GPUs.
- Replace CPU scikit-learn calls in existing code with GPU equivalents using the same API.
- Perform fast clustering and dimensionality reduction on high-dimensional data.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
GPU-accelerated machine learning algorithms for classification, regression, clustering, and dimensionality reduction, built on CUDA and integrated with scikit-learn-compatible APIs.
Yes, if you have an NVIDIA GPU with CUDA 12 and need to accelerate scikit-learn-compatible workflows. The permissive Apache-2.0 license and active maintenance are favorable. No if you lack GPU hardware or need CPU-only ML. Medium friction from 18 dependencies and CUDA/GPU requirements; verify your GPU and CUDA setup before attempting installation.
Install
cuml-cu12 on PyPI
pip
pip install cuml-cu12uv
uv add cuml-cu12poetry
poetry add cuml-cu12Installing cuml-cu12
Before you install
Medium install friction due to 18 runtime dependencies including CUDA toolkit, cuDF, cuPy, and GPU-specific libraries. Active maintenance with recent releases; requires CUDA 12 and Python 3.11+. Pre-built wheels available for x86_64 and aarch64 Linux.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and research contexts.
Quickstart
pip install cuml-cu12
import cuml
from cuml.ensemble import RandomForestClassifier
rf = RandomForestClassifier()
rf.fit(X_train, y_train)
predictions = rf.predict(X_test)
Requires NVIDIA GPU with CUDA 12 support and CUDA toolkit installed; cuDF and cuPy must match the cu12 variant.
Verify before relying
- Whether all 18 runtime dependencies are required for basic usage or if subsets enable lighter installations.
- Performance gains over CPU alternatives for typical dataset sizes and model types.
- Compatibility with specific GPU architectures beyond the wheel's aarch64 and x86_64 coverage.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 18 — cuda-bindings, cuda-toolkit, cudf-cu12, cupy-cuda12x, joblib, libcuml-cu12, numba-cuda, numba, numpy, nvforest-cu12, nvidia-nvjitlink-cu12, packaging, pylibraft-cu12, rich, rmm-cu12, scikit-learn, scipy, treelite |
| Maintenance | actively maintained — 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 428,122/month — #6,746 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cuml_cu12-26.8.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; cuml_cu12-26.8.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
libcuml-cu12GPU-accelerated machine learning algorithms…
permissive · top 15,000 on PyPI
libraft-cu12libraft-cu12 provides CUDA-accelerated…
permissive · top 15,000 on PyPI
libcuvs-cu12GPU-accelerated vector search and clustering…
permissive · top 15,000 on PyPI
cuvs-cu12Provides GPU-accelerated approximate nearest…
permissive · top 15,000 on PyPI
pylibraft-cu12pylibraft-cu12 provides Python bindings to…
permissive · top 15,000 on PyPI
nvidia-cudnn-cu12Provides cuDNN runtime libraries for…
unclear · top 1,000 on PyPI
cudf-cu12cuDF is a GPU-accelerated DataFrame library…
permissive · top 15,000 on PyPI
raft-dask-cu12Provides multi-node multi-GPU distributed…
permissive · top 15,000 on PyPI
cupy-cuda12xCuPy provides a NumPy- and SciPy-compatible…
permissive · top 5,000 on PyPI
nvidia-cublas-cu11Provides NVIDIA CUBLAS native runtime libraries…
unclear · top 5,000 on PyPI