[diffusion] doc: fix diffusion docs and cookbook drift (#29302)
This commit is contained in:
@@ -83,6 +83,7 @@ Use `sglang generate --help` and `sglang serve --help` for the full argument lis
|
||||
- `--sp-degree {N}`: sequence parallelism size
|
||||
- `--ulysses-degree {N}` and `--ring-degree {N}`: USP parallelism controls
|
||||
- `--enable-cfg-parallel {true|false}`: enable or explicitly disable CFG parallelism
|
||||
- `--warmup-mode {off|request|server}`: control startup warmup for `sglang serve`; `off` skips warmup, `request` primes the request path, and `server` runs a full synthetic server warmup before serving traffic
|
||||
- `--attention-backend {BACKEND}`: attention backend for native SGLang and diffusers pipelines
|
||||
- `--component-attention-backends {MAP}`: per-component attention backend overrides, for example `text_encoder=torch_sdpa,transformer=fa`
|
||||
- `--attention-backend-config {CONFIG}`: attention backend configuration
|
||||
|
||||
@@ -45,7 +45,11 @@ SGLang supports two complementary caching approaches:
|
||||
[Cache-DiT](https://github.com/vipshop/cache-dit) provides block-level caching with
|
||||
advanced strategies like DBCache and TaylorSeer. It can achieve up to **1.69x speedup**.
|
||||
|
||||
See [cache_dit.md](./cache_dit) for detailed configuration.
|
||||
See [Cache-DiT](./cache_dit) for detailed configuration.
|
||||
|
||||
<Note>
|
||||
Cache-DiT currently cannot be combined with `--use-fsdp-inference`. Keep FSDP disabled when enabling Cache-DiT, or use other residency/offload controls instead.
|
||||
</Note>
|
||||
|
||||
### Quick Start
|
||||
|
||||
@@ -65,7 +69,7 @@ sglang generate --model-path Qwen/Qwen-Image \
|
||||
|
||||
TeaCache (Temporal similarity-based caching) accelerates diffusion inference by detecting when consecutive denoising steps are similar enough to skip computation entirely.
|
||||
|
||||
See [teacache.md](./teacache) for detailed documentation.
|
||||
See [TeaCache](./teacache) for detailed documentation.
|
||||
|
||||
### Quick Overview
|
||||
|
||||
|
||||
Reference in New Issue
Block a user