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
core-apiUse TorchMetrics core APIs for import checks, metric lifecycle, custom Metric state, device/DDP behavior, persistence, and Lightning logging.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about the TorchMetrics base API rather than a specific metric family: choosing functional versus module metrics, accumulating batches, writing a custom Metric, moving metrics across devices, synchronizing distributed state, saving metric state, or logging metrics from PyTorch Lightning.
update/compute/forward/reset semantics, MetricCollection, device/dtype rules, or state persistence.Metric subclasses with add_state, list states, dist_reduce_fx, cache behavior, DDP controls, or Lightning self.log/self.log_dict patterns.Accuracy, MeanSquaredError, MetricCollection, and a small custom list-state metric without downloads.MetricCollection, device moves, or DDP-aware synchronization.nn.Module children: direct attributes, nn.ModuleList, nn.ModuleDict, or MetricCollection; do not hide metrics inside plain Python containers.collections-wrappers-plotting; route metrics that may download models to model-based-metrics.