executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
distributed-gpu-accelerationUse STUMPY Dask/Ray distributed clients and optional CUDA GPU APIs safely, with backend checks, client lifecycle guidance, device selection, and fallback routing.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a STUMPY task asks for Dask, Ray, CUDA, GPU-STUMP, multi-GPU execution, backend diagnostics, or conversion of an existing STUMPY workflow to an accelerated variant.
Do not use this sub-skill to decide which matrix-profile algorithm is appropriate, interpret motifs/discords/segments, choose multidimensional subspaces, or design streaming/pan analysis. Route those decisions to the owner sub-skills first, then return here only for acceleration mechanics.
dask.distributed.Client as the first argument to stumped, aamped, mstumped, maamped, mpdisted, aampdisted, ostinatoed, aamp_ostinatoed, stimped, or aamp_stimped.ray module after ray.init(). Expect an experimental-support warning and always ray.shutdown() in cleanup.numba.cuda.is_available() is true in the target runtime: use gpu_stump, gpu_aamp, gpu_mpdist, gpu_aampdist, gpu_ostinato, gpu_aamp_ostinato, gpu_stimp, or gpu_aamp_stimp with device_id=0 or a list of visible device IDs.stump, aamp, mstump, maamp, mpdist, ostinato, stimp, aamp_stimp) and state that acceleration was not verified.python scripts/check_acceleration.py --check all
Add --require-cuda only when the user explicitly requires CUDA execution.LocalCluster/Client; use try/finally for Ray init()/shutdown().client first for distributed APIs or device_id for GPU APIs; it does not change window size, normalization, ignore_trivial, percentage, k, include, or discords decisions.import stumpy or from CPU-only signatures. In a CUDA-unavailable runtime, STUMPY exposes GPU names as driver-not-found placeholders that may inspect as (*args, **kwargs) and raise a CUDA driver error when called.dashboard_address=None for smoke checks to avoid dashboard port conflicts unless the user needs the dashboard.references/api-reference.md — accelerated API signatures, return shapes, normalized/non-normalized routing, client, and device_id notes.references/workflows.md — Dask LocalCluster, Ray, CUDA, multi-GPU, and fallback workflow templates.references/backend-troubleshooting.md — dependency, LocalCluster, Ray, CUDA driver/Numba, nvidia-smi, and device-selection failures.scripts/check_acceleration.py — deterministic backend smoke script with tiny synthetic Dask data and non-failing CUDA availability reporting.