Skip to content

alexblattner/modified-euler-samplers-for-sonar-diffusers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modified-euler-samplers-for-sonar-diffusers


This repo ports the momentum mechanism of sd-webui-sonar on Euler and Euler a sampler to huggingface/diffusers.

how to use assuming you initiated a pipe in diffusers:

pipe.scheduler = EulerA.from_config(pipe.scheduler.config)

change sonar settings

after initiating the scheduler, write these lines (whichever ones you'd like to modify):

pipe.scheduler.history_d=0 #'rand_new' or 'rand_init' are all possible values for this
pipe.scheduler.momentum=0.90 #
pipe.scheduler.momentum_hist=0.9

here are the default values:

history_d=0
momentum=0.95
momentum_hist=0.75

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages