计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
core-api【效率与协作】Use TorchMetrics core APIs for import checks, metric lifecycle, custom Metric state, device/DDP behavior, persistence, and Lightning logging.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.