Skip to main content
Execute qualquer Skill no Manus
com um clique

monitor-hook-perf-rules

Estrelas10
Forks6
Atualizado10 de junho de 2026 às 09:20

Mandatory discipline for monitor (probe) hot paths in internal_medicine. Hooks can enqueue CUDA/NCCL work that contends with EP a2a / DDP / TP communication, so they must not D2H-sync (.item/.cpu/.tolist/.numpy/python-compare on tensors), should avoid hook-time collectives unless correctness requires them, and must declare their full metric schema at registration before allocate_buffers. Use when adding or modifying any monitor, touching any _make_*_hook / register_hooks / _compute_* function, reviewing a PR that changes hot-path code or adds a metric, or diagnosing a perf regression that appears after enabling internal_medicine_monitors.

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly