docs_new/cookbook/diffusion/README.mdx
Create a comprehensive cookbook for diffusion models in SGLang, demonstrating SGLang's performance advantages for image and video generation workloads.
This cookbook aggregates battle-tested SGLang recipes covering:
Each recipe provides step-by-step instructions to help you quickly implement SGLang solutions for your specific requirements.
The sglang diffusion cookbook directory structure are shown below:
sgl-cookbook/docs/diffusion/
├── README.md # Main cookbook (this file)
├── Qwen-Image/ # Qwen-Image series models docs
│ ├── Qwen-Image.md
│ └── Qwen-Image-Edit.md
├── Wan/ # Wan series models docs
│ ├── Wan2.1.md
│ └── Wan2.2.md
├── Z-Image/ # Z-Image series models docs
│ └── Z-Image-Turbo.md
└── ...
We believe the best documentation comes from practitioners. Whether you've optimized SGLang for a specific model, solved a tricky deployment challenge, or discovered performance improvements, we encourage you to contribute your recipes!
💪How to Contribute
To contribute:
# Fork the repo and clone locally
git clone https://github.com/YOUR_USERNAME/sglang-cookbook.git
cd sglang-cookbook
# Create a new branch
git checkout -b add-my-recipe
# Add your recipe following the template in DeepSeek-V3.2
# Submit a PR!
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Let's build this resource together! 🚀 Star the repo and contribute your recipes to help the SGLang community grow.