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

Self-Guidance #66

Merged
merged 11 commits into from
Dec 16, 2024
Merged

Self-Guidance #66

merged 11 commits into from
Dec 16, 2024

Conversation

v0xie
Copy link
Owner

@v0xie v0xie commented Dec 14, 2024

An attempt at implementing https://arxiv.org/abs/2412.05827
The implementation currently is coupled with PAG, as they both require an additional inference per step.

Parameters:

  • Use Next Sigma: Enables Self-Guidance
  • Shift Scale: Needs to be negative, -30 is recommended in the paper
  • Dynamic Shift Scale: Calculate the closest sigma to the timestep described by "timestep + timestep / shift scale"
  • Disable Perturbation: Removes the middle block perturbing from PAG (use Self-Guidance only)

@v0xie
Copy link
Owner Author

v0xie commented Dec 14, 2024

SD 1.5
xyz_grid-0048-4120517995
xyz_grid-0055-3309945260

@v0xie
Copy link
Owner Author

v0xie commented Dec 14, 2024

SD XL
xyz_grid-1281-1559193084
xyz_grid-1303-3380053101

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.

1 participant