sglang-diffusion-add-model

Integrate a new diffusion model or Diffusers pipeline into SGLang.

1|Updated May 8, 2026
One-click install
npx skills add https://github.com/dyyoungg/sglang-dev --skill sglang-diffusion-add-model-dyyoungg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sglang-diffusion-add-model
Source: https://github.com/dyyoungg/sglang-dev/tree/main/python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-add-model
Command: npx skills add https://github.com/dyyoungg/sglang-dev --skill sglang-diffusion-add-model-dyyoungg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured, end-to-end blueprint and boilerplate to integrate a new diffusion model or Diffusers pipeline into SGLang, streamlining model integration, configuration, and deployment workflows.

Core Features & Use Cases

  • Comprehensive guidance to add a new model or pipeline variant
  • Standardized stages for pre-processing, denoising, and decoding
  • Clear configuration, validation, and deployment steps

Quick Start

Follow this workflow to add a new diffusion model or Diffusers pipeline to SGLang.

Frequently Asked Questions about sglang-diffusion-add-model

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

FAQPage Schema
How do I integrate a Diffusers pipeline into SGLang?

To integrate a Diffusers pipeline into SGLang, you follow a structured blueprint providing standardized stages for pre-processing, denoising, and decoding, along with clear configuration and validation steps.

Can I add a diffusion model to SGLang for production deployment?

Yes, you can add a diffusion model to SGLang for production deployment. The integration process provides a standardized boilerplate suitable for both research and production contexts, ensuring component compatibility and clear deployment guidance.

What is the best way to configure DiT configs and VAEs when adding diffusion models to SGLang?

The best way to configure DiT configs and VAEs is by using a standardized integration blueprint that enforces compatibility with model components like schedulers and required pipeline callbacks, ensuring proper configuration and validation.

Does SGLang support Hybrid and Modular pipeline styles for Diffusers models?

Yes, SGLang supports extending with Diffusers-based models using both Hybrid and Modular pipeline styles. The integration blueprint accommodates these styles to streamline model integration and deployment workflows.

Why use a standardized boilerplate to add diffusion models to SGLang?

Using a standardized boilerplate to add diffusion models to SGLang streamlines model integration, configuration, and deployment workflows by providing structured, end-to-end guidance that enforces compatibility across required pipeline callbacks and components.