aboutsummaryrefslogtreecommitdiffstats
path: root/modules/devices.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-10-04 09:18:17 +0000
committerbrkirch <brkirch@users.noreply.github.com>2022-10-04 09:18:17 +0000
commit27ddc24fdee1fbe709054a43235ab7f9c51b3e9f (patch)
tree5dd12cd7a181cbe9d1a790295d039cc1be35ef20 /modules/devices.py
parent2adb2497401d164ce23edecdf01500c4f1fcfe91 (diff)
downloadstable-diffusion-webui-gfx803-27ddc24fdee1fbe709054a43235ab7f9c51b3e9f.tar.gz
stable-diffusion-webui-gfx803-27ddc24fdee1fbe709054a43235ab7f9c51b3e9f.tar.bz2
stable-diffusion-webui-gfx803-27ddc24fdee1fbe709054a43235ab7f9c51b3e9f.zip
Add BSRGAN to --add-cpu
Diffstat (limited to 'modules/devices.py')
-rw-r--r--modules/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices.py b/modules/devices.py
index b5a0cd29..b7899632 100644
--- a/modules/devices.py
+++ b/modules/devices.py
@@ -32,7 +32,7 @@ def enable_tf32():
errors.run(enable_tf32, "Enabling TF32")
-device = device_gfpgan = device_esrgan = device_scunet = device_codeformer = get_optimal_device()
+device = device_gfpgan = device_bsrgan = device_esrgan = device_scunet = device_codeformer = get_optimal_device()
dtype = torch.float16
def randn(seed, shape):