stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

remove some redundant Token merge operations

Open w-e-w opened this issue 2 years ago • 1 comments

Token merge apply already contains remove procedure no need to do it ourselves

for hires pass if opts.token_merging_ratio_hr != opts.token_merging_ratio no need to re-apply

it's okay to leave the model in the patched state after a job is done

w-e-w avatar May 15 '23 15:05 w-e-w

@papuSpartan can you see if is there any issue with this PR?

w-e-w avatar May 15 '23 15:05 w-e-w

9fd6c1e3430f5947add23e2e94ac816c2546481c partially touches this and also among other things I decided that it's proper to always undo optimizations after generation and not wait until the next generation to undo them.

AUTOMATIC1111 avatar May 17 '23 17:05 AUTOMATIC1111