{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":615827655,"defaultBranch":"master","name":"stable-diffusion-webui-ux","ownerLogin":"martianunlimited","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-03-18T19:45:25.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/9023686?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1706172191.0","currentOid":""},"activityList":{"items":[{"before":"04adec6f0d45fe817e04cd895bd371dc0c5ced4f","after":"14d720cbb0575308d6497c91f77359219d86260b","ref":"refs/heads/master","pushedAt":"2024-01-25T08:43:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Z (#14)\n\n* fix IndexError: list index out of range error interrupted while postprocess\r\n\r\n* added option to play notification sound or not\r\n\r\n* Convert (emphasis) to (emphasis:1.1)\r\n\r\nper @SirVeggie's suggestion\r\n\r\n* Make attention conversion optional\r\n\r\nFix square brackets multiplier\r\n\r\n* put notification.mp3 option at the end of the page\r\n\r\n* more general case of adding an infotext when no images have been generated\r\n\r\n* use shallow copy for #13535\r\n\r\n* remove duplicated code\r\n\r\n* support webui.settings.bat\r\n\r\n* Start / Restart generation by Ctrl (Alt) + Enter\r\n\r\nAdd ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter\r\n\r\n* add an option to not print stack traces on ctrl+c.\r\n\r\n* repair unload sd checkpoint button\r\n\r\n* respect keyedit_precision_attention setting when converting from old (((attention))) syntax\r\n\r\n* Update script.js\r\n\r\nExclude lambda\r\n\r\n* Update script.js\r\n\r\nLF instead CRLF\r\n\r\n* Update script.js\r\n\r\n* Add files via upload\r\n\r\nLF\r\n\r\n* wip incorrect OFT implementation\r\n\r\n* inference working but SLOW\r\n\r\n* faster by using cached R in forward\r\n\r\n* faster by calculating R in updown and using cached R in forward\r\n\r\n* refactor: fix constraint, re-use get_weight\r\n\r\n* style: formatting\r\n\r\n* style: fix ambiguous variable name\r\n\r\n* rework some of changes for emphasis editing keys, force conversion of old-style emphasis\r\n\r\n* fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1)\r\n\r\n* fix bug when using --gfpgan-models-path\r\n\r\n* fix Blank line contains whitespace\r\n\r\n* refactor: use forward hook instead of custom forward\r\n\r\n* fix: return orig weights during updown, merge weights before forward\r\n\r\n* fix: support multiplier, no forward pass hook\r\n\r\n* style: cleanup oft\r\n\r\n* fix: use merge_weight to cache value\r\n\r\n* refactor: remove used OFT functions\r\n\r\n* fix: multiplier applied twice in finalize_updown\r\n\r\n* style: conform style\r\n\r\n* Update prompts_from_file script to allow concatenating entries with the general prompt.\r\n\r\n* linting issue\r\n\r\n* call state.jobnext() before postproces*()\r\n\r\n* Fix #13796\r\n\r\nFix comment error that makes understanding scheduling more confusing.\r\n\r\n* test implementation based on kohaku diag-oft implementation\r\n\r\n* detect diag_oft type\r\n\r\n* no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch\r\n\r\n* added accordion settings options\r\n\r\n* Fix parenthesis auto selection\r\n\r\nFixes #13813\r\n\r\n* Update requirements_versions.txt\r\n\r\n* skip multihead attn for now\r\n\r\n* refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb\r\n\r\n* refactor: use same updown for both kohya OFT and LyCORIS diag-oft\r\n\r\n* refactor: remove unused function\r\n\r\n* correct a typo\r\n\r\nmodify \"defaul\" to \"default\"\r\n\r\n* add a visible checkbox to input accordion\r\n\r\n* eslint\r\n\r\n* properly apply sort order for extra network cards when selected from dropdown\r\nallow selection of default sort order in settings\r\nremove 'Default' sort order, replace with 'Name'\r\n\r\n* Add SSD-1B as a supported model\r\n\r\n* Added memory clearance after deletion\r\n\r\n* Use devices.torch_gc() instead of empty_cache()\r\n\r\n* added compact prompt option\r\n\r\n* compact prompt option disabled by default\r\n\r\n* linter\r\n\r\n* more changes for #13865: fix formatting, rename the function, add comment and add a readme entry\r\n\r\n* fix img2img_tabs error\r\n\r\n* fix exception related to the pix2pix\r\n\r\n* Add option to set notification sound volume\r\n\r\n* fix pix2pix producing bad results\r\n\r\n* moved nested with to single line to remove extra tabs\r\n\r\n* removed changes that weren't merged properly\r\n\r\n* multiline with statement for readibility\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* - opensuse compatibility\r\n\r\n* Enable prompt hotkeys in style editor\r\n\r\n* Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+\r\n\r\n* fix added accordion settings options\r\n\r\n* ExitStack as alternative to suppress\r\n\r\n* implementing script metadata and DAG sorting mechanism\r\n\r\n* populate loaded_extensions from extension list instead\r\n\r\n* reverse the extension load order so builtin extensions load earlier natively\r\n\r\n* add hyperTile\r\n\r\nhttps://github.com/tfernd/HyperTile\r\n\r\n* remove the assumption of same name\r\n\r\n* allow comma and whitespace as separator\r\n\r\n* fix\r\n\r\n* bug fix\r\n\r\n* dir buttons start with / so only the correct dir will be shown and not dirs with a substrings as name from the dir\r\n\r\n* Lint\r\n\r\n* Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed\r\n\r\n* Adds 'Path' sorting for Extra network cards\r\n\r\n* hotfix: call shared.state.end() after postprocessing done\r\n\r\n* Implement Hypertile\r\n\r\nCo-Authored-By: Kieran Hunt \r\n\r\n* copy LDM VAE key from XL\r\n\r\n* fix: ignore calc_scale() for COFT which has very small alpha\r\n\r\n* feat: LyCORIS/kohya OFT network support\r\n\r\n* convert/add hypertile options\r\n\r\n* fix ruff - add newline\r\n\r\n* Adds tqdm handler to logging_config.py for progress bar integration\r\n\r\n* Take into account tqdm not being installed before first boot for logging\r\n\r\n* actually adds handler to logging_config.py\r\n\r\n* Fix critical issue - unet apply\r\n\r\n* Fix inverted option issue\r\n\r\nI'm pretty sure I was sleepy while implementing this\r\n\r\n* set empty value for SD XL 3rd layer\r\n\r\n* fix double gc and decoding with unet context\r\n\r\n* feat: fix randn found element of type float at pos 2\r\n\r\nSigned-off-by: storyicon \r\n\r\n* use metadata.ini for meta filename\r\n\r\n* Option to show batch img2img results in UI\r\n\r\nshared.opts.img2img_batch_show_results_limit\r\nlimit the number of images return to the UI for batch img2img\r\ndefault limit 32\r\n0 no images are shown\r\n-1 unlimited, all images are shown\r\n\r\n* save sysinfo as .json\r\n\r\nGitHub now allows uploading of .json files in issues\r\n\r\n* rework extensions metadata: use custom sorter that doesn't mess the order as much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code\r\n\r\n* added option for default behavior of dir buttons\r\n\r\n* Add FP32 fallback support on sd_vae_approx\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the submodule may require additional modifications. The following is the example modification on the other submodule.\r\n\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\r\n\r\nclass Upsample(nn.Module):\r\n..snip..\r\n def forward(self, x):\r\n assert x.shape[1] == self.channels\r\n if self.dims == 3:\r\n x = F.interpolate(\r\n x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode=\"nearest\"\r\n )\r\n else:\r\n try:\r\n x = F.interpolate(x, scale_factor=2, mode=\"nearest\")\r\n except:\r\n x = F.interpolate(x.to(th.float32), scale_factor=2, mode=\"nearest\").to(x.dtype)\r\n if self.use_conv:\r\n x = self.conv(x)\r\n return x\r\n..snip..\r\n```\r\n\r\nYou can see the FP32 fallback execution as same as sd_vae_approx.py.\r\n\r\n* fix [Bug]: (Dev Branch) Placing \"Dimensions\" first in \"ui_reorder_list\" prevents start #14047\r\n\r\n* Update ruff to 0.1.6\r\n\r\n* Simplify restart_sampler (suggested by ruff)\r\n\r\n* use extension name for determining an extension is installed in the index\r\n\r\n* Move exception_records related methods to errors.py\r\n\r\n* remove traceback in sysinfo\r\n\r\n* move file\r\n\r\n* rework hypertile into a built-in extension\r\n\r\n* do not save HTML explanations from options page to config\r\n\r\n* fix linter errors\r\n\r\n* compact prompt layout: preserve scroll when switching between lora tabs\r\n\r\n* json.dump(ensure_ascii=False)\r\n\r\nimprove json readability\r\n\r\n* add categories to settings\r\n\r\n* also consider extension url\r\n\r\n* add Block component creation callback\r\n\r\n* catch uncaught exception with ui creation scripts\r\n\r\nprevent total webui crash\r\n\r\n* Allow use of mutiple styles csv files\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message\r\n\r\n* bugfix error message\r\n\r\n* Allow use of mutiple styles csv files\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122\r\nFix edge case where style text has multiple {prompt} placeholders\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005\r\n\r\n* Support XYZ scripts / split hires path from unet\r\n\r\n* cache divisors / fix ruff\r\n\r\n* fix ruff in hypertile_xyz.py\r\n\r\n* fix ruff - set comprehension\r\n\r\n* hypertile_xyz: we don't need isnumeric check for AxisOption\r\n\r\n* Update devices.py\r\n\r\nfixes 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\r\n\r\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097\r\n\r\n* fix Auto focal point crop for opencv >= 4.8.x\r\n\r\nautocrop.download_and_cache_models\r\nin opencv >= 4.8 the face detection model was updated\r\ndownload the base on opencv version\r\nreturns the model path or raise exception\r\n\r\n* reformat file with uniform indentation\r\n\r\n* Revert \"Add FP32 fallback support on sd_vae_approx\"\r\n\r\nThis reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce.\r\nSince the modification is expected to move to mac_specific.py\r\n(https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)\r\n\r\n* Add FP32 fallback support on torch.nn.functional.interpolate\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```.\r\nAnd the fallback for torch.nn.functional.interpolate is necessary at\r\n```modules/sd_vae_approx.py``` 's ```VAEApprox.forward```\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```\r\n\r\n* Fix the Ruff error about unused import\r\n\r\n* Initial IPEX support\r\n\r\n* add max-heigh/width to global-popup-inner\r\n\r\nprevent the pop-up from being too big as to making exiting the pop-up impossible\r\n\r\n* Close popups with escape key\r\n\r\n* Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone\r\n\r\n* Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM on load\r\n\r\n* 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\r\n\r\n* Disable ipex autocast due to its bad perf\r\n\r\n* split UI settings page into many\r\n\r\n* put code that can cause an exception into its own function for #14120\r\n\r\n* Fix fp64\r\n\r\n* extras tab batch: actually use original filename\r\npreprocessing upscale: do not do an extra upscale step if it's not needed\r\n\r\n* Remove webui-ipex-user.bat\r\n\r\n* remove Train/Preprocessing tab and put all its functionality into extras batch images mode\r\n\r\n* potential fix for #14172\r\n\r\n* alternate implementation for unet forward replacement that does not depend on hijack being applied\r\n\r\n* Fix `save_samples` being checked early when saving masked composite\r\n\r\n* Re-add setting lost as part of e294e46\r\n\r\n* rework mask and mask_composite logic\r\n\r\n* Add import_hook hack to work around basicsr incompatibility\r\n\r\nFixes #13985\r\n\r\n* Update launch_utils.py to fix wrong dep. checks and reinstalls\r\n\r\nFixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime.\r\n\r\nIn fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example:\r\n\r\n> launch_utils.run_pip(\"install ffmpeg-python\", \"required package\")\r\n[ Installing required package: \"ffmpeg-python\" ... ]\r\n[ Installed ]\r\n\r\n> launch_utils.is_installed(\"ffmpeg-python\")\r\nFalse\r\n\r\n... which would actually return true with:\r\n\r\n> launch_utils.is_installed(\"ffmpeg\")\r\nTrue\r\n\r\n* Lint\r\n\r\n* make webui not crash when running with --disable-all-extensions option\r\n\r\n* update changelog\r\n\r\n* repair old handler for postprocessing API\r\n\r\n* repair old handler for postprocessing API in a way that doesn't break interface\r\n\r\n* add hypertile infotext\r\n\r\n* Merge pull request #14203 from AUTOMATIC1111/remove-clean_text()\r\n\r\nremove clean_text()\r\n\r\n* fix Inpaint Image Appears Behind Some UI Elements #206\r\n\r\n* fix side panel show/hide button hot zone does not use the entire width #204\r\n\r\n* Merge pull request #14300 from AUTOMATIC1111/oft_fixes\r\n\r\nFix wrong implementation in network_oft\r\n\r\n* Merge pull request #14296 from akx/paste-resolution\r\n\r\nAllow pasting in WIDTHxHEIGHT strings into the width/height fields\r\n\r\n* Merge pull request #14270 from kaalibro/extra-options-elem-id\r\n\r\nAssign id for \"extra_options\". Replace numeric field with slider.\r\n\r\n* Merge pull request #14276 from AUTOMATIC1111/fix-styles\r\n\r\nFix styles\r\n\r\n* Merge pull request #14266 from kaalibro/dev\r\n\r\nRe-add setting lost as part of e294e46\r\n\r\n* Merge pull request #14229 from Nuullll/ipex-embedding\r\n\r\n[IPEX] Fix embedding and ControlNet\r\n\r\n* Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer\r\n\r\nadd option: Live preview in full page image viewer\r\n\r\n* Merge pull request #14216 from wfjsw/state-dict-ref-comparison\r\n\r\nchange state dict comparison to ref compare\r\n\r\n* Merge pull request #14237 from ReneKroon/dev\r\n\r\n#13354 : solve lora loading issue\r\n\r\n* Merge pull request #14307 from AUTOMATIC1111/default-Falst-js_live_preview_in_modal_lightbox\r\n\r\ndefault False js_live_preview_in_modal_lightbox\r\n\r\n* update to 1.7 from upstream\r\n\r\n* Update README.md\r\n\r\n* Update screenshot.png\r\n\r\n* Update CITATION.cff\r\n\r\n* update to latest version\r\n\r\n* update to latest version\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: Ritesh Gangnani \r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>\r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>","shortMessageHtmlLink":"Z (#14)"}},{"before":"7ee2157074b2dd1387344189e0b9d699cb7690b3","after":null,"ref":"refs/heads/anapnoe_current","pushedAt":"2024-01-25T08:43:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"}},{"before":"0e0fbf867701ef6080c31997a3a6c839b3809680","after":"04adec6f0d45fe817e04cd895bd371dc0c5ced4f","ref":"refs/heads/master","pushedAt":"2024-01-25T08:43:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Anapnoe current (#13)\n\n* pull (#11)\r\n\r\n* added option to play notification sound or not\r\n\r\n* Convert (emphasis) to (emphasis:1.1)\r\n\r\nper @SirVeggie's suggestion\r\n\r\n* Make attention conversion optional\r\n\r\nFix square brackets multiplier\r\n\r\n* put notification.mp3 option at the end of the page\r\n\r\n* more general case of adding an infotext when no images have been generated\r\n\r\n* use shallow copy for #13535\r\n\r\n* remove duplicated code\r\n\r\n* support webui.settings.bat\r\n\r\n* Start / Restart generation by Ctrl (Alt) + Enter\r\n\r\nAdd ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter\r\n\r\n* add an option to not print stack traces on ctrl+c.\r\n\r\n* repair unload sd checkpoint button\r\n\r\n* respect keyedit_precision_attention setting when converting from old (((attention))) syntax\r\n\r\n* Update script.js\r\n\r\nExclude lambda\r\n\r\n* Update script.js\r\n\r\nLF instead CRLF\r\n\r\n* Update script.js\r\n\r\n* Add files via upload\r\n\r\nLF\r\n\r\n* wip incorrect OFT implementation\r\n\r\n* inference working but SLOW\r\n\r\n* faster by using cached R in forward\r\n\r\n* faster by calculating R in updown and using cached R in forward\r\n\r\n* refactor: fix constraint, re-use get_weight\r\n\r\n* style: formatting\r\n\r\n* style: fix ambiguous variable name\r\n\r\n* rework some of changes for emphasis editing keys, force conversion of old-style emphasis\r\n\r\n* fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1)\r\n\r\n* fix bug when using --gfpgan-models-path\r\n\r\n* fix Blank line contains whitespace\r\n\r\n* refactor: use forward hook instead of custom forward\r\n\r\n* fix: return orig weights during updown, merge weights before forward\r\n\r\n* fix: support multiplier, no forward pass hook\r\n\r\n* style: cleanup oft\r\n\r\n* fix: use merge_weight to cache value\r\n\r\n* refactor: remove used OFT functions\r\n\r\n* fix: multiplier applied twice in finalize_updown\r\n\r\n* style: conform style\r\n\r\n* Update prompts_from_file script to allow concatenating entries with the general prompt.\r\n\r\n* linting issue\r\n\r\n* call state.jobnext() before postproces*()\r\n\r\n* Fix #13796\r\n\r\nFix comment error that makes understanding scheduling more confusing.\r\n\r\n* test implementation based on kohaku diag-oft implementation\r\n\r\n* detect diag_oft type\r\n\r\n* no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch\r\n\r\n* added accordion settings options\r\n\r\n* Fix parenthesis auto selection\r\n\r\nFixes #13813\r\n\r\n* Update requirements_versions.txt\r\n\r\n* skip multihead attn for now\r\n\r\n* refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb\r\n\r\n* refactor: use same updown for both kohya OFT and LyCORIS diag-oft\r\n\r\n* refactor: remove unused function\r\n\r\n* correct a typo\r\n\r\nmodify \"defaul\" to \"default\"\r\n\r\n* add a visible checkbox to input accordion\r\n\r\n* eslint\r\n\r\n* properly apply sort order for extra network cards when selected from dropdown\r\nallow selection of default sort order in settings\r\nremove 'Default' sort order, replace with 'Name'\r\n\r\n* Add SSD-1B as a supported model\r\n\r\n* Added memory clearance after deletion\r\n\r\n* Use devices.torch_gc() instead of empty_cache()\r\n\r\n* added compact prompt option\r\n\r\n* compact prompt option disabled by default\r\n\r\n* linter\r\n\r\n* more changes for #13865: fix formatting, rename the function, add comment and add a readme entry\r\n\r\n* fix img2img_tabs error\r\n\r\n* fix exception related to the pix2pix\r\n\r\n* Add option to set notification sound volume\r\n\r\n* fix pix2pix producing bad results\r\n\r\n* moved nested with to single line to remove extra tabs\r\n\r\n* removed changes that weren't merged properly\r\n\r\n* multiline with statement for readibility\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* - opensuse compatibility\r\n\r\n* Enable prompt hotkeys in style editor\r\n\r\n* Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+\r\n\r\n* fix added accordion settings options\r\n\r\n* ExitStack as alternative to suppress\r\n\r\n* implementing script metadata and DAG sorting mechanism\r\n\r\n* populate loaded_extensions from extension list instead\r\n\r\n* reverse the extension load order so builtin extensions load earlier natively\r\n\r\n* add hyperTile\r\n\r\nhttps://github.com/tfernd/HyperTile\r\n\r\n* remove the assumption of same name\r\n\r\n* allow comma and whitespace as separator\r\n\r\n* fix\r\n\r\n* bug fix\r\n\r\n* dir buttons start with / so only the correct dir will be shown and not dirs with a substrings as name from the dir\r\n\r\n* Lint\r\n\r\n* Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed\r\n\r\n* Adds 'Path' sorting for Extra network cards\r\n\r\n* fix gradio video component and canvas fit for inpaint\r\n\r\n* hotfix: call shared.state.end() after postprocessing done\r\n\r\n* Implement Hypertile\r\n\r\nCo-Authored-By: Kieran Hunt \r\n\r\n* copy LDM VAE key from XL\r\n\r\n* fix: ignore calc_scale() for COFT which has very small alpha\r\n\r\n* feat: LyCORIS/kohya OFT network support\r\n\r\n* convert/add hypertile options\r\n\r\n* fix ruff - add newline\r\n\r\n* Adds tqdm handler to logging_config.py for progress bar integration\r\n\r\n* Take into account tqdm not being installed before first boot for logging\r\n\r\n* actually adds handler to logging_config.py\r\n\r\n* Fix critical issue - unet apply\r\n\r\n* Fix inverted option issue\r\n\r\nI'm pretty sure I was sleepy while implementing this\r\n\r\n* set empty value for SD XL 3rd layer\r\n\r\n* fix double gc and decoding with unet context\r\n\r\n* feat: fix randn found element of type float at pos 2\r\n\r\nSigned-off-by: storyicon \r\n\r\n* use metadata.ini for meta filename\r\n\r\n* Option to show batch img2img results in UI\r\n\r\nshared.opts.img2img_batch_show_results_limit\r\nlimit the number of images return to the UI for batch img2img\r\ndefault limit 32\r\n0 no images are shown\r\n-1 unlimited, all images are shown\r\n\r\n* save sysinfo as .json\r\n\r\nGitHub now allows uploading of .json files in issues\r\n\r\n* rework extensions metadata: use custom sorter that doesn't mess the order as much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code\r\n\r\n* added option for default behavior of dir buttons\r\n\r\n* Add FP32 fallback support on sd_vae_approx\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the submodule may require additional modifications. The following is the example modification on the other submodule.\r\n\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\r\n\r\nclass Upsample(nn.Module):\r\n..snip..\r\n def forward(self, x):\r\n assert x.shape[1] == self.channels\r\n if self.dims == 3:\r\n x = F.interpolate(\r\n x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode=\"nearest\"\r\n )\r\n else:\r\n try:\r\n x = F.interpolate(x, scale_factor=2, mode=\"nearest\")\r\n except:\r\n x = F.interpolate(x.to(th.float32), scale_factor=2, mode=\"nearest\").to(x.dtype)\r\n if self.use_conv:\r\n x = self.conv(x)\r\n return x\r\n..snip..\r\n```\r\n\r\nYou can see the FP32 fallback execution as same as sd_vae_approx.py.\r\n\r\n* fix [Bug]: (Dev Branch) Placing \"Dimensions\" first in \"ui_reorder_list\" prevents start #14047\r\n\r\n* Update ruff to 0.1.6\r\n\r\n* Simplify restart_sampler (suggested by ruff)\r\n\r\n* use extension name for determining an extension is installed in the index\r\n\r\n* Move exception_records related methods to errors.py\r\n\r\n* remove traceback in sysinfo\r\n\r\n* move file\r\n\r\n* rework hypertile into a built-in extension\r\n\r\n* do not save HTML explanations from options page to config\r\n\r\n* fix linter errors\r\n\r\n* compact prompt layout: preserve scroll when switching between lora tabs\r\n\r\n* json.dump(ensure_ascii=False)\r\n\r\nimprove json readability\r\n\r\n* add categories to settings\r\n\r\n* also consider extension url\r\n\r\n* add Block component creation callback\r\n\r\n* catch uncaught exception with ui creation scripts\r\n\r\nprevent total webui crash\r\n\r\n* Allow use of mutiple styles csv files\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message\r\n\r\n* bugfix error message\r\n\r\n* Allow use of mutiple styles csv files\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122\r\nFix edge case where style text has multiple {prompt} placeholders\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005\r\n\r\n* Support XYZ scripts / split hires path from unet\r\n\r\n* cache divisors / fix ruff\r\n\r\n* fix ruff in hypertile_xyz.py\r\n\r\n* fix ruff - set comprehension\r\n\r\n* hypertile_xyz: we don't need isnumeric check for AxisOption\r\n\r\n* Update devices.py\r\n\r\nfixes 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\r\n\r\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097\r\n\r\n* fix Auto focal point crop for opencv >= 4.8.x\r\n\r\nautocrop.download_and_cache_models\r\nin opencv >= 4.8 the face detection model was updated\r\ndownload the base on opencv version\r\nreturns the model path or raise exception\r\n\r\n* reformat file with uniform indentation\r\n\r\n* Revert \"Add FP32 fallback support on sd_vae_approx\"\r\n\r\nThis reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce.\r\nSince the modification is expected to move to mac_specific.py\r\n(https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)\r\n\r\n* Add FP32 fallback support on torch.nn.functional.interpolate\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```.\r\nAnd the fallback for torch.nn.functional.interpolate is necessary at\r\n```modules/sd_vae_approx.py``` 's ```VAEApprox.forward```\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```\r\n\r\n* Fix the Ruff error about unused import\r\n\r\n* Initial IPEX support\r\n\r\n* add max-heigh/width to global-popup-inner\r\n\r\nprevent the pop-up from being too big as to making exiting the pop-up impossible\r\n\r\n* Close popups with escape key\r\n\r\n* Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone\r\n\r\n* Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM on load\r\n\r\n* 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\r\n\r\n* Disable ipex autocast due to its bad perf\r\n\r\n* split UI settings page into many\r\n\r\n* put code that can cause an exception into its own function for #14120\r\n\r\n* Fix fp64\r\n\r\n* extras tab batch: actually use original filename\r\npreprocessing upscale: do not do an extra upscale step if it's not needed\r\n\r\n* Remove webui-ipex-user.bat\r\n\r\n* remove Train/Preprocessing tab and put all its functionality into extras batch images mode\r\n\r\n* potential fix for #14172\r\n\r\n* alternate implementation for unet forward replacement that does not depend on hijack being applied\r\n\r\n* Fix `save_samples` being checked early when saving masked composite\r\n\r\n* Re-add setting lost as part of e294e46\r\n\r\n* rework mask and mask_composite logic\r\n\r\n* Add import_hook hack to work around basicsr incompatibility\r\n\r\nFixes #13985\r\n\r\n* Update launch_utils.py to fix wrong dep. checks and reinstalls\r\n\r\nFixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime.\r\n\r\nIn fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example:\r\n\r\n> launch_utils.run_pip(\"install ffmpeg-python\", \"required package\")\r\n[ Installing required package: \"ffmpeg-python\" ... ]\r\n[ Installed ]\r\n\r\n> launch_utils.is_installed(\"ffmpeg-python\")\r\nFalse\r\n\r\n... which would actually return true with:\r\n\r\n> launch_utils.is_installed(\"ffmpeg\")\r\nTrue\r\n\r\n* Lint\r\n\r\n* make webui not crash when running with --disable-all-extensions option\r\n\r\n* update changelog\r\n\r\n* repair old handler for postprocessing API\r\n\r\n* repair old handler for postprocessing API in a way that doesn't break interface\r\n\r\n* add hypertile infotext\r\n\r\n* Merge pull request #14203 from AUTOMATIC1111/remove-clean_text()\r\n\r\nremove clean_text()\r\n\r\n* fix Inpaint Image Appears Behind Some UI Elements #206\r\n\r\n* fix side panel show/hide button hot zone does not use the entire width #204\r\n\r\n* Merge pull request #14300 from AUTOMATIC1111/oft_fixes\r\n\r\nFix wrong implementation in network_oft\r\n\r\n* Merge pull request #14296 from akx/paste-resolution\r\n\r\nAllow pasting in WIDTHxHEIGHT strings into the width/height fields\r\n\r\n* Merge pull request #14270 from kaalibro/extra-options-elem-id\r\n\r\nAssign id for \"extra_options\". Replace numeric field with slider.\r\n\r\n* Merge pull request #14276 from AUTOMATIC1111/fix-styles\r\n\r\nFix styles\r\n\r\n* Merge pull request #14266 from kaalibro/dev\r\n\r\nRe-add setting lost as part of e294e46\r\n\r\n* Merge pull request #14229 from Nuullll/ipex-embedding\r\n\r\n[IPEX] Fix embedding and ControlNet\r\n\r\n* Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer\r\n\r\nadd option: Live preview in full page image viewer\r\n\r\n* Merge pull request #14216 from wfjsw/state-dict-ref-comparison\r\n\r\nchange state dict comparison to ref compare\r\n\r\n* Merge pull request #14237 from ReneKroon/dev\r\n\r\n#13354 : solve lora loading issue\r\n\r\n* Merge pull request #14307 from AUTOMATIC1111/default-Falst-js_live_preview_in_modal_lightbox\r\n\r\ndefault False js_live_preview_in_modal_lightbox\r\n\r\n* update to 1.7 from upstream\r\n\r\n* Update README.md\r\n\r\n* Update screenshot.png\r\n\r\n* Update CITATION.cff\r\n\r\n* update to latest version\r\n\r\n* update to latest version\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: Ritesh Gangnani \r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>\r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>\r\n\r\n* Z (#12)\r\n\r\n* added option to play notification sound or not\r\n\r\n* Convert (emphasis) to (emphasis:1.1)\r\n\r\nper @SirVeggie's suggestion\r\n\r\n* Make attention conversion optional\r\n\r\nFix square brackets multiplier\r\n\r\n* put notification.mp3 option at the end of the page\r\n\r\n* more general case of adding an infotext when no images have been generated\r\n\r\n* use shallow copy for #13535\r\n\r\n* remove duplicated code\r\n\r\n* support webui.settings.bat\r\n\r\n* Start / Restart generation by Ctrl (Alt) + Enter\r\n\r\nAdd ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter\r\n\r\n* add an option to not print stack traces on ctrl+c.\r\n\r\n* repair unload sd checkpoint button\r\n\r\n* respect keyedit_precision_attention setting when converting from old (((attention))) syntax\r\n\r\n* Update script.js\r\n\r\nExclude lambda\r\n\r\n* Update script.js\r\n\r\nLF instead CRLF\r\n\r\n* Update script.js\r\n\r\n* Add files via upload\r\n\r\nLF\r\n\r\n* wip incorrect OFT implementation\r\n\r\n* inference working but SLOW\r\n\r\n* faster by using cached R in forward\r\n\r\n* faster by calculating R in updown and using cached R in forward\r\n\r\n* refactor: fix constraint, re-use get_weight\r\n\r\n* style: formatting\r\n\r\n* style: fix ambiguous variable name\r\n\r\n* rework some of changes for emphasis editing keys, force conversion of old-style emphasis\r\n\r\n* fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1)\r\n\r\n* fix bug when using --gfpgan-models-path\r\n\r\n* fix Blank line contains whitespace\r\n\r\n* refactor: use forward hook instead of custom forward\r\n\r\n* fix: return orig weights during updown, merge weights before forward\r\n\r\n* fix: support multiplier, no forward pass hook\r\n\r\n* style: cleanup oft\r\n\r\n* fix: use merge_weight to cache value\r\n\r\n* refactor: remove used OFT functions\r\n\r\n* fix: multiplier applied twice in finalize_updown\r\n\r\n* style: conform style\r\n\r\n* Update prompts_from_file script to allow concatenating entries with the general prompt.\r\n\r\n* linting issue\r\n\r\n* call state.jobnext() before postproces*()\r\n\r\n* Fix #13796\r\n\r\nFix comment error that makes understanding scheduling more confusing.\r\n\r\n* test implementation based on kohaku diag-oft implementation\r\n\r\n* detect diag_oft type\r\n\r\n* no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch\r\n\r\n* added accordion settings options\r\n\r\n* Fix parenthesis auto selection\r\n\r\nFixes #13813\r\n\r\n* Update requirements_versions.txt\r\n\r\n* skip multihead attn for now\r\n\r\n* refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb\r\n\r\n* refactor: use same updown for both kohya OFT and LyCORIS diag-oft\r\n\r\n* refactor: remove unused function\r\n\r\n* correct a typo\r\n\r\nmodify \"defaul\" to \"default\"\r\n\r\n* add a visible checkbox to input accordion\r\n\r\n* eslint\r\n\r\n* properly apply sort order for extra network cards when selected from dropdown\r\nallow selection of default sort order in settings\r\nremove 'Default' sort order, replace with 'Name'\r\n\r\n* Add SSD-1B as a supported model\r\n\r\n* Added memory clearance after deletion\r\n\r\n* Use devices.torch_gc() instead of empty_cache()\r\n\r\n* added compact prompt option\r\n\r\n* compact prompt option disabled by default\r\n\r\n* linter\r\n\r\n* more changes for #13865: fix formatting, rename the function, add comment and add a readme entry\r\n\r\n* fix img2img_tabs error\r\n\r\n* fix exception related to the pix2pix\r\n\r\n* Add option to set notification sound volume\r\n\r\n* fix pix2pix producing bad results\r\n\r\n* moved nested with to single line to remove extra tabs\r\n\r\n* removed changes that weren't merged properly\r\n\r\n* multiline with statement for readibility\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* - opensuse compatibility\r\n\r\n* Enable prompt hotkeys in style editor\r\n\r\n* Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+\r\n\r\n* fix added accordion settings options\r\n\r\n* ExitStack as alternative to suppress\r\n\r\n* implementing script metadata and DAG sorting mechanism\r\n\r\n* populate loaded_extensions from extension list instead\r\n\r\n* reverse the extension load order so builtin extensions load earlier natively\r\n\r\n* add hyperTile\r\n\r\nhttps://github.com/tfernd/HyperTile\r\n\r\n* remove the assumption of same name\r\n\r\n* allow comma and whitespace as separator\r\n\r\n* fix\r\n\r\n* bug fix\r\n\r\n* dir buttons start with / so only the correct dir will be shown and not dirs with a substrings as name from the dir\r\n\r\n* Lint\r\n\r\n* Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed\r\n\r\n* Adds 'Path' sorting for Extra network cards\r\n\r\n* fix gradio video component and canvas fit for inpaint\r\n\r\n* hotfix: call shared.state.end() after postprocessing done\r\n\r\n* Implement Hypertile\r\n\r\nCo-Authored-By: Kieran Hunt \r\n\r\n* copy LDM VAE key from XL\r\n\r\n* fix: ignore calc_scale() for COFT which has very small alpha\r\n\r\n* feat: LyCORIS/kohya OFT network support\r\n\r\n* convert/add hypertile options\r\n\r\n* fix ruff - add newline\r\n\r\n* Adds tqdm handler to logging_config.py for progress bar integration\r\n\r\n* Take into account tqdm not being installed before first boot for logging\r\n\r\n* actually adds handler to logging_config.py\r\n\r\n* Fix critical issue - unet apply\r\n\r\n* Fix inverted option issue\r\n\r\nI'm pretty sure I was sleepy while implementing this\r\n\r\n* set empty value for SD XL 3rd layer\r\n\r\n* fix double gc and decoding with unet context\r\n\r\n* feat: fix randn found element of type float at pos 2\r\n\r\nSigned-off-by: storyicon \r\n\r\n* use metadata.ini for meta filename\r\n\r\n* Option to show batch img2img results in UI\r\n\r\nshared.opts.img2img_batch_show_results_limit\r\nlimit the number of images return to the UI for batch img2img\r\ndefault limit 32\r\n0 no images are shown\r\n-1 unlimited, all images are shown\r\n\r\n* save sysinfo as .json\r\n\r\nGitHub now allows uploading of .json files in issues\r\n\r\n* rework extensions metadata: use custom sorter that doesn't mess the order as much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code\r\n\r\n* added option for default behavior of dir buttons\r\n\r\n* Add FP32 fallback support on sd_vae_approx\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the submodule may require additional modifications. The following is the example modification on the other submodule.\r\n\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\r\n\r\nclass Upsample(nn.Module):\r\n..snip..\r\n def forward(self, x):\r\n assert x.shape[1] == self.channels\r\n if self.dims == 3:\r\n x = F.interpolate(\r\n x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode=\"nearest\"\r\n )\r\n else:\r\n try:\r\n x = F.interpolate(x, scale_factor=2, mode=\"nearest\")\r\n except:\r\n x = F.interpolate(x.to(th.float32), scale_factor=2, mode=\"nearest\").to(x.dtype)\r\n if self.use_conv:\r\n x = self.conv(x)\r\n return x\r\n..snip..\r\n```\r\n\r\nYou can see the FP32 fallback execution as same as sd_vae_approx.py.\r\n\r\n* fix [Bug]: (Dev Branch) Placing \"Dimensions\" first in \"ui_reorder_list\" prevents start #14047\r\n\r\n* Update ruff to 0.1.6\r\n\r\n* Simplify restart_sampler (suggested by ruff)\r\n\r\n* use extension name for determining an extension is installed in the index\r\n\r\n* Move exception_records related methods to errors.py\r\n\r\n* remove traceback in sysinfo\r\n\r\n* move file\r\n\r\n* rework hypertile into a built-in extension\r\n\r\n* do not save HTML explanations from options page to config\r\n\r\n* fix linter errors\r\n\r\n* compact prompt layout: preserve scroll when switching between lora tabs\r\n\r\n* json.dump(ensure_ascii=False)\r\n\r\nimprove json readability\r\n\r\n* add categories to settings\r\n\r\n* also consider extension url\r\n\r\n* add Block component creation callback\r\n\r\n* catch uncaught exception with ui creation scripts\r\n\r\nprevent total webui crash\r\n\r\n* Allow use of mutiple styles csv files\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message\r\n\r\n* bugfix error message\r\n\r\n* Allow use of mutiple styles csv files\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122\r\nFix edge case where style text has multiple {prompt} placeholders\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005\r\n\r\n* Support XYZ scripts / split hires path from unet\r\n\r\n* cache divisors / fix ruff\r\n\r\n* fix ruff in hypertile_xyz.py\r\n\r\n* fix ruff - set comprehension\r\n\r\n* hypertile_xyz: we don't need isnumeric check for AxisOption\r\n\r\n* Update devices.py\r\n\r\nfixes 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\r\n\r\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097\r\n\r\n* fix Auto focal point crop for opencv >= 4.8.x\r\n\r\nautocrop.download_and_cache_models\r\nin opencv >= 4.8 the face detection model was updated\r\ndownload the base on opencv version\r\nreturns the model path or raise exception\r\n\r\n* reformat file with uniform indentation\r\n\r\n* Revert \"Add FP32 fallback support on sd_vae_approx\"\r\n\r\nThis reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce.\r\nSince the modification is expected to move to mac_specific.py\r\n(https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)\r\n\r\n* Add FP32 fallback support on torch.nn.functional.interpolate\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```.\r\nAnd the fallback for torch.nn.functional.interpolate is necessary at\r\n```modules/sd_vae_approx.py``` 's ```VAEApprox.forward```\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```\r\n\r\n* Fix the Ruff error about unused import\r\n\r\n* Initial IPEX support\r\n\r\n* add max-heigh/width to global-popup-inner\r\n\r\nprevent the pop-up from being too big as to making exiting the pop-up impossible\r\n\r\n* Close popups with escape key\r\n\r\n* Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone\r\n\r\n* Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM on load\r\n\r\n* 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\r\n\r\n* Disable ipex autocast due to its bad perf\r\n\r\n* split UI settings page into many\r\n\r\n* put code that can cause an exception into its own function for #14120\r\n\r\n* Fix fp64\r\n\r\n* extras tab batch: actually use original filename\r\npreprocessing upscale: do not do an extra upscale step if it's not needed\r\n\r\n* Remove webui-ipex-user.bat\r\n\r\n* remove Train/Preprocessing tab and put all its functionality into extras batch images mode\r\n\r\n* potential fix for #14172\r\n\r\n* alternate implementation for unet forward replacement that does not depend on hijack being applied\r\n\r\n* Fix `save_samples` being checked early when saving masked composite\r\n\r\n* Re-add setting lost as part of e294e46\r\n\r\n* rework mask and mask_composite logic\r\n\r\n* Add import_hook hack to work around basicsr incompatibility\r\n\r\nFixes #13985\r\n\r\n* Update launch_utils.py to fix wrong dep. checks and reinstalls\r\n\r\nFixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime.\r\n\r\nIn fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example:\r\n\r\n> launch_utils.run_pip(\"install ffmpeg-python\", \"required package\")\r\n[ Installing required package: \"ffmpeg-python\" ... ]\r\n[ Installed ]\r\n\r\n> launch_utils.is_installed(\"ffmpeg-python\")\r\nFalse\r\n\r\n... which would actually return true with:\r\n\r\n> launch_utils.is_installed(\"ffmpeg\")\r\nTrue\r\n\r\n* Lint\r\n\r\n* make webui not crash when running with --disable-all-extensions option\r\n\r\n* update changelog\r\n\r\n* repair old handler for postprocessing API\r\n\r\n* repair old handler for postprocessing API in a way that doesn't break interface\r\n\r\n* add hypertile infotext\r\n\r\n* Merge pull request #14203 from AUTOMATIC1111/remove-clean_text()\r\n\r\nremove clean_text()\r\n\r\n* fix Inpaint Image Appears Behind Some UI Elements #206\r\n\r\n* fix side panel show/hide button hot zone does not use the entire width #204\r\n\r\n* Merge pull request #14300 from AUTOMATIC1111/oft_fixes\r\n\r\nFix wrong implementation in network_oft\r\n\r\n* Merge pull request #14296 from akx/paste-resolution\r\n\r\nAllow pasting in WIDTHxHEIGHT strings into the width/height fields\r\n\r\n* Merge pull request #14270 from kaalibro/extra-options-elem-id\r\n\r\nAssign id for \"extra_options\". Replace numeric field with slider.\r\n\r\n* Merge pull request #14276 from AUTOMATIC1111/fix-styles\r\n\r\nFix styles\r\n\r\n* Merge pull request #14266 from kaalibro/dev\r\n\r\nRe-add setting lost as part of e294e46\r\n\r\n* Merge pull request #14229 from Nuullll/ipex-embedding\r\n\r\n[IPEX] Fix embedding and ControlNet\r\n\r\n* Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer\r\n\r\nadd option: Live preview in full page image viewer\r\n\r\n* Merge pull request #14216 from wfjsw/state-dict-ref-comparison\r\n\r\nchange state dict comparison to ref compare\r\n\r\n* Merge pull request #14237 from ReneKroon/dev\r\n\r\n#13354 : solve lora loading issue\r\n\r\n* Merge pull request #14307 from AUTOMATIC1111/default-Falst-js_live_preview_in_modal_lightbox\r\n\r\ndefault False js_live_preview_in_modal_lightbox\r\n\r\n* update to 1.7 from upstream\r\n\r\n* Update README.md\r\n\r\n* Update screenshot.png\r\n\r\n* Update CITATION.cff\r\n\r\n* update to latest version\r\n\r\n* update to latest version\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: Ritesh Gangnani \r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>\r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>\r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>","shortMessageHtmlLink":"Anapnoe current (#13)"}},{"before":"3790bec7c0c5460f6b5fc448ecb0c5c0245dba50","after":"7ee2157074b2dd1387344189e0b9d699cb7690b3","ref":"refs/heads/anapnoe_current","pushedAt":"2024-01-25T08:42:43.000Z","pushType":"push","commitsCount":38,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' into anapnoe_current","shortMessageHtmlLink":"Merge branch 'master' into anapnoe_current"}},{"before":"95145b23141115f2e7d4ab25ee383f5617e5f78d","after":"3790bec7c0c5460f6b5fc448ecb0c5c0245dba50","ref":"refs/heads/anapnoe_current","pushedAt":"2024-01-25T08:39:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Z (#12)\n\n* added option to play notification sound or not\r\n\r\n* Convert (emphasis) to (emphasis:1.1)\r\n\r\nper @SirVeggie's suggestion\r\n\r\n* Make attention conversion optional\r\n\r\nFix square brackets multiplier\r\n\r\n* put notification.mp3 option at the end of the page\r\n\r\n* more general case of adding an infotext when no images have been generated\r\n\r\n* use shallow copy for #13535\r\n\r\n* remove duplicated code\r\n\r\n* support webui.settings.bat\r\n\r\n* Start / Restart generation by Ctrl (Alt) + Enter\r\n\r\nAdd ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter\r\n\r\n* add an option to not print stack traces on ctrl+c.\r\n\r\n* repair unload sd checkpoint button\r\n\r\n* respect keyedit_precision_attention setting when converting from old (((attention))) syntax\r\n\r\n* Update script.js\r\n\r\nExclude lambda\r\n\r\n* Update script.js\r\n\r\nLF instead CRLF\r\n\r\n* Update script.js\r\n\r\n* Add files via upload\r\n\r\nLF\r\n\r\n* wip incorrect OFT implementation\r\n\r\n* inference working but SLOW\r\n\r\n* faster by using cached R in forward\r\n\r\n* faster by calculating R in updown and using cached R in forward\r\n\r\n* refactor: fix constraint, re-use get_weight\r\n\r\n* style: formatting\r\n\r\n* style: fix ambiguous variable name\r\n\r\n* rework some of changes for emphasis editing keys, force conversion of old-style emphasis\r\n\r\n* fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1)\r\n\r\n* fix bug when using --gfpgan-models-path\r\n\r\n* fix Blank line contains whitespace\r\n\r\n* refactor: use forward hook instead of custom forward\r\n\r\n* fix: return orig weights during updown, merge weights before forward\r\n\r\n* fix: support multiplier, no forward pass hook\r\n\r\n* style: cleanup oft\r\n\r\n* fix: use merge_weight to cache value\r\n\r\n* refactor: remove used OFT functions\r\n\r\n* fix: multiplier applied twice in finalize_updown\r\n\r\n* style: conform style\r\n\r\n* Update prompts_from_file script to allow concatenating entries with the general prompt.\r\n\r\n* linting issue\r\n\r\n* call state.jobnext() before postproces*()\r\n\r\n* Fix #13796\r\n\r\nFix comment error that makes understanding scheduling more confusing.\r\n\r\n* test implementation based on kohaku diag-oft implementation\r\n\r\n* detect diag_oft type\r\n\r\n* no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch\r\n\r\n* added accordion settings options\r\n\r\n* Fix parenthesis auto selection\r\n\r\nFixes #13813\r\n\r\n* Update requirements_versions.txt\r\n\r\n* skip multihead attn for now\r\n\r\n* refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb\r\n\r\n* refactor: use same updown for both kohya OFT and LyCORIS diag-oft\r\n\r\n* refactor: remove unused function\r\n\r\n* correct a typo\r\n\r\nmodify \"defaul\" to \"default\"\r\n\r\n* add a visible checkbox to input accordion\r\n\r\n* eslint\r\n\r\n* properly apply sort order for extra network cards when selected from dropdown\r\nallow selection of default sort order in settings\r\nremove 'Default' sort order, replace with 'Name'\r\n\r\n* Add SSD-1B as a supported model\r\n\r\n* Added memory clearance after deletion\r\n\r\n* Use devices.torch_gc() instead of empty_cache()\r\n\r\n* added compact prompt option\r\n\r\n* compact prompt option disabled by default\r\n\r\n* linter\r\n\r\n* more changes for #13865: fix formatting, rename the function, add comment and add a readme entry\r\n\r\n* fix img2img_tabs error\r\n\r\n* fix exception related to the pix2pix\r\n\r\n* Add option to set notification sound volume\r\n\r\n* fix pix2pix producing bad results\r\n\r\n* moved nested with to single line to remove extra tabs\r\n\r\n* removed changes that weren't merged properly\r\n\r\n* multiline with statement for readibility\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* - opensuse compatibility\r\n\r\n* Enable prompt hotkeys in style editor\r\n\r\n* Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+\r\n\r\n* fix added accordion settings options\r\n\r\n* ExitStack as alternative to suppress\r\n\r\n* implementing script metadata and DAG sorting mechanism\r\n\r\n* populate loaded_extensions from extension list instead\r\n\r\n* reverse the extension load order so builtin extensions load earlier natively\r\n\r\n* add hyperTile\r\n\r\nhttps://github.com/tfernd/HyperTile\r\n\r\n* remove the assumption of same name\r\n\r\n* allow comma and whitespace as separator\r\n\r\n* fix\r\n\r\n* bug fix\r\n\r\n* dir buttons start with / so only the correct dir will be shown and not dirs with a substrings as name from the dir\r\n\r\n* Lint\r\n\r\n* Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed\r\n\r\n* Adds 'Path' sorting for Extra network cards\r\n\r\n* fix gradio video component and canvas fit for inpaint\r\n\r\n* hotfix: call shared.state.end() after postprocessing done\r\n\r\n* Implement Hypertile\r\n\r\nCo-Authored-By: Kieran Hunt \r\n\r\n* copy LDM VAE key from XL\r\n\r\n* fix: ignore calc_scale() for COFT which has very small alpha\r\n\r\n* feat: LyCORIS/kohya OFT network support\r\n\r\n* convert/add hypertile options\r\n\r\n* fix ruff - add newline\r\n\r\n* Adds tqdm handler to logging_config.py for progress bar integration\r\n\r\n* Take into account tqdm not being installed before first boot for logging\r\n\r\n* actually adds handler to logging_config.py\r\n\r\n* Fix critical issue - unet apply\r\n\r\n* Fix inverted option issue\r\n\r\nI'm pretty sure I was sleepy while implementing this\r\n\r\n* set empty value for SD XL 3rd layer\r\n\r\n* fix double gc and decoding with unet context\r\n\r\n* feat: fix randn found element of type float at pos 2\r\n\r\nSigned-off-by: storyicon \r\n\r\n* use metadata.ini for meta filename\r\n\r\n* Option to show batch img2img results in UI\r\n\r\nshared.opts.img2img_batch_show_results_limit\r\nlimit the number of images return to the UI for batch img2img\r\ndefault limit 32\r\n0 no images are shown\r\n-1 unlimited, all images are shown\r\n\r\n* save sysinfo as .json\r\n\r\nGitHub now allows uploading of .json files in issues\r\n\r\n* rework extensions metadata: use custom sorter that doesn't mess the order as much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code\r\n\r\n* added option for default behavior of dir buttons\r\n\r\n* Add FP32 fallback support on sd_vae_approx\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the submodule may require additional modifications. The following is the example modification on the other submodule.\r\n\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\r\n\r\nclass Upsample(nn.Module):\r\n..snip..\r\n def forward(self, x):\r\n assert x.shape[1] == self.channels\r\n if self.dims == 3:\r\n x = F.interpolate(\r\n x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode=\"nearest\"\r\n )\r\n else:\r\n try:\r\n x = F.interpolate(x, scale_factor=2, mode=\"nearest\")\r\n except:\r\n x = F.interpolate(x.to(th.float32), scale_factor=2, mode=\"nearest\").to(x.dtype)\r\n if self.use_conv:\r\n x = self.conv(x)\r\n return x\r\n..snip..\r\n```\r\n\r\nYou can see the FP32 fallback execution as same as sd_vae_approx.py.\r\n\r\n* fix [Bug]: (Dev Branch) Placing \"Dimensions\" first in \"ui_reorder_list\" prevents start #14047\r\n\r\n* Update ruff to 0.1.6\r\n\r\n* Simplify restart_sampler (suggested by ruff)\r\n\r\n* use extension name for determining an extension is installed in the index\r\n\r\n* Move exception_records related methods to errors.py\r\n\r\n* remove traceback in sysinfo\r\n\r\n* move file\r\n\r\n* rework hypertile into a built-in extension\r\n\r\n* do not save HTML explanations from options page to config\r\n\r\n* fix linter errors\r\n\r\n* compact prompt layout: preserve scroll when switching between lora tabs\r\n\r\n* json.dump(ensure_ascii=False)\r\n\r\nimprove json readability\r\n\r\n* add categories to settings\r\n\r\n* also consider extension url\r\n\r\n* add Block component creation callback\r\n\r\n* catch uncaught exception with ui creation scripts\r\n\r\nprevent total webui crash\r\n\r\n* Allow use of mutiple styles csv files\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message\r\n\r\n* bugfix error message\r\n\r\n* Allow use of mutiple styles csv files\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122\r\nFix edge case where style text has multiple {prompt} placeholders\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005\r\n\r\n* Support XYZ scripts / split hires path from unet\r\n\r\n* cache divisors / fix ruff\r\n\r\n* fix ruff in hypertile_xyz.py\r\n\r\n* fix ruff - set comprehension\r\n\r\n* hypertile_xyz: we don't need isnumeric check for AxisOption\r\n\r\n* Update devices.py\r\n\r\nfixes 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\r\n\r\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097\r\n\r\n* fix Auto focal point crop for opencv >= 4.8.x\r\n\r\nautocrop.download_and_cache_models\r\nin opencv >= 4.8 the face detection model was updated\r\ndownload the base on opencv version\r\nreturns the model path or raise exception\r\n\r\n* reformat file with uniform indentation\r\n\r\n* Revert \"Add FP32 fallback support on sd_vae_approx\"\r\n\r\nThis reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce.\r\nSince the modification is expected to move to mac_specific.py\r\n(https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)\r\n\r\n* Add FP32 fallback support on torch.nn.functional.interpolate\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```.\r\nAnd the fallback for torch.nn.functional.interpolate is necessary at\r\n```modules/sd_vae_approx.py``` 's ```VAEApprox.forward```\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```\r\n\r\n* Fix the Ruff error about unused import\r\n\r\n* Initial IPEX support\r\n\r\n* add max-heigh/width to global-popup-inner\r\n\r\nprevent the pop-up from being too big as to making exiting the pop-up impossible\r\n\r\n* Close popups with escape key\r\n\r\n* Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone\r\n\r\n* Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM on load\r\n\r\n* 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\r\n\r\n* Disable ipex autocast due to its bad perf\r\n\r\n* split UI settings page into many\r\n\r\n* put code that can cause an exception into its own function for #14120\r\n\r\n* Fix fp64\r\n\r\n* extras tab batch: actually use original filename\r\npreprocessing upscale: do not do an extra upscale step if it's not needed\r\n\r\n* Remove webui-ipex-user.bat\r\n\r\n* remove Train/Preprocessing tab and put all its functionality into extras batch images mode\r\n\r\n* potential fix for #14172\r\n\r\n* alternate implementation for unet forward replacement that does not depend on hijack being applied\r\n\r\n* Fix `save_samples` being checked early when saving masked composite\r\n\r\n* Re-add setting lost as part of e294e46\r\n\r\n* rework mask and mask_composite logic\r\n\r\n* Add import_hook hack to work around basicsr incompatibility\r\n\r\nFixes #13985\r\n\r\n* Update launch_utils.py to fix wrong dep. checks and reinstalls\r\n\r\nFixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime.\r\n\r\nIn fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example:\r\n\r\n> launch_utils.run_pip(\"install ffmpeg-python\", \"required package\")\r\n[ Installing required package: \"ffmpeg-python\" ... ]\r\n[ Installed ]\r\n\r\n> launch_utils.is_installed(\"ffmpeg-python\")\r\nFalse\r\n\r\n... which would actually return true with:\r\n\r\n> launch_utils.is_installed(\"ffmpeg\")\r\nTrue\r\n\r\n* Lint\r\n\r\n* make webui not crash when running with --disable-all-extensions option\r\n\r\n* update changelog\r\n\r\n* repair old handler for postprocessing API\r\n\r\n* repair old handler for postprocessing API in a way that doesn't break interface\r\n\r\n* add hypertile infotext\r\n\r\n* Merge pull request #14203 from AUTOMATIC1111/remove-clean_text()\r\n\r\nremove clean_text()\r\n\r\n* fix Inpaint Image Appears Behind Some UI Elements #206\r\n\r\n* fix side panel show/hide button hot zone does not use the entire width #204\r\n\r\n* Merge pull request #14300 from AUTOMATIC1111/oft_fixes\r\n\r\nFix wrong implementation in network_oft\r\n\r\n* Merge pull request #14296 from akx/paste-resolution\r\n\r\nAllow pasting in WIDTHxHEIGHT strings into the width/height fields\r\n\r\n* Merge pull request #14270 from kaalibro/extra-options-elem-id\r\n\r\nAssign id for \"extra_options\". Replace numeric field with slider.\r\n\r\n* Merge pull request #14276 from AUTOMATIC1111/fix-styles\r\n\r\nFix styles\r\n\r\n* Merge pull request #14266 from kaalibro/dev\r\n\r\nRe-add setting lost as part of e294e46\r\n\r\n* Merge pull request #14229 from Nuullll/ipex-embedding\r\n\r\n[IPEX] Fix embedding and ControlNet\r\n\r\n* Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer\r\n\r\nadd option: Live preview in full page image viewer\r\n\r\n* Merge pull request #14216 from wfjsw/state-dict-ref-comparison\r\n\r\nchange state dict comparison to ref compare\r\n\r\n* Merge pull request #14237 from ReneKroon/dev\r\n\r\n#13354 : solve lora loading issue\r\n\r\n* Merge pull request #14307 from AUTOMATIC1111/default-Falst-js_live_preview_in_modal_lightbox\r\n\r\ndefault False js_live_preview_in_modal_lightbox\r\n\r\n* update to 1.7 from upstream\r\n\r\n* Update README.md\r\n\r\n* Update screenshot.png\r\n\r\n* Update CITATION.cff\r\n\r\n* update to latest version\r\n\r\n* update to latest version\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: Ritesh Gangnani \r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>\r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>","shortMessageHtmlLink":"Z (#12)"}},{"before":"cb50d02a9345cf343ac2b5bdd291beede78551e3","after":"95145b23141115f2e7d4ab25ee383f5617e5f78d","ref":"refs/heads/anapnoe_current","pushedAt":"2024-01-25T08:38:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"pull (#11)\n\n* added option to play notification sound or not\r\n\r\n* Convert (emphasis) to (emphasis:1.1)\r\n\r\nper @SirVeggie's suggestion\r\n\r\n* Make attention conversion optional\r\n\r\nFix square brackets multiplier\r\n\r\n* put notification.mp3 option at the end of the page\r\n\r\n* more general case of adding an infotext when no images have been generated\r\n\r\n* use shallow copy for #13535\r\n\r\n* remove duplicated code\r\n\r\n* support webui.settings.bat\r\n\r\n* Start / Restart generation by Ctrl (Alt) + Enter\r\n\r\nAdd ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter\r\n\r\n* add an option to not print stack traces on ctrl+c.\r\n\r\n* repair unload sd checkpoint button\r\n\r\n* respect keyedit_precision_attention setting when converting from old (((attention))) syntax\r\n\r\n* Update script.js\r\n\r\nExclude lambda\r\n\r\n* Update script.js\r\n\r\nLF instead CRLF\r\n\r\n* Update script.js\r\n\r\n* Add files via upload\r\n\r\nLF\r\n\r\n* wip incorrect OFT implementation\r\n\r\n* inference working but SLOW\r\n\r\n* faster by using cached R in forward\r\n\r\n* faster by calculating R in updown and using cached R in forward\r\n\r\n* refactor: fix constraint, re-use get_weight\r\n\r\n* style: formatting\r\n\r\n* style: fix ambiguous variable name\r\n\r\n* rework some of changes for emphasis editing keys, force conversion of old-style emphasis\r\n\r\n* fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1)\r\n\r\n* fix bug when using --gfpgan-models-path\r\n\r\n* fix Blank line contains whitespace\r\n\r\n* refactor: use forward hook instead of custom forward\r\n\r\n* fix: return orig weights during updown, merge weights before forward\r\n\r\n* fix: support multiplier, no forward pass hook\r\n\r\n* style: cleanup oft\r\n\r\n* fix: use merge_weight to cache value\r\n\r\n* refactor: remove used OFT functions\r\n\r\n* fix: multiplier applied twice in finalize_updown\r\n\r\n* style: conform style\r\n\r\n* Update prompts_from_file script to allow concatenating entries with the general prompt.\r\n\r\n* linting issue\r\n\r\n* call state.jobnext() before postproces*()\r\n\r\n* Fix #13796\r\n\r\nFix comment error that makes understanding scheduling more confusing.\r\n\r\n* test implementation based on kohaku diag-oft implementation\r\n\r\n* detect diag_oft type\r\n\r\n* no idea what i'm doing, trying to support both type of OFT, kblueleaf diag_oft has MultiheadAttn which kohya's doesn't?, attempt create new module based off network_lora.py, errors about tensor dim mismatch\r\n\r\n* added accordion settings options\r\n\r\n* Fix parenthesis auto selection\r\n\r\nFixes #13813\r\n\r\n* Update requirements_versions.txt\r\n\r\n* skip multihead attn for now\r\n\r\n* refactor: move factorization to lyco_helpers, separate calc_updown for kohya and kb\r\n\r\n* refactor: use same updown for both kohya OFT and LyCORIS diag-oft\r\n\r\n* refactor: remove unused function\r\n\r\n* correct a typo\r\n\r\nmodify \"defaul\" to \"default\"\r\n\r\n* add a visible checkbox to input accordion\r\n\r\n* eslint\r\n\r\n* properly apply sort order for extra network cards when selected from dropdown\r\nallow selection of default sort order in settings\r\nremove 'Default' sort order, replace with 'Name'\r\n\r\n* Add SSD-1B as a supported model\r\n\r\n* Added memory clearance after deletion\r\n\r\n* Use devices.torch_gc() instead of empty_cache()\r\n\r\n* added compact prompt option\r\n\r\n* compact prompt option disabled by default\r\n\r\n* linter\r\n\r\n* more changes for #13865: fix formatting, rename the function, add comment and add a readme entry\r\n\r\n* fix img2img_tabs error\r\n\r\n* fix exception related to the pix2pix\r\n\r\n* Add option to set notification sound volume\r\n\r\n* fix pix2pix producing bad results\r\n\r\n* moved nested with to single line to remove extra tabs\r\n\r\n* removed changes that weren't merged properly\r\n\r\n* multiline with statement for readibility\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* Update README.md\r\n\r\nModify the stablediffusion dependency address\r\n\r\n* - opensuse compatibility\r\n\r\n* Enable prompt hotkeys in style editor\r\n\r\n* Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+\r\n\r\n* fix added accordion settings options\r\n\r\n* ExitStack as alternative to suppress\r\n\r\n* implementing script metadata and DAG sorting mechanism\r\n\r\n* populate loaded_extensions from extension list instead\r\n\r\n* reverse the extension load order so builtin extensions load earlier natively\r\n\r\n* add hyperTile\r\n\r\nhttps://github.com/tfernd/HyperTile\r\n\r\n* remove the assumption of same name\r\n\r\n* allow comma and whitespace as separator\r\n\r\n* fix\r\n\r\n* bug fix\r\n\r\n* dir buttons start with / so only the correct dir will be shown and not dirs with a substrings as name from the dir\r\n\r\n* Lint\r\n\r\n* Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed\r\n\r\n* Adds 'Path' sorting for Extra network cards\r\n\r\n* fix gradio video component and canvas fit for inpaint\r\n\r\n* hotfix: call shared.state.end() after postprocessing done\r\n\r\n* Implement Hypertile\r\n\r\nCo-Authored-By: Kieran Hunt \r\n\r\n* copy LDM VAE key from XL\r\n\r\n* fix: ignore calc_scale() for COFT which has very small alpha\r\n\r\n* feat: LyCORIS/kohya OFT network support\r\n\r\n* convert/add hypertile options\r\n\r\n* fix ruff - add newline\r\n\r\n* Adds tqdm handler to logging_config.py for progress bar integration\r\n\r\n* Take into account tqdm not being installed before first boot for logging\r\n\r\n* actually adds handler to logging_config.py\r\n\r\n* Fix critical issue - unet apply\r\n\r\n* Fix inverted option issue\r\n\r\nI'm pretty sure I was sleepy while implementing this\r\n\r\n* set empty value for SD XL 3rd layer\r\n\r\n* fix double gc and decoding with unet context\r\n\r\n* feat: fix randn found element of type float at pos 2\r\n\r\nSigned-off-by: storyicon \r\n\r\n* use metadata.ini for meta filename\r\n\r\n* Option to show batch img2img results in UI\r\n\r\nshared.opts.img2img_batch_show_results_limit\r\nlimit the number of images return to the UI for batch img2img\r\ndefault limit 32\r\n0 no images are shown\r\n-1 unlimited, all images are shown\r\n\r\n* save sysinfo as .json\r\n\r\nGitHub now allows uploading of .json files in issues\r\n\r\n* rework extensions metadata: use custom sorter that doesn't mess the order as much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code\r\n\r\n* added option for default behavior of dir buttons\r\n\r\n* Add FP32 fallback support on sd_vae_approx\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the submodule may require additional modifications. The following is the example modification on the other submodule.\r\n\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\r\n\r\nclass Upsample(nn.Module):\r\n..snip..\r\n def forward(self, x):\r\n assert x.shape[1] == self.channels\r\n if self.dims == 3:\r\n x = F.interpolate(\r\n x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode=\"nearest\"\r\n )\r\n else:\r\n try:\r\n x = F.interpolate(x, scale_factor=2, mode=\"nearest\")\r\n except:\r\n x = F.interpolate(x.to(th.float32), scale_factor=2, mode=\"nearest\").to(x.dtype)\r\n if self.use_conv:\r\n x = self.conv(x)\r\n return x\r\n..snip..\r\n```\r\n\r\nYou can see the FP32 fallback execution as same as sd_vae_approx.py.\r\n\r\n* fix [Bug]: (Dev Branch) Placing \"Dimensions\" first in \"ui_reorder_list\" prevents start #14047\r\n\r\n* Update ruff to 0.1.6\r\n\r\n* Simplify restart_sampler (suggested by ruff)\r\n\r\n* use extension name for determining an extension is installed in the index\r\n\r\n* Move exception_records related methods to errors.py\r\n\r\n* remove traceback in sysinfo\r\n\r\n* move file\r\n\r\n* rework hypertile into a built-in extension\r\n\r\n* do not save HTML explanations from options page to config\r\n\r\n* fix linter errors\r\n\r\n* compact prompt layout: preserve scroll when switching between lora tabs\r\n\r\n* json.dump(ensure_ascii=False)\r\n\r\nimprove json readability\r\n\r\n* add categories to settings\r\n\r\n* also consider extension url\r\n\r\n* add Block component creation callback\r\n\r\n* catch uncaught exception with ui creation scripts\r\n\r\nprevent total webui crash\r\n\r\n* Allow use of mutiple styles csv files\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message (#6)\r\n\r\n* bugfix for warning message\r\n\r\n* bugfix error message\r\n\r\n* Allow use of mutiple styles csv files\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14122\r\nFix edge case where style text has multiple {prompt} placeholders\r\n* https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14005\r\n\r\n* Support XYZ scripts / split hires path from unet\r\n\r\n* cache divisors / fix ruff\r\n\r\n* fix ruff in hypertile_xyz.py\r\n\r\n* fix ruff - set comprehension\r\n\r\n* hypertile_xyz: we don't need isnumeric check for AxisOption\r\n\r\n* Update devices.py\r\n\r\nfixes 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\r\n\r\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14097\r\n\r\n* fix Auto focal point crop for opencv >= 4.8.x\r\n\r\nautocrop.download_and_cache_models\r\nin opencv >= 4.8 the face detection model was updated\r\ndownload the base on opencv version\r\nreturns the model path or raise exception\r\n\r\n* reformat file with uniform indentation\r\n\r\n* Revert \"Add FP32 fallback support on sd_vae_approx\"\r\n\r\nThis reverts commit 58c19545c83fa6925c9ce2216ee64964eb5129ce.\r\nSince the modification is expected to move to mac_specific.py\r\n(https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14046#issuecomment-1826731532)\r\n\r\n* Add FP32 fallback support on torch.nn.functional.interpolate\r\n\r\nThis tries to execute interpolate with FP32 if it failed.\r\n\r\nBackground is that\r\non some environment such as Mx chip MacOS devices, we get error as follows:\r\n\r\n```\r\n\"torch/nn/functional.py\", line 3931, in interpolate\r\n return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n RuntimeError: \"upsample_nearest2d_channels_last\" not implemented for 'Half'\r\n```\r\n\r\nIn this case, ```--no-half``` doesn't help to solve. Therefore this commits add the FP32 fallback execution to solve it.\r\n\r\nNote that the ```upsample_nearest2d``` is called from ```torch.nn.functional.interpolate```.\r\nAnd the fallback for torch.nn.functional.interpolate is necessary at\r\n```modules/sd_vae_approx.py``` 's ```VAEApprox.forward```\r\n```repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py``` 's ```Upsample.forward```\r\n\r\n* Fix the Ruff error about unused import\r\n\r\n* Initial IPEX support\r\n\r\n* add max-heigh/width to global-popup-inner\r\n\r\nprevent the pop-up from being too big as to making exiting the pop-up impossible\r\n\r\n* Close popups with escape key\r\n\r\n* Fix bug where is_using_v_parameterization_for_sd2 fails because the sd_hijack is only partially undone\r\n\r\n* Add support for SD 2.1 Turbo, by converting the state dict from SGM to LDM on load\r\n\r\n* 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\r\n\r\n* Disable ipex autocast due to its bad perf\r\n\r\n* split UI settings page into many\r\n\r\n* put code that can cause an exception into its own function for #14120\r\n\r\n* Fix fp64\r\n\r\n* extras tab batch: actually use original filename\r\npreprocessing upscale: do not do an extra upscale step if it's not needed\r\n\r\n* Remove webui-ipex-user.bat\r\n\r\n* remove Train/Preprocessing tab and put all its functionality into extras batch images mode\r\n\r\n* potential fix for #14172\r\n\r\n* alternate implementation for unet forward replacement that does not depend on hijack being applied\r\n\r\n* Fix `save_samples` being checked early when saving masked composite\r\n\r\n* Re-add setting lost as part of e294e46\r\n\r\n* rework mask and mask_composite logic\r\n\r\n* Add import_hook hack to work around basicsr incompatibility\r\n\r\nFixes #13985\r\n\r\n* Update launch_utils.py to fix wrong dep. checks and reinstalls\r\n\r\nFixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime.\r\n\r\nIn fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example:\r\n\r\n> launch_utils.run_pip(\"install ffmpeg-python\", \"required package\")\r\n[ Installing required package: \"ffmpeg-python\" ... ]\r\n[ Installed ]\r\n\r\n> launch_utils.is_installed(\"ffmpeg-python\")\r\nFalse\r\n\r\n... which would actually return true with:\r\n\r\n> launch_utils.is_installed(\"ffmpeg\")\r\nTrue\r\n\r\n* Lint\r\n\r\n* make webui not crash when running with --disable-all-extensions option\r\n\r\n* update changelog\r\n\r\n* repair old handler for postprocessing API\r\n\r\n* repair old handler for postprocessing API in a way that doesn't break interface\r\n\r\n* add hypertile infotext\r\n\r\n* Merge pull request #14203 from AUTOMATIC1111/remove-clean_text()\r\n\r\nremove clean_text()\r\n\r\n* fix Inpaint Image Appears Behind Some UI Elements #206\r\n\r\n* fix side panel show/hide button hot zone does not use the entire width #204\r\n\r\n* Merge pull request #14300 from AUTOMATIC1111/oft_fixes\r\n\r\nFix wrong implementation in network_oft\r\n\r\n* Merge pull request #14296 from akx/paste-resolution\r\n\r\nAllow pasting in WIDTHxHEIGHT strings into the width/height fields\r\n\r\n* Merge pull request #14270 from kaalibro/extra-options-elem-id\r\n\r\nAssign id for \"extra_options\". Replace numeric field with slider.\r\n\r\n* Merge pull request #14276 from AUTOMATIC1111/fix-styles\r\n\r\nFix styles\r\n\r\n* Merge pull request #14266 from kaalibro/dev\r\n\r\nRe-add setting lost as part of e294e46\r\n\r\n* Merge pull request #14229 from Nuullll/ipex-embedding\r\n\r\n[IPEX] Fix embedding and ControlNet\r\n\r\n* Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer\r\n\r\nadd option: Live preview in full page image viewer\r\n\r\n* Merge pull request #14216 from wfjsw/state-dict-ref-comparison\r\n\r\nchange state dict comparison to ref compare\r\n\r\n* Merge pull request #14237 from ReneKroon/dev\r\n\r\n#13354 : solve lora loading issue\r\n\r\n* Merge pull request #14307 from AUTOMATIC1111/default-Falst-js_live_preview_in_modal_lightbox\r\n\r\ndefault False js_live_preview_in_modal_lightbox\r\n\r\n* update to 1.7 from upstream\r\n\r\n* Update README.md\r\n\r\n* Update screenshot.png\r\n\r\n* Update CITATION.cff\r\n\r\n* update to latest version\r\n\r\n* update to latest version\r\n\r\n---------\r\n\r\nSigned-off-by: storyicon \r\nCo-authored-by: Gleb Alekseev \r\nCo-authored-by: missionfloyd \r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: Won-Kyu Park \r\nCo-authored-by: Khachatur Avanesian \r\nCo-authored-by: v0xie <28695009+v0xie@users.noreply.github.com>\r\nCo-authored-by: avantcontra \r\nCo-authored-by: David Benson \r\nCo-authored-by: Meerkov \r\nCo-authored-by: Emily Zeng \r\nCo-authored-by: w-e-w <40751091+w-e-w@users.noreply.github.com>\r\nCo-authored-by: gibiee <37574274+gibiee@users.noreply.github.com>\r\nCo-authored-by: Ritesh Gangnani \r\nCo-authored-by: GerryDE \r\nCo-authored-by: fuchen.ljl \r\nCo-authored-by: Alessandro de Oliveira Faria (A.K.A. CABELO) \r\nCo-authored-by: wfjsw \r\nCo-authored-by: aria1th <35677394+aria1th@users.noreply.github.com>\r\nCo-authored-by: Tom Haelbich <65122811+h43lb1t0@users.noreply.github.com>\r\nCo-authored-by: kaalibro \r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>\r\nCo-authored-by: AngelBottomless \r\nCo-authored-by: Kieran Hunt \r\nCo-authored-by: Lucas Daniel Velazquez M <19197331+Luxter77@users.noreply.github.com>\r\nCo-authored-by: Your Name \r\nCo-authored-by: storyicon \r\nCo-authored-by: Tom Haelbich \r\nCo-authored-by: hidenorly \r\nCo-authored-by: Aarni Koskela \r\nCo-authored-by: Charlie Joynt \r\nCo-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>\r\nCo-authored-by: Nuullll \r\nCo-authored-by: MrCheeze \r\nCo-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>\r\nCo-authored-by: illtellyoulater <3078931+illtellyoulater@users.noreply.github.com>","shortMessageHtmlLink":"pull (#11)"}},{"before":"5bc0f471049acb46ebc0208a42a27cf23b841c52","after":"0e0fbf867701ef6080c31997a3a6c839b3809680","ref":"refs/heads/master","pushedAt":"2023-11-16T19:27:43.000Z","pushType":"push","commitsCount":19,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}},{"before":"7dd9ac4ef14527112c9a0cef94acb3ee357c354f","after":"5bc0f471049acb46ebc0208a42a27cf23b841c52","ref":"refs/heads/master","pushedAt":"2023-11-13T18:24:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Anapnoe current (#10)\n\n* Merge pull request #13839 from AUTOMATIC1111/httpx==0.24.1\r\n\r\nrequirements_versions httpx==0.24.1\r\n\r\n* add changelog entry\r\n\r\n* show labels for aside, main, page tabs option setting\r\n\r\n* refactor option settings\r\n\r\n* fix alt-enter, control-enter key shortcuts for txt2img and img2img prompts\r\n\r\n* remove debounce from window resize event\r\n\r\n* added ignore overrides option setting\r\n\r\n* Make text2img Metadata Panel to have max height #197\r\n\r\n* Update README.md\r\n\r\n* Update README.md\r\n\r\n* add group container for override dropdown\r\n\r\n* add mobile scale option setting\r\n\r\n* shrink space between split panes\r\n\r\n* Update README.md\r\n\r\n* improve mobile support\r\n\r\n---------\r\n\r\nCo-authored-by: AUTOMATIC1111 <16777216c@gmail.com>\r\nCo-authored-by: anapnoe <124302297+anapnoe@users.noreply.github.com>","shortMessageHtmlLink":"Anapnoe current (#10)"}},{"before":"5830d0f1d6900e573368c9d7d4eed1c57f3c8d9a","after":"7dd9ac4ef14527112c9a0cef94acb3ee357c354f","ref":"refs/heads/master","pushedAt":"2023-11-13T18:18:12.000Z","pushType":"pr_merge","commitsCount":15,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"improve mobile support","shortMessageHtmlLink":"improve mobile support"}},{"before":"8f008768e89cc94aa33cd6776781e70779df3faf","after":"cb50d02a9345cf343ac2b5bdd291beede78551e3","ref":"refs/heads/anapnoe_current","pushedAt":"2023-11-13T18:15:36.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/anapnoe/stable-diffusion-webui-ux","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/anapnoe/stable-diffusion-…"}},{"before":"9e3ef7b2a8161139bfda18ff57929e3e40fcb580","after":"8f008768e89cc94aa33cd6776781e70779df3faf","ref":"refs/heads/anapnoe_current","pushedAt":"2023-11-03T17:58:23.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'AUTOMATIC1111:master' into master","shortMessageHtmlLink":"Merge branch 'AUTOMATIC1111:master' into master"}},{"before":"0e465f4b4a0abadff6bd09668fa5bb06b0c35e45","after":"5830d0f1d6900e573368c9d7d4eed1c57f3c8d9a","ref":"refs/heads/master","pushedAt":"2023-11-03T17:57:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"fixed >>>> during merge","shortMessageHtmlLink":"fixed >>>> during merge"}},{"before":"ea3d201d2393c26dc774d67e9a6bddf124560023","after":"0e465f4b4a0abadff6bd09668fa5bb06b0c35e45","ref":"refs/heads/master","pushedAt":"2023-11-03T17:51:28.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge pull request #8 from martianunlimited/anapnoe_current\n\nAnapnoe current","shortMessageHtmlLink":"Merge pull request #8 from martianunlimited/anapnoe_current"}},{"before":null,"after":"9e3ef7b2a8161139bfda18ff57929e3e40fcb580","ref":"refs/heads/anapnoe_current","pushedAt":"2023-11-03T17:23:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","after":"ea3d201d2393c26dc774d67e9a6bddf124560023","ref":"refs/heads/master","pushedAt":"2023-11-02T18:08:39.000Z","pushType":"pr_merge","commitsCount":692,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge pull request #7 from martianunlimited/anapnoe-master\n\nAnapnoe master","shortMessageHtmlLink":"Merge pull request #7 from martianunlimited/anapnoe-master"}},{"before":"fd769f93b653c5f37893a2c2e700167888af4a80","after":"1ad94384ee6794a42634d0ac1196874484a9de4a","ref":"refs/heads/anapnoe-master","pushedAt":"2023-11-02T18:07:22.000Z","pushType":"push","commitsCount":690,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/anapnoe/stable-diffusion-webui-ux into anapnoe-master","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/anapnoe/stable-diffusion-…"}},{"before":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","after":"fd769f93b653c5f37893a2c2e700167888af4a80","ref":"refs/heads/anapnoe-master","pushedAt":"2023-11-02T17:52:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"z","shortMessageHtmlLink":"z"}},{"before":null,"after":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","ref":"refs/heads/anapnoe-master","pushedAt":"2023-11-02T17:50:57.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/martianunlimited/stable-diffusion-webui-ux","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/martianunlimited/stable-d…"}},{"before":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","after":"5ef669de080814067961f28357256e8fe27544f4","ref":"refs/heads/dev-1.6","pushedAt":"2023-09-09T19:41:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'release_candidate'","shortMessageHtmlLink":"Merge branch 'release_candidate'"}},{"before":null,"after":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","ref":"refs/heads/dev-1.6","pushedAt":"2023-09-09T19:41:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/martianunlimited/stable-diffusion-webui-ux","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/martianunlimited/stable-d…"}},{"before":"983dd99ef3148943831ffcc9a995747c2d30cfd7","after":"9eca4bdfd13fcf28efcaae8becb91c1f0856ba1a","ref":"refs/heads/dev","pushedAt":"2023-09-09T19:39:28.000Z","pushType":"push","commitsCount":1089,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:dev' into dev","shortMessageHtmlLink":"Merge branch 'anapnoe:dev' into dev"}},{"before":"d5d2d92fa6ed77cdcfe4afc1e6976743b93395bf","after":"4140bba290e5eab565d7f4bd328b770c4a3a2c00","ref":"refs/heads/master","pushedAt":"2023-08-18T20:17:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/martianunlimited/stable-diffusion-webui-ux","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/martianunlimited/stable-d…"}},{"before":"a9505d8a9eeeb4e44d86c4086bf37e631bbff2fd","after":"d5d2d92fa6ed77cdcfe4afc1e6976743b93395bf","ref":"refs/heads/master","pushedAt":"2023-07-28T07:40:04.000Z","pushType":"push","commitsCount":325,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}},{"before":"a9505d8a9eeeb4e44d86c4086bf37e631bbff2fd","after":"d5d2d92fa6ed77cdcfe4afc1e6976743b93395bf","ref":"refs/heads/master","pushedAt":"2023-07-28T07:40:03.877Z","pushType":"push","commitsCount":325,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}},{"before":"0acab4ac618221a58b0a100ad7798a687c0d9b6f","after":"a9505d8a9eeeb4e44d86c4086bf37e631bbff2fd","ref":"refs/heads/master","pushedAt":"2023-07-14T21:32:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Update cmd_args.py","shortMessageHtmlLink":"Update cmd_args.py"}},{"before":"812b7a1bfb55c938254cdde64cf9f84c997058e7","after":"0acab4ac618221a58b0a100ad7798a687c0d9b6f","ref":"refs/heads/master","pushedAt":"2023-07-14T21:28:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Update paths_internal.py","shortMessageHtmlLink":"Update paths_internal.py"}},{"before":"e4684c464769f7e29e67e6234455be1a295937f2","after":"812b7a1bfb55c938254cdde64cf9f84c997058e7","ref":"refs/heads/master","pushedAt":"2023-07-14T02:08:56.686Z","pushType":"push","commitsCount":287,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}},{"before":"e4684c464769f7e29e67e6234455be1a295937f2","after":"812b7a1bfb55c938254cdde64cf9f84c997058e7","ref":"refs/heads/master","pushedAt":"2023-07-14T02:08:56.000Z","pushType":"push","commitsCount":287,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}},{"before":"22bd96026d707cedd46e0668146ec985c1fc1792","after":"e4684c464769f7e29e67e6234455be1a295937f2","ref":"refs/heads/master","pushedAt":"2023-06-01T09:20:18.494Z","pushType":"push","commitsCount":2,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'master' of https://github.com/martianunlimited/stable-diffusion-webui-ux","shortMessageHtmlLink":"Merge branch 'master' of https://github.com/martianunlimited/stable-d…"}},{"before":"229ecee52e44af8e175c66f71bc75014f9f0ea8c","after":"22bd96026d707cedd46e0668146ec985c1fc1792","ref":"refs/heads/master","pushedAt":"2023-05-31T05:50:53.330Z","pushType":"push","commitsCount":346,"pusher":{"login":"martianunlimited","name":null,"path":"/martianunlimited","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9023686?s=80&v=4"},"commit":{"message":"Merge branch 'anapnoe:master' into master","shortMessageHtmlLink":"Merge branch 'anapnoe:master' into master"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD6LWy9AA","startCursor":null,"endCursor":null}},"title":"Activity · martianunlimited/stable-diffusion-webui-ux"}