sglang-diffusion-performance

Configures SGLang diffusion models for optimal speed and resource efficiency across GPU setups.

12|2|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/scottgl9/sglang-spark-gb10-optimizations --skill sglang-diffusion-performance-scottgl9
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sglang-diffusion-performance
Source: https://github.com/scottgl9/sglang-spark-gb10-optimizations/tree/main/python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-performance
Command: npx skills add https://github.com/scottgl9/sglang-spark-gb10-optimizations --skill sglang-diffusion-performance-scottgl9

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users find the fastest and most efficient settings and flags for running SGLang diffusion models, reducing inference time and VRAM usage.

Core Features & Use Cases

  • Performance Tuning: Guides users to configure diffusion models for optimal speed and resource utilization.
  • Configuration Recommendations: Provides best practices for multi-GPU scaling, jit compilation, and backend selection.
  • Use Case: A user wants to accelerate a diffusion inference job on 4 GPUs with minimal VRAM usage—this Skill offers tailored flag suggestions for their hardware and model.

Quick Start

Use the diffusion performance skill to optimize a model for fast inference on your GPU setup.

Frequently Asked Questions about sglang-diffusion-performance

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

FAQPage Schema
How do I optimize diffusion model inference speed and reduce VRAM usage?

Optimize diffusion model inference speed and reduce VRAM usage by applying configuration guidelines for tuning flags and selecting backends. This balances model performance with hardware constraints to ensure maximum resource efficiency across GPU setups.

What is the best way to scale diffusion models across multi-GPU setups?

Scale diffusion models across multi-GPU setups by applying tailored configuration recommendations for multi-GPU scaling, jit compilation, and backend selection. This approach accelerates inference jobs while maintaining minimal VRAM overhead.

Can I use native and lossy optimizations for diffusion performance tuning?

Yes, you can apply native and lossy optimizations for diffusion performance tuning. Configuration guidelines include recommendations for both approaches to ensure model performance is balanced with hardware constraints and quality requirements.

Does jit compilation work with SGLang diffusion models to improve speed?

Yes, jit compilation works with diffusion models to improve speed. Configuration recommendations provide best practices for selecting backends and applying jit compilation to achieve optimal speed and resource utilization during inference.

Why does diffusion inference consume so much VRAM on my hardware?

Diffusion inference consumes high VRAM when configurations are not tuned to hardware constraints. Applying targeted flag suggestions and resource efficiency guidelines balances model performance with available memory, reducing overall inference time and VRAM overhead.