stable-diffusion-webui
stable-diffusion-webui copied to clipboard
remove some redundant Token merge operations
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
@papuSpartan can you see if is there any issue with this PR?
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.