Skip to content

Comments

[Bugfix] Fix stable diffusion3 compatibility error#772

Merged
hsliuustc0106 merged 1 commit intovllm-project:mainfrom
iwzbi:fix/sd3
Jan 13, 2026
Merged

[Bugfix] Fix stable diffusion3 compatibility error#772
hsliuustc0106 merged 1 commit intovllm-project:mainfrom
iwzbi:fix/sd3

Conversation

@iwzbi
Copy link
Contributor

@iwzbi iwzbi commented Jan 13, 2026

Purpose

fix #636

Test Plan

import torch

from vllm_omni import Omni
generator = torch.Generator("cuda").manual_seed(42)
model_name = "/model/stable-diffusion-3-medium-diffusers/"
m = Omni(model=model_name, dtype=torch.half)
images = m.generate(
    "A cat holding a sign that says hello world",
    negative_prompt="",
    height=height,
    width=width,
    dtype=torch.half,
    num_inference_steps=28,
    guidance_scale=7,
    generator=generator,
    num_outputs_per_prompt=1,
)

Test Result

image

Signed-off-by: iwzbi <[email protected]>
@iwzbi iwzbi requested a review from hsliuustc0106 as a code owner January 13, 2026 12:23
Copy link
Collaborator

@hsliuustc0106 hsliuustc0106 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hsliuustc0106 hsliuustc0106 added the ready label to trigger buildkite CI label Jan 13, 2026
@hsliuustc0106 hsliuustc0106 merged commit e9a1bee into vllm-project:main Jan 13, 2026
7 checks passed
sniper35 pushed a commit to sniper35/vllm-omni that referenced this pull request Jan 14, 2026
erfgss pushed a commit to erfgss/vllm-omni that referenced this pull request Jan 19, 2026
with1015 pushed a commit to with1015/vllm-omni that referenced this pull request Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready label to trigger buildkite CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: AttributeError: dual_attention_layers in Stable Diffusion 3

2 participants