Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use scheduler strength option for set_timesteps #7973

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

okaris
Copy link

@okaris okaris commented May 17, 2024

What does this PR do?

Changes the SD and SDXL pipelines to use the strength parameter of the scheduler when possible

Fixes # (issue)

#7651

Who can review?

@yiyixuxu @DN6 @sayakpaul

# Conflicts:
#	src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py
#	src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py
#	src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py
#	src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py
@yiyixuxu
Copy link
Collaborator

cd @dg845
lcm scheduler has a strength argument in set_timesteps, but it does not seem to be used - is this intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants