mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-13 00:49:48 +00:00
fix repeated model loading bug on 4090
This commit is contained in:
@@ -44,8 +44,8 @@ class ForgeSD:
|
||||
|
||||
def shallow_copy(self):
|
||||
return ForgeSD(
|
||||
self.unet.clone() if self.unet is not None else None,
|
||||
self.clip.clone() if self.clip is not None else None,
|
||||
self.unet,
|
||||
self.clip,
|
||||
self.vae,
|
||||
self.clipvision
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user