- 02 Dec, 2023 10 commits
-
-
AUTOMATIC1111 authored
Update devices.py - Make 'use-cpu all' actually apply to 'all'
-
AUTOMATIC1111 authored
Fix auto focal point crop for opencv >= 4.8
-
AUTOMATIC1111 authored
add Block component creation callback
-
AUTOMATIC1111 authored
Add FP32 fallback support on sd_vae_approx
-
AUTOMATIC1111 authored
fix not able to exit metadata popup when pop up is too big
-
AUTOMATIC1111 authored
Add support for SD 2.1 Turbo
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
infotext updates: add option to disregard certain infotext fields, add option to not include VAE in infotext, add explanation to infotext settings page, move some options to infotext settings page
-
MrCheeze authored
-
MrCheeze authored
Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone
-
- 01 Dec, 2023 2 commits
-
-
missionfloyd authored
-
w-e-w authored
prevent the pop-up from being too big as to making exiting the pop-up impossible
-
- 29 Nov, 2023 3 commits
-
-
hidenorly authored
-
hidenorly authored
This tries to execute interpolate with FP32 if it failed. Background is that on some environment such as Mx chip MacOS devices, we get error as follows: ``` "torch/nn/functional.py", line 3931, in interpolate return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: "upsample_nearest2d_channels_last" not implemented for 'Half' ``` In this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it. Note that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```. And the fallback for torch.nn.functional.interpolate is necessary at ```modules/sd_vae_approx.py``` 's ```VAEApprox.forward``` ```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```
-
hidenorly authored
This reverts commit 58c19545. Since the modification is expected to move to mac_specific.py (https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)
-
- 28 Nov, 2023 3 commits
-
-
w-e-w authored
-
w-e-w authored
autocrop.download_and_cache_models in opencv >= 4.8 the face detection model was updated download the base on opencv version returns the model path or raise exception
-
obsol authored
fixes issue where "--use-cpu" all properly makes SD run on CPU but leaves ControlNet (and other extensions, I presume) pointed at GPU, causing a crash in ControlNet caused by a mismatch between devices between SD and CN https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097
-
- 27 Nov, 2023 1 commit
-
-
w-e-w authored
-
- 26 Nov, 2023 13 commits
-
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
json.dump(ensure_ascii=False)
-
w-e-w authored
improve json readability
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
Compatibility
-
AUTOMATIC1111 authored
Update Ruff to 0.1.6
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
Move exception_records related methods to errors.py
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
support HyperTile optimization
-
AUTOMATIC1111 authored
-
AUTOMATIC1111 authored
-
- 25 Nov, 2023 2 commits
-
-
Jabasukuriputo Wang authored
-
Jabasukuriputo Wang authored
-
- 23 Nov, 2023 2 commits
-
-
Aarni Koskela authored
-
Aarni Koskela authored
-
- 21 Nov, 2023 2 commits
-
-
AUTOMATIC1111 authored
-
hidenorly authored
This tries to execute interpolate with FP32 if it failed. Background is that on some environment such as Mx chip MacOS devices, we get error as follows: ``` "torch/nn/functional.py", line 3931, in interpolate return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: "upsample_nearest2d_channels_last" not implemented for 'Half' ``` In this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it. Note that the submodule may require additional modifications. The following is the example modification on the other submodule. ```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py class Upsample(nn.Module): ..snip.. def forward(self, x): assert x.shape[1] == self.channels if self.dims == 3: x = F.interpolate( x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode="nearest" ) else: try: x = F.interpolate(x, scale_factor=2, mode="nearest") except: x = F.interpolate(x.to(th.float32), scale_factor=2, mode="nearest").to(x.dtype) if self.use_conv: x = self.conv(x) return x ..snip.. ``` You can see the FP32 fallback execution as same as sd_vae_approx.py.
-
- 20 Nov, 2023 2 commits
-
-
AUTOMATIC1111 authored
Option to show batch img2img results in UI
-
AUTOMATIC1111 authored
-