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

Seeing no changes despite selecting different CFG schedulers #30

Closed
ilazarte opened this issue May 1, 2024 · 2 comments
Closed

Seeing no changes despite selecting different CFG schedulers #30

ilazarte opened this issue May 1, 2024 · 2 comments

Comments

@ilazarte
Copy link

ilazarte commented May 1, 2024

Hello!

First off, thanks for the awesome plugin. Been having a lot of fun retrying my earliest awful prompts with PAG and seeing if they improve. I just updated the plugin for the CFG schedulers feature and then added the following A1111 PRs manually (but have them disabled):
AUTOMATIC1111/stable-diffusion-webui#15608 (skip cfg)
AUTOMATIC1111/stable-diffusion-webui#15607 (kl sampler)

When I tried testing though with the below xyz prompt, it looks like the cfg schedules have no impact at all as the x plot below shows. Shouldn't there be a larger variety? It seems like they are pixel exact?

an apple resting on a letter written in ink cursive, next to a quil pen
Steps: 30, Sampler: Euler a, Schedule type: Automatic, CFG scale: 7, Seed: 3056496578, Size: 512x512, Model hash: cc6cb27103, Model: v1-5-pruned-emaonly, VAE hash: 63aeecb90f, VAE: vae-ft-mse-840000-ema-pruned.vae.pt, PAG Active: True, PAG Scale: 0, PAG Start Step: 0, PAG End Step: 150, CFG Interval Enable: True, CFG Interval Schedule: Constant, CFG Interval Low: 0, CFG Interval High: 100, Downcast alphas_cumprod: True, Script: X/Y/Z plot, X Type: [PAG] CFG Schedule, X Values: "Constant,Clamp-Linear (c=4.0),Linear,Cosine,Clamp-Cosine (c=4.0)", Version: v1.9.0

Any guidance on this would help (no pun intended). Could the A1111 above PRs be having an impact? They worked fine before updating this plugin

cfg-scheduler-test

@v0xie
Copy link
Owner

v0xie commented May 1, 2024

Hello!

Thanks for the report. I just updated the extension and docs to fix some bugs with the CFG Scheduler and to hopefully better reflect how to use the thing.

I've been developing on the latest dev branch with those two PRs merged for the past week and the Skip Cond option appears to somehow work without issue for with PAG and the scheduler.

Let me know if this addresses the issue.

Also apparently sd-dynamic-thresholding has had CFG scheduling since forever. Might be worth looking into.

xyz_grid-3388-1-A cute puppy

@ilazarte
Copy link
Author

ilazarte commented May 1, 2024

@v0xie that looks to have fixed it, seeing variation. Thanks again!

@ilazarte ilazarte closed this as completed May 1, 2024
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