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

persistent conds cache #11087

Merged
merged 1 commit into from
Jun 9, 2023
Merged

persistent conds cache #11087

merged 1 commit into from
Jun 9, 2023

Conversation

w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented Jun 8, 2023

Description

make conds cache persistent across jobs
seems to work fine during testing
tested on 3090 and a 1650 with --lowvram

on a low end card it has a potential of saving one to two 1~2 seconds per job

I implemented it as opt-in experimental option for now, because that I'm unsure if there are any extension that misses around with conds

other changes
it seems to me that StableDiffusionProcessingTxt2Img.close() is missing the super().close()
be honest I'm not entirely sure what the close is for, I don't see the need of clearing those objects, maybe I'm missing something

Checklist:

Update shared.py
@w-e-w w-e-w requested a review from AUTOMATIC1111 as a code owner June 8, 2023 05:41
@AUTOMATIC1111 AUTOMATIC1111 merged commit d00139e into dev Jun 9, 2023
@akx akx deleted the persistent_conds_cache branch June 13, 2023 09:22
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