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

Can this be tested in kohya_ss #21

Closed
rafstahelin opened this issue Apr 24, 2024 · 3 comments
Closed

Can this be tested in kohya_ss #21

rafstahelin opened this issue Apr 24, 2024 · 3 comments

Comments

@rafstahelin
Copy link

I'd like to try this for Stable Diffusion in Kohya_ss.

@cheald
Copy link

cheald commented Apr 25, 2024

All you need to do is install the library, set optimizer_type = "schedulefree.AdamWScheduleFree" in your configuration, and add optimizer.train() after the call to train_util.get_optimizer(). Works like a charm.

@sdbds
Copy link

sdbds commented Apr 29, 2024

kohya-ss/sd-scripts#1250
Wait it merged into.

@rafstahelin
Copy link
Author

@sdbds @cheald could you kindly suggest what basic settings to use with it? Additional parameters or optimiser args? Thanks!

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

3 participants