Cpu gpu performance

From athola/claude-night-market · View interactive version

Cpu gpu performance is an AI agent skill from the GitHub repository athola/claude-night-market. 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.

How to use this skill

Skill file

CPU/GPU Performance Discipline

When To Use

or GPUs for more than a minute.

When NOT To Use

Required Progress Items

  1. cpu-gpu-performance:baseline
  2. cpu-gpu-performance:scope
  3. cpu-gpu-performance:instrument
  4. cpu-gpu-performance:throttle
  5. cpu-gpu-performance:log

Step 1: Establish Current Baseline

Note which hosts/GPUs are already busy.

Step 2: Narrow the Scope

or tag-based selective testing:

scheduling the full training/eval sweep.

Step 3: Instrument Before You Optimize

so you have evidence when throttling or parallelizing.

Step 4: Throttle and Sequence Work

pressure risks eviction. Prefer checkpoint/restore over restarts.

Step 5: Log Decisions and Next Steps

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.

Output Expectations

Exit Criteria

build, training run, or test suite starts

pytest -k, cargo test <module>); full-suite justification

documented if selective approach was not feasible

whether the run stayed within the per-task budget

to a todo or issue so they survive the session

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.