[diffusion] Support stable-diffusion-3-medium-diffusers with sglang backend#19225
[diffusion] Support stable-diffusion-3-medium-diffusers with sglang backend#19225mickqian merged 86 commits intosgl-project:mainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
please provide a performance comparison report according to
|
Ok I will do that, thanks! |
…d3 vae select vae logics in vae_loader.py with minimum modification
mickqian
left a comment
There was a problem hiding this comment.
TODO:
- support combined cfg
…encoder_index out of bound
…s in base.py and sd3 flux to customize encoder attention mask handling and pooler output handling
…lete sd3 hardcode in vae_loader.py
| ) | ||
| if is_flux_v1: | ||
| pooled_embeds_list.append(outputs.pooler_output) | ||
| elif is_sd3 and i <= 1: |
There was a problem hiding this comment.
could we use something like use_pooler_output = is_sd3 or is_flux_v1
|
/tag-and-rerun-ci |
…roject#19225) Co-authored-by: zhaochenyang20 <zhaochen20@outlook.com> Co-authored-by: Kangrui Du <kangruidu@gmail.com> Co-authored-by: Xiaole Guo <gxlvera@gmail.com>
…roject#19225) Co-authored-by: zhaochenyang20 <zhaochen20@outlook.com> Co-authored-by: Kangrui Du <kangruidu@gmail.com> Co-authored-by: Xiaole Guo <gxlvera@gmail.com>

Overview
This PR supports
as sglang-native (using sglang as backend instead of diffusers).
Note:
Run with cli:
Modifications
Accuracy Tests
Benchmarking and Profiling
Checklist
Review Process
/tag-run-ci-label,/rerun-failed-ci,/tag-and-rerun-ci