[Model] Support stable diffusion3#439
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "longcat_image", | ||
| "pipeline_longcat_image_edit", | ||
| "LongcatImageEditPipeline", | ||
| "StableDiffusion3Pipeline": ( |
There was a problem hiding this comment.
Fix malformed diffusion model registry entry
The _DIFFUSION_MODELS dictionary is syntactically invalid because the LongCatImageEditPipeline entry is missing its closing parenthesis and trailing comma before the StableDiffusion3Pipeline entry, leaving the file unparsable. Importing vllm_omni.diffusion.registry will raise a SyntaxError, preventing any diffusion model (including the new SD3 pipeline) from being registered or loaded.
Useful? React with 👍 / 👎.
28ed378 to
72779e1
Compare
|
could you please try to use this model generate "vllm-omni supports stable diffusion" or something similar :) |
|
@hsliuustc0106 By the way, this PR does not include sequence parallelism and diffusion caching. I plan to support these features on SD3 and provide benchmark scripts in separate PRs. |
Signed-off-by: iwzbi <[email protected]>
Signed-off-by: iwzbi <[email protected]>
Signed-off-by: iwzbi <[email protected]>
Signed-off-by: iwzbi <[email protected]>
Signed-off-by: iwzbi <[email protected]>
Signed-off-by: iwzbi <[email protected]>
ab49162 to
e50f0d8
Compare
Does this support cache-dit? |
| timestep = t.expand(latents.shape[0]).to(device=latents.device, dtype=latents.dtype) | ||
|
|
||
| # Forward pass for positive prompt (or unconditional if no CFG) | ||
| # cache_branch is passed to hook for CFG-aware state management |
There was a problem hiding this comment.
There is no cache branch here. Remove this line
Signed-off-by: iwzbi <[email protected]>
|
can you update the supported model list as well? For the test plan, an example script will be easier to verify than a Jupyter notebook |
Signed-off-by: iwzbi <[email protected]>
sure. added this model to supported_models.md. For the test, Would it be better to have SD3 covered by the functionality of |
please submit a follow-up PR, and then we are going to announce it to the public SD3 is ready in vllm-omni :) |
|
please also remember to submit a PR to vllm/recipes |
No problem. I will finish it in two days. |
No problem |
|
check this for reference vllm-project/recipes#184 |
Signed-off-by: iwzbi <[email protected]> Signed-off-by: iwzbi <[email protected]> Co-authored-by: iwzbi <[email protected]> Co-authored-by: Hongsheng Liu <[email protected]> Signed-off-by: wangyu31577 <[email protected]>
Signed-off-by: iwzbi <[email protected]> Signed-off-by: iwzbi <[email protected]> Co-authored-by: iwzbi <[email protected]> Co-authored-by: Hongsheng Liu <[email protected]> Signed-off-by: HonestDeng <[email protected]>
Signed-off-by: iwzbi <[email protected]> Signed-off-by: iwzbi <[email protected]> Co-authored-by: iwzbi <[email protected]> Co-authored-by: Hongsheng Liu <[email protected]>
Signed-off-by: iwzbi <[email protected]> Signed-off-by: iwzbi <[email protected]> Co-authored-by: iwzbi <[email protected]> Co-authored-by: Hongsheng Liu <[email protected]>


PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS (AT THE BOTTOM) HAVE BEEN CONSIDERED.
Purpose
Support stable diffusion3 #311
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)