mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
Verify architecture for loaded Spandrel models
This commit is contained in:
@@ -49,6 +49,7 @@ class UpscalerESRGAN(Upscaler):
|
||||
return modelloader.load_spandrel_model(
|
||||
filename,
|
||||
device=('cpu' if devices.device_esrgan.type == 'mps' else None),
|
||||
expected_architecture='ESRGAN',
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user