Skip to content

persistent conds cache#11087

Merged
AUTOMATIC1111 merged 1 commit into
devfrom
persistent_conds_cache
Jun 9, 2023
Merged

persistent conds cache#11087
AUTOMATIC1111 merged 1 commit into
devfrom
persistent_conds_cache

Conversation

@w-e-w

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

Copy link
Copy Markdown
Collaborator

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