sglang-diffusion-add-model

Automate integration of diffusion models into SGLang with configuration and validation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured blueprint for integrating a new diffusion model or Diffusers pipeline into SGLang, ensuring consistency with existing runtime architectures and deployment workflows.

Core Features & Use Cases

  • Hybrid pipeline design guidance that accommodates model-specific preprocessing alongside standard denoising and decoding stages.
  • Step-by-step configuration, registry wiring, and pipeline instantiation templates to accelerate Diffusers-based model integration.
  • Reusable references and templates to streamline modeling work, documentation, and testing for diffusion models.

Quick Start

Provide a complete plan and implement the integration steps to add a new diffusion model 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 new diffusion model into SGLang?

Integrating a new diffusion model into SGLang requires configuring the model, wiring the project registry, orchestrating pipeline stages, and validating the setup against runtime components like DiT pipelines, VAEs, and schedulers.

What is needed to add a Diffusers pipeline to the SGLang runtime?

Adding a Diffusers pipeline to the SGLang runtime requires model configuration, registry wiring, and pipeline instantiation templates to ensure compatibility with denoising, decoding stages, and existing deployment workflows.

Can I use hybrid pipeline designs when adding diffusion models to SGLang?

Yes, you can use hybrid pipeline designs in SGLang to accommodate model-specific preprocessing alongside standard denoising and decoding stages for your new diffusion model integration.

How does SGLang handle compatibility for diffusion model components like VAEs and schedulers?

SGLang enforces compatibility with its runtime components by providing structured templates that validate DiT pipelines, VAEs, schedulers, and the project registry during the diffusion model integration process.

What is the best way to structure tests and documentation for a new SGLang diffusion model?

The best way to structure tests and documentation for a new SGLang diffusion model is to follow the reusable references and templates provided by the integration blueprint to streamline modeling work and ensure consistency.

Does adding a Diffusers pipeline to SGLang require manual registry wiring?

No, adding a Diffusers pipeline to SGLang does not require manual registry wiring from scratch; the integration process provides step-by-step configuration and registry wiring templates to automate the setup.