[diffusion] doc: rewrite stale diffusion compatibility matrix (#36987)

This commit is contained in:
Mick
2026-09-02 23:42:54 +08:00
committed by GitHub
parent f586654518
commit f6aed6ec53
17 changed files with 505 additions and 1018 deletions
+9 -1
View File
@@ -40,7 +40,7 @@ FLUX models are optimized for high-quality image generation. The recommended lau
### 3.2 Configuration Tips
Currently supported optimizations are listed [here](/docs/sglang-diffusion/compatibility_matrix).
See [Performance Optimization](/docs/sglang-diffusion/performance-optimization) for acceleration features and their runtime requirements.
- `--vae-path`: Path to a custom VAE model or HuggingFace model ID (e.g., fal/FLUX.2-Tiny-AutoEncoder). If not specified, the VAE will be loaded from the main model path.
- `--num-gpus`: Number of GPUs to use
@@ -193,6 +193,14 @@ sglang serve --model-path black-forest-labs/FLUX.1-dev
- `--vae-cpu-offload`: Use CPU offload for VAE.
- `--pin-cpu-memory`: Pin memory for CPU offload. Only added as a temp workaround if it throws "CUDA error: invalid argument".
#### 4.2.3 Known LoRA examples
Use `--lora-path` at startup or the [LoRA management API](/docs/sglang-diffusion/api/openai_api#lora-management) to load an adapter. Known FLUX examples include:
- [`dvyio/flux-lora-simple-illustration`](https://huggingface.co/dvyio/flux-lora-simple-illustration)
- [`XLabs-AI/flux-furry-lora`](https://huggingface.co/XLabs-AI/flux-furry-lora)
- [`XLabs-AI/flux-RealismLora`](https://huggingface.co/XLabs-AI/flux-RealismLora)
## 5. Benchmark
### 5.1 Speedup Benchmark