跳到正文
cccskills
免费在 GitHub 公开

cuml

cuML operating skill for GPU-accelerated classical ML, cuml.accel, Dask multi-GPU workflows, data utilities, and native source-build guidance.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(28)

  • SKILL.md5.3 KB
  • references/package-overview.md3.9 KB
  • references/repo-provenance.md2.7 KB
  • references/repo-routing-metadata.json471 B
  • references/troubleshooting.md5.8 KB
  • scripts/cuml_environment_probe.py5.4 KB
  • sub-skills/data-pipeline-utilities/references/api-reference.md16.1 KB
  • sub-skills/data-pipeline-utilities/references/troubleshooting.md10.8 KB
  • sub-skills/data-pipeline-utilities/references/workflows.md10.3 KB
  • sub-skills/data-pipeline-utilities/scripts/data_utility_smoke.py7.3 KB
  • sub-skills/data-pipeline-utilities/SKILL.md2.8 KB
  • sub-skills/distributed-dask/references/troubleshooting.md3.4 KB
  • sub-skills/distributed-dask/references/workflows.md7.1 KB
  • sub-skills/distributed-dask/scripts/dask_cuml_smoke.py5.1 KB
  • sub-skills/distributed-dask/SKILL.md2.3 KB
  • sub-skills/native-build-and-cpp/references/source-build-and-cpp.md16.0 KB
  • sub-skills/native-build-and-cpp/references/troubleshooting.md11.8 KB
  • sub-skills/native-build-and-cpp/scripts/source_build_probe.py14.8 KB
  • sub-skills/native-build-and-cpp/SKILL.md2.5 KB
  • sub-skills/python-estimators/references/api-reference.md10.3 KB
  • sub-skills/python-estimators/references/troubleshooting.md5.3 KB
  • sub-skills/python-estimators/references/workflows.md7.4 KB
  • sub-skills/python-estimators/scripts/single_gpu_estimator_smoke.py7.7 KB
  • sub-skills/python-estimators/SKILL.md3.4 KB
  • sub-skills/sklearn-accel/references/compatibility-and-profiling.md5.2 KB
  • sub-skills/sklearn-accel/references/troubleshooting.md4.2 KB
  • sub-skills/sklearn-accel/scripts/cuml_accel_smoke.py3.1 KB
  • sub-skills/sklearn-accel/SKILL.md1.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

cuML

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.

First checks

  1. Confirm the task is about cuML/RAPIDS GPU machine learning, cuml.accel, cuml.dask, libcuml, or source-build/C++ APIs.

  2. Read references/repo-provenance.md when deciding whether this skill is current for a checkout or when refreshing it.

  3. Read references/package-overview.md for package surfaces, install variants, required/optional dependencies, output/device/memory behavior, and supported-version notes.

  4. 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
    
  5. If any check fails, read references/troubleshooting.md before changing dependencies or broadening the scope.

Route by task

User taskRead
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

Installation and backend guidance

  • Prefer the RAPIDS installation selector for current release/nightly commands and choose the CUDA/Python/package-manager combination that matches the host.
  • Pip package names are CUDA-suffixed in current RAPIDS wheels, for example 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.
  • Source builds are separate from ordinary package use. They need a full CUDA/toolchain/RAPIDS development environment and should start with the non-mutating probe in sub-skills/native-build-and-cpp/scripts/source_build_probe.py.

Validation policy

  • Always validate with tiny generated data before scaling to production-sized datasets.
  • Prefer quality metrics (accuracy_score, r2_score, adjusted Rand score, trustworthiness) over exact coefficient or label equality when comparing GPU and CPU algorithms.
  • For model serialization, load only trusted pickle/joblib artifacts. Do not unpickle data from untrusted sources.
  • For direct cuml, do not claim a CPU fallback. For cuml.accel, CPU fallback is expected for unsupported operations and should be made visible.
  • For Dask and source-build workflows, distinguish optional unverified capability from required CUDA runtime failures.

Generated helpers

  • 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.

Avoid using this skill when

  • The task is general scikit-learn usage with no GPU/RAPIDS/cuML surface.
  • The task is generic Dask administration rather than cuML estimators on Dask collections.
  • The task is CUDA kernel development unrelated to cuML/libcuml APIs.
  • The task requires downloading external datasets or running long benchmarks without explicit user approval.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题