diffusion-perf

Benchmarks diffusion models and generates performance dumps for comparison.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rayleizhu/sglang --skill diffusion-perf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffusion-perf
Source: https://github.com/rayleizhu/sglang/tree/main/python/sglang/multimodal_gen/.claude/skills/diffusion-perf
Command: npx skills add https://github.com/rayleizhu/sglang --skill diffusion-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps measure and compare the performance of diffusion models, providing insights into their speed and efficiency.

Core Features & Use Cases

  • Performance Benchmarking: Run benchmarks to collect performance metrics.
  • Profile Generation: Generate performance dumps for detailed analysis.
  • Comparison: Compare performance between different runs or model versions.

Quick Start

Use the diffusion-perf skill to benchmark the diffusion model located at /path/to/model.

Frequently Asked Questions about diffusion-perf

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

FAQPage Schema
How do I benchmark diffusion model performance?

To benchmark diffusion model performance, you run benchmarks against a specified model path to collect speed and efficiency metrics. This process generates detailed performance dumps for analyzing resource utilization.

How can I compare generative AI performance between different model versions?

You can compare generative AI performance by passing baseline comparison files as command-line arguments during the benchmark run. This highlights the speed and resource utilization differences between model versions.

What command-line arguments are required to profile a diffusion model?

Profiling a diffusion model requires specific command-line arguments for the model path, the prompt used for generation, and baseline comparison files. These inputs drive the benchmark and generate the performance dump.

When do I need to run performance profiling on diffusion models?

You need to run performance profiling on diffusion models when optimizing generative AI models for speed and resource utilization. It provides insights into their efficiency during generation tasks.

Can I measure resource utilization without writing custom profiling scripts?

Yes, you can measure resource utilization by executing the built-in benchmarking scripts. These scripts automatically collect performance metrics and generate dumps without requiring custom profiling code.