[Docs] Remove stale stage config references (#6270)
Signed-off-by: zwhzzz0821 <2831474076@qq.com>
This commit is contained in:
1 parent
efaf4276f9
commit
6f55a06fab
85 files changed
+566
-794
No files matched your search
@@ -57,14 +57,14 @@ move the diffusion stage to a second GPU in a custom deploy config.
|
||||
#### Offline Commands
|
||||
|
||||
Run text-to-image with the shared offline example from the repository root.
|
||||
Pick the topology with `--stage-configs-path` and forward BAGEL-specific
|
||||
Pick the topology with `--deploy-config` and forward BAGEL-specific
|
||||
generation parameters as a JSON object through `--extra-body`:
|
||||
|
||||
```bash
|
||||
# Two-stage (Thinker + DiT), shares one GPU by default
|
||||
python examples/offline_inference/text_to_image/text_to_image.py \
|
||||
--model ByteDance-Seed/BAGEL-7B-MoT \
|
||||
--stage-configs-path vllm_omni/deploy/bagel.yaml \
|
||||
--deploy-config vllm_omni/deploy/bagel.yaml \
|
||||
--prompt "A beautiful sunset over mountains" \
|
||||
--height 1024 \
|
||||
--width 1024 \
|
||||
@@ -79,7 +79,7 @@ python examples/offline_inference/text_to_image/text_to_image.py \
|
||||
# Single-stage (DiT only, with internal LLM/ViT/VAE)
|
||||
python examples/offline_inference/text_to_image/text_to_image.py \
|
||||
--model ByteDance-Seed/BAGEL-7B-MoT \
|
||||
--stage-configs-path vllm_omni/deploy/bagel_single_stage.yaml \
|
||||
--deploy-config vllm_omni/deploy/bagel_single_stage.yaml \
|
||||
--prompt "A beautiful sunset over mountains" \
|
||||
--height 1024 \
|
||||
--width 1024 \
|
||||
|
||||
@@ -52,7 +52,7 @@ Start the server from the repository root:
|
||||
vllm serve zai-org/GLM-Image --omni --port 8091
|
||||
```
|
||||
|
||||
To use the bundled stage config explicitly (same default as above):
|
||||
To use the bundled deploy config explicitly (same default as above):
|
||||
|
||||
```bash
|
||||
vllm serve zai-org/GLM-Image \
|
||||
@@ -106,7 +106,7 @@ Overall summary from the run’s metrics. Rough wall-time split: **Stage 0 (AR)*
|
||||
#### Notes
|
||||
|
||||
- Memory usage: Roughly **~38 GiB + KV** on Stage 0 (AR) and **~20 GiB** on Stage 1 (DiT+VAE) per the user guide; two 80 GB cards match the default split.
|
||||
- Key flags: `--omni` is required; `--stage-configs-path` is optional unless you use a custom YAML (for example single-GPU).
|
||||
- Key flags: `--omni` is required; `--deploy-config` is optional unless you use a custom YAML (for example single-GPU).
|
||||
- Keep **Transformers ≥ 5.5.1** (this recipe used **5.5.4**) so `glm_image` configs resolve; otherwise Stage 0 can fail at `ModelConfig` validation.
|
||||
- Known limitations: This starter recipe follows the dual-GPU online path documented under `examples/online_serving/glm_image`. The first request may be slower due to warmup.
|
||||
- Generation time: about **61 s** wall time end-to-end for the sample above (50 inference steps, 1024×1024).
|
||||
@@ -79,7 +79,7 @@ Total generation time: <seconds> seconds (<milliseconds> ms)
|
||||
Saved generated video to helios_t2v_base.mp4
|
||||
```
|
||||
|
||||
#### Important flags and stage configs
|
||||
#### Important flags and deploy config
|
||||
|
||||
- `--model BestWishYsh/Helios-Base` selects the base Helios checkpoint used by
|
||||
this recipe.
|
||||
@@ -88,7 +88,7 @@ Saved generated video to helios_t2v_base.mp4
|
||||
- `--cache-backend cache_dit` enables the cache-dit acceleration path.
|
||||
- `--enable-cache-dit-summary` prints cache-dit summary information after
|
||||
diffusion forward passes.
|
||||
- No separate stage config is required for this offline recipe; the shared
|
||||
- No separate deploy config is required for this offline recipe; the shared
|
||||
`text_to_video.py` example configures the pipeline through its arguments.
|
||||
- Helios-specific knobs (declared in `vllm_omni/model_extras/helios.py`) are
|
||||
passed via the generic `--extra-body` JSON flag:
|
||||
|
||||
@@ -44,7 +44,7 @@ vllm serve nvidia/GR00T-N1.7-3B \
|
||||
--host 127.0.0.1 \
|
||||
--port 8000 \
|
||||
--served-model-name gr00t-n1d7 \
|
||||
--stage-configs-path vllm_omni/deploy/Gr00tN1d7.yaml
|
||||
--deploy-config vllm_omni/deploy/Gr00tN1d7.yaml
|
||||
```
|
||||
|
||||
Notes:
|
||||
|
||||
@@ -54,7 +54,7 @@ NemotronH (~3B active parameters). Pick the pipeline by task:
|
||||
vllm serve nvidia/Nemotron-Labs-Audex-2B \
|
||||
--host 0.0.0.0 --port 8097 \
|
||||
--trust-remote-code --omni
|
||||
# other modes: add --stage-configs-path vllm_omni/deploy/audex_{tta,thinker_only,s2s}.yaml
|
||||
# other modes: add --deploy-config vllm_omni/deploy/audex_{tta,thinker_only,s2s}.yaml
|
||||
# or use the launcher: MODE=s2s PORT=8098 examples/online_serving/audex/run_server.sh
|
||||
```
|
||||
|
||||
@@ -112,7 +112,7 @@ auto-resolves to the 2B-tuned config otherwise):
|
||||
vllm serve nvidia/Nemotron-Labs-Audex-30B-A3B \
|
||||
--host 0.0.0.0 --port 8097 \
|
||||
--trust-remote-code --omni \
|
||||
--stage-configs-path vllm_omni/deploy/audex_tts_30b.yaml
|
||||
--deploy-config vllm_omni/deploy/audex_tts_30b.yaml
|
||||
# or: SIZE=30b MODE=tts examples/online_serving/audex/run_server.sh
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user