mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +00:00
make StableDiffusionProcessing class not hold a reference to shared.sd_model object
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user