mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +00:00
Verify architecture for loaded Spandrel models
This commit is contained in:
@@ -75,6 +75,7 @@ class UpscalerSwinIR(Upscaler):
|
||||
filename,
|
||||
device=self._get_device(),
|
||||
dtype=devices.dtype,
|
||||
expected_architecture="SwinIR",
|
||||
)
|
||||
if getattr(opts, 'SWIN_torch_compile', False):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user