fix samplers

This commit is contained in:
Vladimir Mandic
2023-05-30 15:28:41 -04:00
parent 873371f1e5
commit fa51d45bc3
3 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -2,12 +2,14 @@
## Update for 05/30/2023
Another bigger one...And more to come in the next few days...
- new live preview mode: taesd
i really like this one, so its enabled as default for new installs
- settings search feature
- new sampler: sde++ 2m sde
- fully common save/zip/delete (new) options in all tabs
which (again) meant as rework of process image tab
which (again) meant rework of process image tab
- system info tab: live gpu utilization/memory graphs for nvidia gpus
- updated controlnet interface
- minor style changes
+1
View File
@@ -46,4 +46,5 @@ Tech that can be integrated as part of the core workflow...
## Random
- Bunch of stuff: <https://pharmapsychotic.com/tools.html>
- <https://towardsdatascience.com/mastering-memoization-in-python-dcdd8b435189>
- <https://github.com/AUTOMATIC1111/stable-diffusion-webui/compare/89f9faa...20ae71f>
+3 -3
View File
@@ -212,9 +212,9 @@ class TorchHijack:
if noise.shape == x.shape:
return noise
if opts.randn_source == "CPU" or x.device.type == 'mps':
return torch.randn_like(x, device=devices.cpu).to(x.device)
else:
# if opts.randn_source == "CPU" or x.device.type == 'mps':
# return torch.randn_like(x, device=devices.cpu).to(x.device)
# else:
return torch.randn_like(x)