sglang-diffusion-add-model

Guide developers to integrate diffusion models into SGLang pipelines.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow standardizes how to add a new diffusion model or Diffusers pipeline to SGLang, providing an end-to-end blueprint that reduces boilerplate and ensures consistent integration with the registry.

Core Features & Use Cases

  • Hybrid and Modular pipeline style guidance for integrating diffusion models into SGLang.
  • Step-by-step skeletons for DiT configs, pipeline wiring, and model/resource registration.
  • Real-world scenario: a developer adds a new diffusion model and publishes it through the repository's model registry with coherent configuration and decoding steps.

Quick Start

Provide the diffusion model repository path or HuggingFace model ID and run the add-model workflow to scaffold and register the integration.

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 add a diffusion model to SGLang?

To add a diffusion model to SGLang, you structure the pipeline into BeforeDenoisingStage, DenoisingStage, and DecodingStage, then register it in the repository with the required configurations and validation checks.

How does SGLang integrate Diffusers pipelines?

SGLang integrates Diffusers pipelines by providing a standardized architecture that scaffolds DiT configs and wires the pipeline stages, ensuring coherent model and resource registration within the repository.

What's the best way to structure a diffusion pipeline in SGLang?

The best way to structure a diffusion pipeline in SGLang is by dividing the workflow into BeforeDenoisingStage, DenoisingStage, and DecodingStage, which ensures modular integration and consistent decoding steps.

Do I need to configure validation checks when registering a new diffusion model in SGLang?

Yes, you need to configure validation checks when registering a new diffusion model in SGLang to ensure the new model integrates cleanly with the existing registry and passes all required artifacts.

Can I use a HuggingFace model ID to scaffold a diffusion model integration in SGLang?

Yes, you can provide a HuggingFace model ID or a local diffusion model repository path to run the add-model workflow, which scaffolds and registers the integration with the necessary configurations.

Why standardize how diffusion models are added to SGLang?

Standardizing how diffusion models are added to SGLang reduces boilerplate and provides an end-to-end blueprint, ensuring consistent integration with the model registry across different Diffusers pipelines.