cuml
Skill by NVIDIA
Guides AI assistants in writing, running, debugging and upgrading Python code that uses NVIDIA cuML for GPU machine learning. Built for developers using cuML estimators or cuml.accel.
Install cuml
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NVIDIA/cuml /tmp/cuml && mkdir -p ~/.claude/skills && cp -r /tmp/cuml/skills/cuml ~/.claude/skills/cumlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NVIDIA/cuml /tmp/cuml && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cuml/skills/cuml ~/.gemini/antigravity-cli/skills/cumlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an assistant guidance for NVIDIA cuML, a GPU machine learning library for Python. It covers cuML estimators such as UMAP, HDBSCAN, RandomForest, KMeans and SVC, and cuml.accel, which runs unmodified scikit-learn, umap-learn and hdbscan code on the GPU. It also covers libraries that wrap cuML, such as BERTopic and rapids-singlecell.
The skill tells the assistant to check the installed cuML before using an API, since cuML removes deprecated APIs every two months. It includes a script that flags removed APIs, notes on verifying GPU execution, memory recipes for large UMAP and HDBSCAN runs, and guidance on exporting trained models. It is aimed at developers working with cuML code. It excludes cuDF-only dataframe work, PyTorch and XGBoost.
Written from the project's SKILL.md and checked against it.
What it can do
- Version-aware API checksLooks up cuML signatures and docstrings in the installed version before suggesting code.
- Removed API checkerRuns scripts/check_removed_apis.py to flag removed APIs and suggest replacements.
- cuml.accel guidanceExplains how to enable cuml.accel and check GPU runs against CPU fallbacks.
- Large-data recipesGives memory options for UMAP, HDBSCAN and KMeans on large datasets.
- Model exportShows how to convert cuML and scikit-learn models, including to Treelite or ONNX.
- Output type handlingExplains when results come back as cuDF, NumPy or CuPy objects and how to force a type.
What you need
- NVIDIA GPU supported by cuML
- Linux, or Windows with WSL2
- CUDA 13 driver 580 or newer for cuml-cu13
- pip to install cuml-cu13 or cuml-cu12
Try asking
- Check my UMAP script for APIs removed in recent cuML releases
- Show me how to confirm cuml.accel really ran my scikit-learn code on the GPU
- Convert this trained cuML model to a scikit-learn object for a CPU machine
Good to know
- Linux only. On Windows, use WSL2.
- cuml.accel supports a single GPU only.
- cuML results are comparable to CPU libraries but not numerically identical.
- The removed API checker covers only a few APIs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cuml/SKILL.md, skills/cuml/scripts/check_removed_apis.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
BENCHMARK.md14 KB -
README.md1 KB -
SKILL.md7 KB -
evals/.gitignore9 B -
evals/.reference/Dockerfile.cuml-image1 KB
Show all 12 files
-
evals/config.yml433 B -
evals/evals.json50 KB -
references/parity-and-numerics.md4 KB -
scripts/check_removed_apis.py11 KB -
scripts/removed_apis.json2 KB -
skill-card.md7 KB -
skill.oms.sig6 KB
Alternatives to cuml
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
cuml: common questions
Does cuml.accel need code changes?
No. The source says cuml.accel runs unmodified scikit-learn, umap-learn and hdbscan code on the GPU and falls back to the CPU for unsupported parts.
How can I tell if code ran on the GPU?
Run the script with python -m cuml.accel -v to log GPU runs or CPU fallbacks, or use --profile for a per-call table.
What is outside the scope of this skill?
The skill excludes cuDF-only dataframe work, PyTorch and XGBoost.
How do I install cuml?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cuml free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cuml safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cuml?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
