技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
cuml【数据与研究】cuML operating skill for GPU-accelerated classical ML, cuml.accel, Dask multi-GPU workflows, data utilities, and native source-build guidance.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill for NVIDIA cuML tasks: direct GPU-native Python estimators, zero-code-change cuml.accel acceleration, cuml.dask multi-GPU workflows, supporting data/metrics/preprocessing utilities, or cuML source-build and C++/CUDA maintenance.
cuML is a CUDA/RAPIDS package. Direct cuml runtime proof requires a CUDA-capable installation and an NVIDIA GPU; CPU-only imports are not a substitute for estimator execution.
Confirm the task is about cuML/RAPIDS GPU machine learning, cuml.accel, cuml.dask, libcuml, or source-build/C++ APIs.
Read references/repo-provenance.md when deciding whether this skill is current for a checkout or when refreshing it.
Read references/package-overview.md for package surfaces, install variants, required/optional dependencies, output/device/memory behavior, and supported-version notes.
Run the bundled probe when an installed package is expected:
python scripts/cuml_environment_probe.py --checks import cuda
python scripts/cuml_environment_probe.py --checks import cuda health optional
If any check fails, read references/troubleshooting.md before changing dependencies or broadening the scope.
| User task | Read |
|---|---|
Write, convert, debug, or validate direct single-GPU cuml estimator code with fit, predict, transform, output types, or model persistence. | sub-skills/python-estimators/SKILL.md |
Keep existing scikit-learn, UMAP, or HDBSCAN code unchanged and accelerate it with python -m cuml.accel, notebook magics, environment variables, or programmatic activation. | sub-skills/sklearn-accel/SKILL.md |
Build a cuml.dask workflow with Dask-CUDA, partitioned data, multi-GPU estimators, LocalCUDACluster, or distributed model collection. | sub-skills/distributed-dask/SKILL.md |
| Generate synthetic data, split/encode/scale data, compute metrics, vectorize text, use explainers, or prepare time-series utility inputs. | sub-skills/data-pipeline-utilities/SKILL.md |
Build cuML from source, diagnose libcuml/CMake/CUDA toolchain issues, select native tests, or work with C++ examples/APIs. | sub-skills/native-build-and-cpp/SKILL.md |
cuml-cu12 or cuml-cu13; dependencies such as libcuml, cudf, rmm, pylibraft, and CuPy must match the same CUDA/RAPIDS generation.cuml.dask requires additional Dask RAPIDS dependencies (rapids-dask-dependency, dask-cudf, raft-dask) matching the cuML version; dask-cuda/dask-ml are needed for many test or local-cluster workflows.cuml.accel should be enabled before importing scikit-learn, UMAP, or HDBSCAN. Unsupported estimators, inputs, parameters, or versions fall back to CPU and should be diagnosed with logging/profiling rather than treated as cuML estimator failures.sub-skills/native-build-and-cpp/scripts/source_build_probe.py.accuracy_score, r2_score, adjusted Rand score, trustworthiness) over exact coefficient or label equality when comparing GPU and CPU algorithms.cuml, do not claim a CPU fallback. For cuml.accel, CPU fallback is expected for unsupported operations and should be made visible.scripts/cuml_environment_probe.py: shared import/CUDA/health/optional dependency check for installed cuML.sub-skills/python-estimators/scripts/single_gpu_estimator_smoke.py: tiny KMeans, LinearRegression, RandomForest, and pickle checks.sub-skills/sklearn-accel/scripts/cuml_accel_smoke.py: accelerator CLI/programmatic/profiling checks.sub-skills/distributed-dask/scripts/dask_cuml_smoke.py: optional LocalCUDACluster + distributed KMeans smoke with missing-dependency diagnostics.sub-skills/data-pipeline-utilities/scripts/data_utility_smoke.py: datasets, preprocessing, and metric checks.sub-skills/native-build-and-cpp/scripts/source_build_probe.py: non-mutating source-build prerequisite probe.