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

Addition of Samplers #58

Closed
azher-alnabi opened this issue Jan 16, 2023 · 2 comments
Closed

Addition of Samplers #58

azher-alnabi opened this issue Jan 16, 2023 · 2 comments

Comments

@azher-alnabi
Copy link

azher-alnabi commented Jan 16, 2023

Hello!

I was curious if there would be an addition to change what samplers you would be able to use at ./build.sh run. I am particularly interested in adding the following sampler: (DPM++ 2S a Karras). The reason why I ask is so that I could minimize the step count while maintaining a high-fidelity image as this would allow for a quicker rendering of these images.

Thank you for this docker file!

@fboulnois
Copy link
Owner

fboulnois commented Jan 16, 2023

Hello! This is already implemented in the underlying diffusers library as DPMSolverSinglestepScheduler: huggingface/diffusers#277 (comment) . More information on that scheduler can be found here: https://huggingface.co/docs/diffusers/api/schedulers/singlestep_dpm_solver

You'll want to use the option --scheduler DPMSolverSinglestepScheduler with ./build run.

@fboulnois fboulnois added the waiting-on-submitter Waiting for submitter to provide more information label Jan 16, 2023
@azher-alnabi
Copy link
Author

Works solid, thank you!

@fboulnois fboulnois removed the waiting-on-submitter Waiting for submitter to provide more information label Jan 16, 2023
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

No branches or pull requests

2 participants