review-perf

Analyze ML training and inference code to identify bottlenecks and propose optimizations.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/tim-krausz/mlstack --skill review-perf-tim-krausz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-perf
Source: https://github.com/tim-krausz/mlstack/tree/main/review-perf
Command: npx skills add https://github.com/tim-krausz/mlstack --skill review-perf-tim-krausz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze and optimize ML training and inference code by locating bottlenecks in GPU utilization, data throughput, memory footprint, and overall throughput, then provide concrete optimization guidance with measurable impact.

Core Features & Use Cases

  • Profiling notebooks, training scripts, and inference pipelines to identify bottlenecks and provide actionable improvements.
  • Recommend architectures, data formats, precision modes, and loading strategies that improve speed or cost without sacrificing correctness.
  • Use case: run a baseline review on a training run, then generate a prioritized optimization plan and a reproducible checklist.

Quick Start

Provide the ML project or script bundle and I will deliver a performance review with concrete changes and a step-by-step optimization plan.

Frequently Asked Questions about review-perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify bottlenecks in my ML training and inference pipelines?

ML pipeline profiling analyzes training scripts, data loaders, and inference code to locate GPU utilization, data throughput, and memory bottlenecks, then provides prioritized optimization plans with measurable impact estimates and implementation guidance.

What's the best way to improve GPU utilization and data throughput for deep learning?

Improving GPU utilization requires recommending optimized mixed precision modes, data formats, loading strategies, and batching configurations that increase pipeline speed or reduce cost without sacrificing model correctness across common ML frameworks.

How do I profile a training script to generate a reproducible optimization report?

Profiling a training script involves applying structured profiling steps to a provided ML project bundle, which generates a reproducible report containing before and after metrics alongside a step-by-step optimization checklist.

Does this performance review process work with inference pipelines and notebooks?

Yes, the performance review process works with inference pipelines and profiling notebooks by analyzing the code to identify bottlenecks and propose concrete optimizations applicable across common ML frameworks.

What do I need to provide to run a baseline performance review on an ML training run?

To run a baseline performance review, you need to provide the ML project or script bundle, which is analyzed to deliver a performance review with concrete changes and a step-by-step optimization plan.