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

Eager generation #140

Closed
wants to merge 6 commits into from
Closed

Conversation

ribawaja
Copy link
Contributor

@ribawaja ribawaja commented Jan 2, 2023

Added "eager generation" feature, which will automatically generate a configured number of dreams without having to periodically press +/"generate more" or middle mouse button.
The number of eagerly generated images is controlled by the "Generate-ahead count" slider in the Dream and Img2Img context menu.
As the user advances forward in the list of images, new images are generated and added to the end of the list automatically.

The intent of the feature is to reduce inpainting time when searching for an ideal selection for a difficult-to-replace area. The GPU is kept busy generating new images for the end of the list while the user is inspecting items at the beginning of the list.

@zero01101
Copy link
Owner

this is really neat

@zero01101
Copy link
Owner

i'm almost positive i screwed up actually merging this how github expected or intended lol; i apologize for closing the request instead of merging but the code should be there now

in any case, thank you muchly, this is a really cool feature <3

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.

2 participants