Skip to content
Back to skills

Sklearn Accel

ASecurity

Zero-code-change acceleration for scikit-learn, UMAP, and HDBSCAN.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sklearn-accel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sklearn Accel?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sklearn Accel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sklearn-accel/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sklearn-accel)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sklearn-accel
description: "Zero-code-change acceleration for scikit-learn, UMAP, and HDBSCAN."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# sklearn-accel

Use this sub-skill when existing scikit-learn, UMAP, or HDBSCAN code should run through `cuml.accel` without rewriting the workflow to direct cuML APIs.

## Route here when
- you need CLI, notebook, environment-variable, or programmatic activation
- you need to confirm proxying, fallback, logging, or profiling
- you need to explain compatibility-driven CPU fallback or result differences

## Keep out
- direct cuML estimator rewrites and GPU-native tuning -> `../python-estimators/SKILL.md`
- Dask or multi-GPU workflow changes -> `../distributed-dask/SKILL.md`
- generic scikit-learn advice that is not tied to `cuml.accel`

## Core rules
- activate before importing `sklearn`, `umap`, or `hdbscan`
- use `python -m cuml.accel` for scripts, modules, or inline commands
- use `%load_ext cuml.accel` in notebooks before library imports
- use `CUML_ACCEL_ENABLED=1` only when you do not control the app entrypoint
- use `cuml.accel.install(disable_uvm=False, log_level=None)` for programmatic activation
- use `cuml.accel.enabled()`, `cuml.accel.is_proxy()`, and `cuml.accel.profile()` to check behavior
- rely on logs and profiler output to confirm GPU versus CPU execution; `is_proxy()` alone only proves proxy activation

## What belongs here
- CLI forwarding and profiling flags from `python -m cuml.accel`
- notebook and IPython activation, log-level, and profiler magics
- fallback compatibility by estimator family, input type, parameter, and dependency version
- expected numerical differences and when to compare metrics instead of fitted attributes

## References
- `references/compatibility-and-profiling.md`
- `references/troubleshooting.md`
- `scripts/cuml_accel_smoke.py`

Files in this skill

  • SKILL.md1.9 KB
  • references/compatibility-and-profiling.md5.2 KB
  • references/troubleshooting.md4.2 KB
  • scripts/cuml_accel_smoke.py3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.