[doc] standardize diffusion cookbook model pages (#34247)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
---
|
||||
title: __MODEL_DISPLAY__
|
||||
description: "Deploy __MODEL_DISPLAY__ with SGLang Diffusion."
|
||||
metatags:
|
||||
description: "Serve __MODEL_DISPLAY__ for __PRIMARY_CAPABILITY__ with SGLang Diffusion."
|
||||
---
|
||||
|
||||
import { DiffusionModelTags } from '/src/snippets/diffusion/model-tags.jsx';
|
||||
import { Deployment } from '/src/snippets/_deployment.jsx';
|
||||
import { config } from '/src/snippets/configs/__HF_ORG__/__MODEL_SLUG__.jsx';
|
||||
|
||||
<DiffusionModelTags tags={["__MODALITY__", "__PRIMARY_TASK__", "__DIFFERENTIATOR__", "__IMPORTANT_BOUNDARY__"]} />
|
||||
|
||||
## 1. Quick start
|
||||
|
||||
Install with `uv pip install "sglang[diffusion]" --prerelease=allow`, then choose
|
||||
a verified recipe below.
|
||||
|
||||
<Deployment config={config} />
|
||||
|
||||
## 2. Model capabilities
|
||||
|
||||
[__MODEL_DISPLAY__](__MODEL_URL__) is __CONCRETE_MODEL_DESCRIPTION__. Its strongest use case is __MEASURED_OR_DOCUMENTED_STRENGTH__.
|
||||
|
||||
Choose it when __SELECTION_GUIDANCE__. The main tradeoff is __CAPABILITY_OR_DEPLOYMENT_BOUNDARY__.
|
||||
|
||||
| Checkpoint or mode | Best fit | Important boundary |
|
||||
| --- | --- | --- |
|
||||
| `__MODEL_ID__` | __USE_CASE__ | __LIMIT__ |
|
||||
|
||||
## 3. Deployment details
|
||||
|
||||
Document topology-dependent defaults, platform-specific installation details,
|
||||
and only the hardware recipes that need explanation beyond the builder.
|
||||
|
||||
## 4. Request examples
|
||||
|
||||
__REQUEST_EXAMPLES__
|
||||
|
||||
## 5. Feature details
|
||||
|
||||
Document quality contracts, installation requirements, and benchmark scope for
|
||||
the Server and Request choices exposed in the builder. Keep `torch.compile` and
|
||||
other experimental controls here until they have a broadly compatible recipe.
|
||||
Reference in New Issue
Block a user