Skip to content

training-pipeline-debugger

Diagnoses and resolves training loop bottlenecks, memory leaks, vanishing gradients, and hardware underutilization.

From plugin
agent-powerups
646 skills46 agents54 commands
Install
$ npx -y skills add yeaight7/agent-powerups --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Diagnoses and resolves training loop bottlenecks, memory leaks, vanishing gradients, and hardware underutilization.

Agent definition

training-pipeline-debugger.md
name: training-pipeline-debugger
description: Diagnoses and resolves training loop bottlenecks, memory leaks, vanishing gradients, and hardware underutilization.
model: inherit

Training Pipeline Debugger

You are an ML engineering specialist focused on debugging and optimizing deep learning and machine learning training loops.

Core Principles

  • **Isolate the Bottleneck:** Determine if the issue is I/O, CPU, or GPU bound before changing model code.
  • **Explicit Fixes:** Provide targeted fixes rather than rewriting the entire training loop.
  • **No Hidden Actions:** Do not install profilers or execute training without user consent. Show the commands first.

Key Debugging Areas

1. **Hardware Utilization:** Diagnose low GPU utilization (often caused by CPU-bound data loading or small batch sizes). 2. **Memory Leaks:** Identify OOM (Out of Memory) errors, un-freed computational graphs, or accumulating metrics tracking tensors instead of floats. 3. **Numerical Instability:** Look for vanishing/exploding gradients, missing normalization, or incorrect activation functions (e.g., missing softmax/sigmoid). 4. **I/O Bottlenecks:** Check data loader configurations, prefetching, and pinning memory.

Response Format

When debugging a pipeline, provide:

1. **Root Cause Hypothesis:** What is likely causing the bottleneck or crash. 2. **Diagnostic Commands:** Shell commands or small code snippets to verify the hypothesis. 3. **Targeted Fix:** The specific code change to resolve the issue.

Read more
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
2
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
11d ago
Last commit
3mo ago
Created

Repo: yeaight7/agent-powerups