计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
cpu-gpu-performance【效率与协作】Establishes CPU/GPU baselines before resource-intensive operations. Use before builds, training runs, or any task that pins cores or GPUs for over a minute.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: cpu-gpu-performance description: Establishes CPU/GPU baselines before resource-intensive operations. Use before builds, training runs, or any task that pins cores or GPUs for over a minute. alwaysApply: false progressive_loading: true dependencies: hub:
token-conservation).cpu-gpu-performance:baselinecpu-gpu-performance:scopecpu-gpu-performance:instrumentcpu-gpu-performance:throttlecpu-gpu-performance:logCapture current utilization:
uptimeps -eo pcpu,cmd | headnvidia-smi --query-gpu=utilization.gpu,memory.used --format=csvNote which hosts/GPUs are already busy.
Record any CI/cluster budgets (time quotas, GPU hours) before launching work.
Set a per-task CPU minute / GPU minute budget that respects those limits.
pytest -kcargo test <module>perfintel vtunecargo flamegraphnvidia-smi dmonnsysnvprofnice, ionice, or Kubernetes/Slurm quotas to prevent starvation of shared nodes.Conclude by documenting the commands that were run and their resource cost (duration, CPU%, GPU%), confirming whether they remained within the per-task budget. If a full suite or long training run was necessary, justify why selective or staged approaches were not feasible. Capture any follow-up tasks, such as adding a new test marker or profiling documentation, to simplify future sessions.
pytest tests/test_orders.py -k test_refund instead of pytest -m slow"nvidia-smi dmon output to prove GPU idle time before scaling"uptime and ps baseline captured and recorded before any
build, training run, or test suite startspytest -k, cargo test <module>); full-suite justification
documented if selective approach was not feasible