aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
2023-12-02Merge pull request #14171 from Nuullll/ipexAUTOMATIC1111-2/+88
Initial IPEX support for Intel Arc GPU
2023-12-02potential fix for #14172AUTOMATIC1111-8/+4
2023-12-02remove Train/Preprocessing tab and put all its functionality into extras ↵AUTOMATIC1111-399/+166
batch images mode
2023-12-02Remove webui-ipex-user.batNuullll-0/+22
2023-12-02extras tab batch: actually use original filenameAUTOMATIC1111-4/+6
preprocessing upscale: do not do an extra upscale step if it's not needed
2023-12-02Fix fp64Nuullll-3/+3
2023-12-02Merge pull request #13957 from h43lb1t0/extra_network_subdirsAUTOMATIC1111-2/+8
dir buttons start with / so only the correct dir will be shown and no…
2023-12-02Merge pull request #14063 from wfjsw/use-ext-name-for-installedAUTOMATIC1111-6/+9
use extension name for determining an extension is installed in the index
2023-12-02put code that can cause an exception into its own function for #14120AUTOMATIC1111-29/+33
2023-12-02Merge pull request #14120 from ↵AUTOMATIC1111-25/+29
AUTOMATIC1111/protect-against-bad-ui-creation-scripts catch uncaught exception with ui creation scripts
2023-12-02Merge pull request #14125 from cjj1977/devAUTOMATIC1111-32/+171
Allow use of mutiple styles csv files
2023-12-02Merge pull request #14131 from read-0nly/patch-1AUTOMATIC1111-1/+1
Update devices.py - Make 'use-cpu all' actually apply to 'all'
2023-12-02Merge pull request #14121 from ↵AUTOMATIC1111-119/+124
AUTOMATIC1111/fix-Auto-focal-point-crop-for-opencv-4.8.x Fix auto focal point crop for opencv >= 4.8
2023-12-02Merge pull request #14119 from ↵AUTOMATIC1111-0/+10
AUTOMATIC1111/add-Block-component-creation-callback add Block component creation callback
2023-12-02Merge pull request #14046 from hidenorly/AddFP32FallbackSupportOnSdVaeApproxAUTOMATIC1111-0/+15
Add FP32 fallback support on sd_vae_approx
2023-12-02Merge pull request #14170 from MrCheeze/sd-turboAUTOMATIC1111-7/+19
Add support for SD 2.1 Turbo
2023-12-02split UI settings page into manyAUTOMATIC1111-25/+32
2023-12-02Disable ipex autocast due to its bad perfNuullll-17/+32
2023-12-02infotext updates: add option to disregard certain infotext fields, add ↵AUTOMATIC1111-12/+41
option to not include VAE in infotext, add explanation to infotext settings page, move some options to infotext settings page
2023-12-01Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM ↵MrCheeze-4/+13
on load
2023-12-01Fix bug where is_using_v_parameterization_for_sd2 fails because the ↵MrCheeze-3/+6
sd_hijack is only partially undone
2023-11-30Initial IPEX supportNuullll-2/+51
2023-11-29Fix the Ruff error about unused importhidenorly-1/+0
2023-11-29Add FP32 fallback support on torch.nn.functional.interpolatehidenorly-0/+16
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```
2023-11-29Revert "Add FP32 fallback support on sd_vae_approx"hidenorly-7/+1
This reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce. Since the modification is expected to move to mac_specific.py (https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)
2023-11-28reformat file with uniform indentationw-e-w-104/+106
2023-11-28fix Auto focal point crop for opencv >= 4.8.xw-e-w-15/+18
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
2023-11-27Update devices.pyobsol-1/+1
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
2023-11-27Allow use of mutiple styles csv filesCharlie Joynt-32/+171
* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122 Fix edge case where style text has multiple {prompt} placeholders * https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005
2023-11-27catch uncaught exception with ui creation scriptsw-e-w-25/+29
prevent total webui crash
2023-11-27add Block component creation callbackw-e-w-0/+10
2023-11-26also consider extension urlJabasukuriputo Wang-1/+2
2023-11-26add categories to settingsAUTOMATIC1111-28/+96
2023-11-26json.dump(ensure_ascii=False)w-e-w-5/+5
improve json readability
2023-11-26compact prompt layout: preserve scroll when switching between lora tabsAUTOMATIC1111-1/+4
2023-11-26Merge pull request #14059 from akx/upruffAUTOMATIC1111-1/+1
Update Ruff to 0.1.6
2023-11-26do not save HTML explanations from options page to configAUTOMATIC1111-2/+2
2023-11-26Merge pull request #14084 from wfjsw/move-from-sysinfo-to-errorsAUTOMATIC1111-19/+17
Move exception_records related methods to errors.py
2023-11-26Merge branch 'hypertile-in-sample' into devAUTOMATIC1111-403/+13
2023-11-26Merge pull request #13948 from aria1th/hypertile-in-sampleAUTOMATIC1111-19/+404
support HyperTile optimization
2023-11-26rework hypertile into a built-in extensionAUTOMATIC1111-32/+13
2023-11-26move fileAUTOMATIC1111-371/+0
2023-11-24remove traceback in sysinfoJabasukuriputo Wang-1/+0
2023-11-24Move exception_records related methods to errors.pyJabasukuriputo Wang-18/+17
2023-11-22use extension name for determining an extension is installed in the indexwfjsw-6/+8
2023-11-22Simplify restart_sampler (suggested by ruff)Aarni Koskela-1/+1
2023-11-21fix [Bug]: (Dev Branch) Placing "Dimensions" first in "ui_reorder_list" ↵AUTOMATIC1111-6/+6
prevents start #14047
2023-11-21Add FP32 fallback support on sd_vae_approxhidenorly-1/+7
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.
2023-11-20added option for default behavior of dir buttonsTom Haelbich-2/+8
2023-11-20Merge pull request #14009 from ↵AUTOMATIC1111-4/+21
AUTOMATIC1111/Option-to-show-batch-img2img-results-in-UI Option to show batch img2img results in UI