diffusion-perf

Benchmark and profile diffusion models for inference performance analysis.

105|9|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/guqiong96/Lsglang --skill diffusion-perf-guqiong96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffusion-perf
Source: https://github.com/guqiong96/Lsglang/tree/main/python/sglang/multimodal_gen/.claude/skills/diffusion-perf
Command: npx skills add https://github.com/guqiong96/Lsglang --skill diffusion-perf-guqiong96

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides tools to benchmark and profile the performance of diffusion models, helping users understand and optimize their execution.

Core Features & Use Cases

  • Performance Measurement: Run performance benchmarks for diffusion models.
  • Profile Generation: Generate performance profiles for analysis.
  • Comparison: Compare performance metrics against a baseline.
  • Use Case: Optimize the inference speed of a new diffusion model by profiling its performance and identifying bottlenecks.

Quick Start

Use the diffusion-perf skill to benchmark the model 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 inference speed?

You can profile diffusion models by running generation with specific flags to warmup and collect performance data, followed by executing a comparison script to analyze resource utilization and identify bottlenecks.

What is the best way to identify performance bottlenecks in diffusion models?

To identify bottlenecks in diffusion models, use performance benchmarking to measure inference speed and resource utilization. This process requires running generation with warmup flags and analyzing the collected performance data.

How do I compare diffusion model performance against a baseline?

To compare diffusion model performance against a baseline, run the provided comparison script after collecting performance data through generation runs with warmup flags. This evaluates inference speed and resource utilization metrics against your baseline.

Can I optimize resource utilization for a new diffusion model?

Yes, you can optimize resource utilization for a new diffusion model by profiling its execution. This involves running generation with warmup flags to collect performance data, which helps identify bottlenecks and facilitates inference speed optimization.

Does diffusion-perf require any external dependencies to run?

No external dependencies are required to run this benchmarking and profiling skill. It operates using included scripts and references to measure diffusion model performance, analyze resource utilization, and compare metrics against a baseline.