Views
No views yet
ComposedPipelineBase.SanaWMTwoStagePipeline: stage 1 runs the SANA-WM dual-branch DiT, and stage 2 loads the upstream LTX-2 refiner from refiner/ before VAE decoding.1sglang generate \
2 --model-path Efficient-Large-Model/SANA-WM_bidirectional \
3 --prompt "A drone flyover of a snow-capped mountain at sunrise" \
4 --num-frames 321 \
5 --save-output1sglang generate \
2 --model-path sjmshsh/SANA-WM_bidirectional-overlay \
3 --prompt "A drone flyover of a snow-capped mountain at sunrise" \
4 --num-frames 321 \
5 --save-output1export SGLANG_DIFFUSION_MODEL_OVERLAY_REGISTRY='{
2 "Efficient-Large-Model/SANA-WM_bidirectional": {
3 "overlay_repo_id": "sjmshsh/SANA-WM_bidirectional-overlay",
4 "overlay_revision": "main"
5 }
6}'main with the pushed overlay commit SHA in BUILTIN_MODEL_OVERLAY_REGISTRY.| Source (NVlabs upstream) | Overlay output (Diffusers-style) |
|---|---|
config.yaml | (parsed; drives synthesized configs below) |
dit/sana_wm_1600m_720p.safetensors | transformer/diffusion_pytorch_model.safetensors |
| — (synthesized) | transformer/config.json |
vae/* | vae/* |
| — (synthesized) | scheduler/scheduler_config.json |
— (downloaded from google/gemma-2-2b-it) | text_encoder/*, tokenizer/* |
refiner/transformer/* | refiner/transformer/* |
refiner/connectors/* | refiner/connectors/* |
refiner/text_encoder/* | refiner/text_encoder/* |
google/gemma-2-2b-it) is a gated repo. Accept the Gemma license on Hugging Face once before first run. The materializer pins it to revision 299a8560bedf22ed1c72a8a11e7dce4a7f9f51f8. The stage-2 refiner text encoder is copied from the upstream SANA-WM source repo under refiner/text_encoder.90e0ff3b8f1f9b54a92b4b707edeaa27073aec84 of Efficient-Large-Model/SANA-WM_bidirectional. The current SGLang overlay loader records this in _overlay/overlay_manifest.json, but the effective source revision is still controlled by the model download path or SGLang's registry/config. If upstream restructures the repo, update _overlay/overlay_manifest.json, _overlay/materialize.py, and bump materializer_version.model_index.json — Diffusers-style pipeline class and component spec consumed by SGLang._overlay/overlay_manifest.json — declares the source repo id, required stage-1 and stage-2 source files, and the materializer script._overlay/materialize.py — translates the NVlabs layout into the Diffusers-style tree.SanaWMTwoStagePipeline and the SANA-WM LTX-2 refiner stage.