mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-07 01:32:49 -08:00
make StableDiffusionProcessing class not hold a reference to shared.sd_model object
This commit is contained in:
parent
9991967f40
commit
e0e8005009
2 changed files with 5 additions and 5 deletions
|
|
@ -86,7 +86,6 @@ def apply_checkpoint(p, x, xs):
|
|||
if info is None:
|
||||
raise RuntimeError(f"Unknown checkpoint: {x}")
|
||||
modules.sd_models.reload_model_weights(shared.sd_model, info)
|
||||
p.sd_model = shared.sd_model
|
||||
|
||||
|
||||
def confirm_checkpoints(p, xs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue