Commit Graph

1094 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Vladimir Mandic e9055c7cd8 major refactor 2023-09-04 11:31:29 -04:00
Vladimir Mandic 088878f0ca add black-teal theme 2023-09-03 16:36:35 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Vladimir Mandic 1b2890d02c extra network tags 2023-09-01 11:51:22 -04:00
Vladimir Mandic 106075e609
Merge pull request #2118 from Aptronymist/master
Settings reorganization - Postprocessing
2023-09-01 06:51:05 -04:00
Aptronymist dee11a3dfe fixed order 2023-08-31 17:12:11 -04:00
Aptronymist df37e970a1 added separator 2023-08-31 14:54:50 -04:00
Vladimir Mandic ce0be4a216 renames 2023-08-31 14:30:44 -04:00
Disty0 5856aa00e9 OpenVINO disable VAE Tiling 2023-08-31 19:32:23 +03:00
Vladimir Mandic 603ff9fc75 minor fixes 2023-08-31 12:00:29 -04:00
Aptronymist 4668e0d937 rearrangement 2023-08-30 14:10:07 -04:00
Aptronymist f1b27ee6d0 preliminary settings reorg
moved around some options regarding images, consolidated image processing, post processing, and upscaling
2023-08-30 13:13:48 -04:00
Vladimir Mandic df65df3f36 minor fixes 2023-08-30 09:45:47 -04:00
Vladimir Mandic d45e6a04cd improve vae reload 2023-08-30 08:49:27 -04:00
Vladimir Mandic 7dc4460fdc separate model type detection for base and refiner 2023-08-29 17:36:07 -04:00
Vladimir Mandic 10f345f09b handle loading invalid model or pipeline 2023-08-29 15:59:57 -04:00
Vladimir Mandic 9e2e2b8b8f fix gallery, update js logging, add en caching 2023-08-29 14:16:37 -04:00
Vladimir Mandic 348943fcee revert defaults changes 2023-08-29 11:03:21 -04:00
Aptronymist 90afba372c Default Settings Update
Modified default settings to enable some often unused features, changed default image output to png, various performance increasing options on by default at moderate settings. Upscaling and background removal enabled by default so they're visible on the image options panel. Changed default extra networks view to cover with 100% height, sidebar changed to 60% width by default from 35%.
2023-08-28 13:59:06 -04:00
Vladimir Mandic 48c0ce9b2b fix model lookups 2023-08-27 08:01:29 +00:00
Vladimir Mandic c4263da0e6 fix refiner reload/unload 2023-08-26 13:35:59 +00:00
Vladimir Mandic 0512e2973c refactor settings ui 2023-08-24 10:01:39 +02:00
Disty0 863fa38c24 OpenVINO fix model reloading 2023-08-23 00:31:43 +03:00
Vladimir Mandic 6a4d4ea5b7 update logging and model hashinh 2023-08-22 18:28:09 +00:00
Disty0 80d2cc46e8 Add precompile as an option 2023-08-22 13:21:25 +03:00
Disty0 374307dd8a Cleanup 2023-08-22 10:39:38 +03:00
Disty0 e70520efa9 Add --use-openvino 2023-08-22 03:02:19 +03:00
Vladimir Mandic 464810be9f fix unknown settings 2023-08-21 06:06:01 +00:00
Vladimir Mandic 4826197d5b
Merge pull request #2047 from vladmandic/master
update dev
2023-08-20 14:43:09 +02:00
Disty0 1666ee68ad IPEX change default dtype to BF16 2023-08-19 19:44:58 +03:00
Vladimir Mandic 87bb354f4c implement hires for diffusers 2023-08-19 12:25:41 +00:00
Vladimir Mandic 5eac99d3f5 optimize diffusers memory handling 2023-08-18 20:41:34 +00:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Disty0 66394c8cd9 IPEX add OpenVINO as compile backend 2023-08-14 21:54:21 +03:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Vladimir Mandic 0b5dd46d79
Merge pull request #1976 from tcmaps/master
pip --no-cache-dir
2023-08-10 08:28:02 +02:00
Vladimir Mandic e2b0d981ac quick taesd vae decode 2023-08-09 09:34:59 +00:00
Disty0 6760fd1525 Add TAESD VAE option for base image outputs 2023-08-07 21:37:58 +03:00
Vladimir Mandic 0a3e821067 diffuser auto-pipeline and fix vae 2023-08-07 17:19:30 +00:00
Disty0 9d17cf4c12 IPEX Diffusers fix can't allocate 4GB+ with SDP 2023-08-07 19:50:39 +03:00
Vladimir Mandic 5fd3c5ba01 update lora methods 2023-08-07 14:52:19 +02:00
Vladimir Mandic 9be641d431
Merge pull request #1952 from AI-Casanova/kohya
Enable side loading of multiple Kohya-style LoRA for SDXL
2023-08-07 14:42:30 +02:00
Vladimir Mandic dc739b9f50 fix taesd for original backend 2023-08-06 07:07:00 +00:00
AI-Casanova df18ad4eb1 Enable side loading of multiple Kohya-style LoRA for SDXL 2023-08-05 14:54:50 +00:00
Vladimir Mandic 4234555566 update 2023-08-05 14:37:09 +00:00
Disty0 489d0382cf IPEX Diffusers fix cannot allocate more than 4GB 2023-08-05 17:26:18 +03:00
Vladimir Mandic 7c4fdbff1b update taesd 2023-08-05 08:56:45 +02:00
Disty0 5f5a564d41 Update compile settings 2023-08-03 22:38:43 +03:00
Disty0 44b17b7418 Add compile type option 2023-08-03 17:51:29 +03:00
Disty0 4535a99fff Model compile support for IPEX 2023-08-03 17:25:15 +03:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
Seunghoon Lee 8787f36b2c
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-08-01 02:03:51 +09:00
Seunghoon Lee d711880aa9
New option for DirectML: memory stats provider.
1. Performance Counter.
    Get vram size allocated to & used by python.exe from pdh.dll.
    Generation can be slower than atiadlxx.
    Use memory less greedy then atiadlxx.
    Windows only.
2. atiadlxx.
    Get max vram size and available vram size from AMD GPU driver (atiadlxx.dll).
    Use memory more greedy than Performance Counter.
    Windows & WSL are supported.
3. None.
    Assume available vram size is 8GB.
    Use memory regardless of current vram usage.
2023-08-01 01:58:04 +09:00
Disty0 8ffaea76ba Add Diffusers model and VAE variant loading option 2023-07-31 14:39:41 +03:00
Disty0 38ecfb6dff Add Move UNet to CPU option 2023-07-29 18:58:08 +03:00
Seunghoon Lee 0f44332e5c
Make sequential CPU offload available for non-CUDA
Add settings override for DirectML.
Move `devices.set_cuda_params()` to correct line.
2023-07-28 23:11:57 +09:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic 62bc9482e6 update themes 2023-07-26 12:47:04 -04:00
Vladimir Mandic 660c449e08 update themes 2023-07-26 12:17:49 -04:00
Vladimir Mandic c5b089cbb6 major ui simplification 2023-07-26 11:39:58 -04:00
Vladimir Mandic 7bee313bb3 rename 2023-07-24 19:52:50 -04:00
Seunghoon Lee d4aa840a77
DirectML update.
DirectML reuses GPU memory instead of returning it.
So prints "practical" GPU memory utilization too.
2023-07-24 16:10:01 +09:00
Vladimir Mandic 567faeb751 diffusers img2img and inpaint 2023-07-22 15:39:41 -04:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic b31fa98669 fixes... 2023-07-21 09:28:02 -04:00
Vladimir Mandic a3ab302f51 fix extensions reset 2023-07-20 09:52:21 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Vladimir Mandic 4e48173e37 enable sdxl vae 2023-07-16 17:58:08 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Vladimir Mandic 55c0269032 minor fixes 2023-07-15 10:18:08 -04:00
Seunghoon Lee 0a52c44e73
DirectML rework & provide GPU memory usage (AMD only). 2023-07-15 18:55:38 +09:00
Seunghoon Lee b92649592a
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-07-15 16:19:46 +09:00
Seunghoon Lee 578f206bf7
DirectML rework. 2023-07-15 16:19:38 +09:00
Vladimir Mandic 02eac9fad3 minor fixes 2023-07-14 20:22:34 -04:00
Vladimir Mandic b1563f0ddd readd js dummy function 2023-07-14 16:45:27 -04:00
Vladimir Mandic 8b24efe1b5 rework diffusers args as and introduce second pass as replacement for hires 2023-07-14 15:00:46 -04:00
Vladimir Mandic d607ac50f6 and fix initial options 2023-07-14 08:55:41 -04:00
Vladimir Mandic a4c35b0791 fix initial backend 2023-07-14 08:53:21 -04:00
Vladimir Mandic 7bb6c213de unconditional options init 2023-07-14 08:49:19 -04:00
Vladimir Mandic c55024fe1b set backend persist restarts 2023-07-13 11:53:23 -04:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 72048f9e24 installer and extra networks tweaks 2023-07-10 08:19:33 -04:00
Vladimir Mandic 85a197ca52 update hints 2023-07-09 16:11:11 -04:00
Vladimir Mandic a16eee1504 bugfix release 2023-07-09 10:06:47 -04:00
Vladimir Mandic 8490cbf65e post merge cleanup 2023-07-08 14:05:55 -04:00
Vladimir Mandic 0f4f8c6015 extra networks fixes 2023-07-07 20:20:48 -04:00
Vladimir Mandic 3e1a6a96d0 add additional pipelines 2023-07-07 09:38:19 -04:00
Vladimir Mandic 9f96d4f657 update notes 2023-07-06 20:21:01 -04:00
Vladimir Mandic 7e11ff2b34 add sdxl support 2023-07-06 19:26:43 -04:00
Vladimir Mandic d30a55e523 fix settings again 2023-07-05 11:54:49 -04:00
Vladimir Mandic cc69c3f89f init samplers config regardless of pipeline 2023-07-05 11:21:02 -04:00
Vladimir Mandic be0bfbcd27 fix samplers config 2023-07-05 11:00:29 -04:00
Vladimir Mandic 2524b6659c double package install pass 2023-07-04 16:04:22 -04:00
Vladimir Mandic a0e1c898b7 fix argparse 2023-07-04 15:50:44 -04:00
Vladimir Mandic 191da73d48 diffuser sampler settings 2023-07-04 14:10:31 -04:00
Vladimir Mandic 18ef9e6fd7 redo diffusers scheduler 2023-07-04 13:07:05 -04:00
Vladimir Mandic b216a35ddd update diffusers and extra networks 2023-07-04 09:28:48 -04:00
Vladimir Mandic 8374f08de8 fix pipeline 2023-07-03 17:40:50 -04:00
Vladimir Mandic 8241e33868 major diffusers update 2023-07-03 16:48:03 -04:00
Vladimir Mandic cc685a8729 wip diffusers 2023-07-02 21:07:26 -04:00
Vladimir Mandic a2caafe4df initial diffusers merge into dev 2023-07-02 14:04:54 -04:00
Vladimir Mandic d61b0cfd4c update extra networks 2023-07-02 07:43:01 -04:00
Vladimir Mandic fbbb56f6ca dissalow ckpt option 2023-07-01 16:12:38 -04:00
Vladimir Mandic 6e89d3b867 css optimizations 2023-07-01 15:57:10 -04:00
Vladimir Mandic 9390049288 extra options in filename pattern 2023-07-01 10:08:57 -04:00
Vladimir Mandic 8000d1965d new extra networks 2023-06-30 15:29:31 -04:00
Vladimir Mandic 05a9f5a892 create extra network thumbnails from previews 2023-06-28 14:55:42 -04:00
Vladimir Mandic 5a341b1182 add log monitoring 2023-06-28 10:35:15 -04:00
Disty0 102503a3a4 Fix ControlNet and change to sub-quad on ipex 2023-06-27 15:17:13 +03:00
Vladimir Mandic 9740b9d217 new training and models interface 2023-06-22 07:46:48 -04:00
Vladimir Mandic 5808b7a6ea update settings and hints 2023-06-17 08:13:19 -04:00
Vladimir Mandic eae813bc56 make image metadata optional 2023-06-16 11:39:09 -04:00
Vladimir Mandic c52c63128b handle sending of deleted images 2023-06-15 14:08:12 -04:00
Vladimir Mandic ae582557b7 fix sd model dict xyz 2023-06-15 08:04:22 -04:00
Vladimir Mandic 0ddf613b49 jumbo merge part two 2023-06-14 11:23:02 -04:00
Vladimir Mandic 4951ed15f2 cleanup 2023-06-13 13:04:27 -04:00
Vladimir Mandic 1d9e490ef9 ruff linting fixes 2023-06-13 12:22:39 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 033ca1acd1 additional hints 2023-06-12 13:55:19 -04:00
Vladimir Mandic f89a4d6560 new hints display 2023-06-12 09:37:18 -04:00
Alex Heller cba227f19c Removed extraneous space added accidentally 2023-06-09 22:06:15 +02:00
Alex Heller bb04bc5dc7 Reverted linendings to original file linendings 2023-06-09 02:38:10 +02:00
Alex Heller 89ffca0c88 Merge branch 'master' of https://github.com/vladmandic/automatic into settings-improvements 2023-06-08 19:52:14 +02:00
Alex Heller f47444edc5 Removed double use of `ui` id in setting tabs 2023-06-08 17:50:48 +02:00
Vladimir Mandic aaa0d46286 update installer and add sd_model_dict 2023-06-07 13:26:21 -04:00
Vladimir Mandic 2a664b1bdb new localization engine 2023-06-06 17:32:34 -04:00
Vladimir Mandic efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Vladimir Mandic c0a824d8c6 add extra networks to xyz 2023-06-05 10:32:08 -04:00
Alex Heller 1b90460a3f Merge remote-tracking branch 'upstream/master' into settings-improvements 2023-06-05 02:52:29 +02:00
Alex Heller 8c6ed7fe11 Added support for differentiation between "default unsaved" and "changed" settings. 2023-06-05 00:57:30 +02:00
Alex Heller a1881ff0cd Consolidated options metadata in frontend ui.js 2023-06-04 23:40:11 +02:00
Vladimir Mandic 7301566353 fix image save to subfolder 2023-06-04 08:00:57 -04:00
Disty0 8bef48e501 Fix GroupNorm.forward with IPEX 2023-06-04 12:22:56 +03:00
Alex Heller 6c8e7a75c7 Added initial sync of unstored parameters to the UI. 2023-06-04 04:39:48 +02:00
Vladimir Mandic 5190f70283 reorg settings 2023-06-03 14:02:21 -04:00
Vladimir Mandic c7051cc1dd extra error handling during image save 2023-06-03 09:05:01 -04:00
Vladimir Mandic 299f1229d4
Merge pull request #1277 from cool-bigdogs-tshirt/bigdog/sliced-vae-encode
add new VAE encoding strategy during HR fix
2023-06-02 20:54:09 -04:00
cool-bigdogs-tshirt 3889e5a5b0 add new VAE encoding strategy during HR fix 2023-06-02 19:35:57 -05:00
Vladimir Mandic 1f988d1df6 cleanup 2023-06-02 19:39:44 -04:00
Vladimir Mandic d25b020f61 update 2023-06-02 12:29:21 -04:00
Vladimir Mandic 251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vladimir Mandic 02c9640fa5 enhance image saving 2023-06-01 15:44:38 -04:00
Vladimir Mandic fcb9bde068 add pause button 2023-05-31 11:47:22 -04:00
Vladimir Mandic 873371f1e5 merge stage one 2023-05-30 14:13:29 -04:00
Vladimir Mandic 5f1fd7bd66 update common ui 2023-05-29 13:43:03 -04:00
Vladimir Mandic 7254925dca add settings search 2023-05-28 11:46:48 -04:00
Vladimir Mandic efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Vladimir Mandic 1e07e871fb add get version method 2023-05-25 13:59:57 -04:00
Vladimir Mandic 9e66d88e21 add mps defaults 2023-05-24 15:21:49 -04:00
Vladimir Mandic 684851ae34 set default optimizer 2023-05-24 13:50:01 -04:00
Vladimir Mandic 5c516332d7 bug fixes 2023-05-23 18:48:37 -04:00
Vladimir Mandic ea0780339a fixes 2023-05-21 08:17:36 -04:00
Vladimir Mandic 335ad42fc8 fix segment delimiter 2023-05-20 09:35:14 -04:00
Vladimir Mandic 4c4e147baa fully localize data-dir 2023-05-19 15:23:26 -04:00
Vladimir Mandic 42280ef804 add theme mode toggle 2023-05-19 13:24:40 -04:00
Vladimir Mandic df65e8e30a update clip skip and attention normalization 2023-05-18 22:16:24 -04:00
Vladimir Mandic fef49279f8 update 2023-05-18 15:41:52 -04:00
Vladimir Mandic c1e70df845 follow symlinks 2023-05-18 07:36:38 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic 1ef3c69804 add compel parser 2023-05-17 08:29:04 -04:00
Vladimir Mandic 6936804474 add compatiblity prompt parser 2023-05-17 07:07:51 -04:00
Vladimir Mandic bce16a1db5 update lora 2023-05-16 12:24:04 -04:00
Vladimir Mandic 2f36350e24 refactor 2023-05-16 09:16:12 -04:00
Vladimir Mandic 7fe0587557 update cli 2023-05-15 16:55:10 -04:00
Vladimir Mandic e737419ba4 update 2023-05-15 13:05:05 -04:00
Vladimir Mandic 8350b93a5c add force latent sampler 2023-05-15 09:32:20 -04:00
Vladimir Mandic 85d67d6331 add interrupt to processing 2023-05-14 12:13:44 -04:00
khusain 730bb8335c Case-insensitive sorting for the list of themes 2023-05-14 10:53:04 -04:00
Vladimir Mandic 819d105d1d update cli 2023-05-13 15:21:00 -04:00
Vladimir Mandic d96ab6a1ae update directml 2023-05-13 11:21:11 -04:00
Vladimir Mandic 1921504e64 enable dynamo compile 2023-05-12 15:58:00 -04:00
Vladimir Mandic 62dda471a3 process images in threads 2023-05-12 14:21:26 -04:00
Vladimir Mandic 0a46f8ada7 enable per-extension update 2023-05-12 10:07:19 -04:00
Vladimir Mandic 5905fcb97e deduplicate themes 2023-05-11 19:43:30 -04:00
Vladimir Mandic 99b6133bc9 update requirements 2023-05-10 16:40:36 -04:00
Vladimir Mandic c5df80197e new extension manager 2023-05-10 15:12:02 -04:00
Vladimir Mandic 9f1004d2b6 fix tab ordering 2023-05-09 11:13:10 -04:00
Vladimir Mandic d7fdc5944c
Merge pull request #829 from froger-me/master
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency
2023-05-09 10:41:40 -04:00
Vladimir Mandic d8a2c32918 xyz grid optimizations 2023-05-09 10:41:23 -04:00
Alexandre Froger 2d7e9bdf54
Update shared.py
[Issue]: UniPC always here #822

remove PLMS from the samplers that can be selected/deselected since it should always be available
2023-05-09 21:16:07 +08:00
Vladimir Mandic 57ae792004 add ui ordering 2023-05-09 09:09:31 -04:00
Vladimir Mandic 0210830296 update noise multiplier 2023-05-08 09:27:50 -04:00
Vladimir Mandic 2af0e0c8a1 change temp files to image files 2023-05-08 09:27:50 -04:00
Vladimir Mandic 41182009cb switch some cmdopts to opts 2023-05-08 09:27:50 -04:00
Vladimir Mandic fe496f4ebc add train preprocess options 2023-05-05 09:06:06 -04:00
Vladimir Mandic c470f39913 merge fixes 2023-05-04 16:55:41 -04:00
Vladimir Mandic 303574ebfc draft full merge from upstream 2023-05-04 09:27:48 -04:00
Vladimir Mandic ba3a0827da minor formatting updates 2023-05-03 18:14:13 -04:00
Vladimir Mandic 5d8c787a7b restart server redesign 2023-05-03 17:20:22 -04:00
Vladimir Mandic e566fed3a1 fonts and upscale fix 2023-05-03 08:00:26 -04:00
Vladimir Mandic 6f976c358f optimize model load 2023-05-02 21:30:34 -04:00
Scott Mudge bfac50d113 fix issue with gradio UI not loading when google fonts API is not accessible 2023-05-02 17:37:13 -04:00
Vladimir Mandic e379da2f5f fix logger 2023-05-02 15:55:33 -04:00
Vladimir Mandic 568e700987
Merge pull request #606 from DrakeRichards/notification-sounds
Adding notification.mp3 support
2023-05-02 15:12:13 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Thomas Young f325594a65 Added notification sound settings 2023-05-01 18:05:25 -05:00
Vladimir Mandic 22da90d4b8 fix lora memory leak 2023-05-01 10:13:21 -04:00
Vladimir Mandic 4dc5941912 fix embedding logging 2023-04-30 21:01:49 -04:00
Vladimir Mandic d62ee69c75 cleanup installer 2023-04-30 12:01:25 -04:00
Disty0 68fc95b2e1 Merge remote-tracking branch 'upstream/master' 2023-04-30 18:28:22 +03:00
Vladimir Mandic 682330b172 new command line parser 2023-04-30 10:54:59 -04:00
Vladimir Mandic 917ecad43c add dynamo options 2023-04-30 09:31:38 -04:00
Vladimir Mandic d853a6679a
Merge pull request #632 from nekoworkshop/dev
Adding ToMe parameters to available x/y/z plot options
2023-04-30 09:09:27 -04:00
Vladimir Mandic b23b6a6e2c update ti folders 2023-04-30 08:55:47 -04:00
Disty0 5c76087b9d Revert force cross_attention_optimization 2023-04-30 15:30:15 +03:00
Disty0 b075d3c8fd Intel ARC Support 2023-04-30 15:13:56 +03:00
Seunghoon Lee 67c392027b
Merge pull request #622 from vladmandic/directml
Add DirectML backend.
2023-04-30 11:16:58 +09:00
Seunghoon Lee 93d638d8b8
Approx NN works fine. 2023-04-30 11:15:09 +09:00
Seunghoon Lee e65d74100f
Move/Remove hijacks. Add warning. 2023-04-30 11:12:47 +09:00
nekoworkshop c4936fc927 Extra information in ToMe related settings 2023-04-29 18:16:12 -04:00
Vladimir Mandic ba50dbbdbf add memory monitor 2023-04-29 17:36:45 -04:00
Seunghoon Lee ea2e57579f
Merge branch 'master' into directml 2023-04-30 00:45:33 +09:00
Vladimir Mandic 4e05d95ee0 fix prompts from file 2023-04-29 08:58:32 -04:00
Vladimir Mandic d3f0294bde update options 2023-04-28 22:01:29 -04:00
Vladimir Mandic 07a589b1b3 update settings 2023-04-28 09:52:29 -04:00
Vladimir Mandic 21ff7bad67 configurable train log 2023-04-28 09:42:19 -04:00
Vladimir Mandic bfe62127e9 update 2023-04-27 15:47:13 -04:00
Vladimir Mandic 1f6261be80 jumbo patch 2023-04-27 13:12:20 -04:00
Vladimir Mandic ba02d0c2e8 fix realesrgan path, secondary sampler 2023-04-27 09:22:10 -04:00
Vladimir Mandic def7a02d82 add asyncio handler 2023-04-26 16:08:56 -04:00
Vladimir Mandic e83708284a add shared.url 2023-04-26 15:55:18 -04:00
db c79fce182c support for macOS. 2023-04-26 21:27:28 +08:00
Seunghoon Lee 09ae33cdf7
Implement torch.dml.
VERY UNSTABLE & NOT TESTED.
2023-04-26 12:21:44 +09:00
Seunghoon Lee 8b1eadfb1a
Merge branch 'master' into directml 2023-04-25 23:23:12 +09:00
Seunghoon Lee eb072db23c
Add dml_specific. 2023-04-25 23:19:03 +09:00
Seunghoon Lee 53736ea7cb
fix 2023-04-25 23:07:25 +09:00
Seunghoon Lee db56da075a
need full precision for model & vae.
Stable & tested.
2023-04-25 23:04:52 +09:00
Seunghoon Lee 9dc8581ba0
Add hijack for DirectML.
Unstable & Under testing.
2023-04-25 21:22:47 +09:00
Vladimir Mandic 20b64aad7b update samplers 2023-04-24 16:16:52 -04:00
Seunghoon Lee a49a8f8b46
First DirectML implementation.
Unstable and not tested.
2023-04-25 01:43:19 +09:00
Vladimir Mandic 61a140c721
Merge pull request #452 from emirhnergn/master
Invert sampler selection process
2023-04-24 12:08:03 -04:00
Vladimir Mandic 579da8c9d5 add token merging and vae rollback 2023-04-24 12:05:21 -04:00
RedCore 8fbf2ab551 Merge branch 'master' of https://github.com/vladmandic/automatic 2023-04-24 18:48:45 +03:00
RedCore 4ed4f99d63 invert sampler selection process #447 2023-04-24 18:48:40 +03:00
Vladimir Mandic 5b9187d38b combo patch 2023-04-24 10:30:23 -04:00
Vladimir Mandic 176ac924af make tensorflow optional 2023-04-23 08:11:26 -04:00
Vladimir Mandic ec532ee91d
Merge pull request #383 from missionfloyd/extra-network-none
Add "None" option to extra networks dropdowns
2023-04-22 12:28:34 -04:00
Vladimir Mandic 30b5467bf0 extend system paths 2023-04-22 12:27:10 -04:00
Vladimir Mandic 4a848e43d3 add builtin gradio themes 2023-04-22 08:35:17 -04:00
Vladimir Mandic 5739c8892f
Merge pull request #256 from catboxanon/patch/sampler-schedule-fix
Patch/sampler schedule fix
2023-04-21 09:12:45 -04:00
papuSpartan 9e8dc9843c port to vlad 2023-04-21 03:18:08 -05:00
Vladimir Mandic 7939a1649d parse model preload 2023-04-20 23:19:25 -04:00
Vladimir Mandic 0e7144186d jump patch 2023-04-20 11:20:27 -04:00
Vladimir Mandic 93a9e7ba16 fix logger 2023-04-19 14:11:25 -04:00
Vladimir Mandic 955b841d0f fix temp folder 2023-04-19 10:59:20 -04:00
missionfloyd f4b332f041 Add "None" option to extra networks dropdowns 2023-04-18 17:01:46 -06:00
Vladimir Mandic ed32259bf7 reconnect ui on browser restart 2023-04-18 12:10:30 -04:00
Vladimir Mandic a975a6a03d disable gradio queues on demand 2023-04-18 08:06:16 -04:00
Vladimir Mandic f5a29752e7 add dynamic themes and preview 2023-04-17 13:49:18 -04:00
Vladimir Mandic b0cec1aeb8 fix urls 2023-04-16 21:51:11 -04:00
catboxanon 234fa9a57d
Update shared.py 2023-04-16 21:06:22 -04:00
catboxanon 81b276a1ea
Add second order samplers compat option 2023-04-16 20:39:18 -04:00
Vladimir Mandic 58df74cfd5 new middleware handler and ability to restart server on-the-fly 2023-04-16 15:57:00 -04:00
Vladimir Mandic b7e4b0414a fix loading gradio theme 2023-04-16 10:01:28 -04:00
Vladimir Mandic c42a00c327 add theme support 2023-04-16 08:49:27 -04:00
Vladimir Mandic 26034bf1a4
Merge branch 'master' into gradio-theme-support 2023-04-16 08:18:44 -04:00
Vladimir Mandic 4955a90c7b fix previews 2023-04-15 17:43:25 -04:00
Vladimir Mandic dd25f2f515 update setup 2023-04-15 17:22:58 -04:00
Vladimir Mandic 8cd7510530 separate user vs system extensions 2023-04-15 12:58:01 -04:00
Vladimir Mandic e14cba0771 add lycoris folder 2023-04-15 12:25:59 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic 27302938f1 update gradio and enhance tracebacks 2023-04-14 14:20:37 -04:00
Vladimir Mandic ab83245dd1 enable cmdflags compatibility and change default css font 2023-04-14 11:25:05 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
Vladimir Mandic a27e95ab31 update ui config 2023-04-13 08:29:01 -04:00
Vladimir Mandic 60caa8984f fix css and change default settings 2023-04-12 12:23:07 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Vladimir Mandic 0d18460fe8 add clip skip 2023-04-04 09:19:25 -04:00
Vladimir Mandic 61032b8d9b stricter linting 2023-03-30 12:11:18 -04:00
Vladimir Mandic 4301b03f50 reduce error logging 2023-03-29 13:16:13 -04:00
Vladimir Mandic 86b83fc956
Merge pull request #66 from AUTOMATIC1111/master
merge from upstream
2023-03-28 16:43:39 -04:00
space-nuko fc8e1008ea Make disable configurable between builtin/extra extensions 2023-03-27 12:44:49 -04:00
space-nuko 2a4d3d2124 Add temporary "disable all extensions" option for debugging use 2023-03-27 12:04:45 -04:00
Vladimir Mandic 4231cf42f6
Merge pull request #65 from AUTOMATIC1111/master
merge from upstream
2023-03-27 10:35:57 -04:00
AUTOMATIC1111 c5e1efb4ca
Merge pull request #8525 from bluelovers/pr/sort-001
feat: try sort as ignore-case
2023-03-27 07:34:18 +03:00
space-nuko c9647c8d23 Support Gradio's theme API 2023-03-25 16:11:41 -04:00
Vladimir Mandic 281be75629 initial css for new gradio 2023-03-25 11:47:52 -04:00
AUTOMATIC 8c801362b4 split commandline args into its own file
make launch.py use the same command line argument parser as the main program
2023-03-25 16:05:25 +03:00
Andrey 3ec7e19f2b Split history: mv temp modules/shared.py 2023-03-25 14:30:50 +03:00
Andrey 0450d90605 Split history: mv modules/shared.py temp 2023-03-25 14:30:50 +03:00
Karun 63a2f8d822
Merge branch 'master' into master 2023-03-25 05:12:55 -04:00
AUTOMATIC1111 90410e212f
Merge pull request #8814 from catboxanon/inpaint-mask
Add ability to display and/or save inpainting mask and masked composite
2023-03-25 11:21:45 +03:00
AUTOMATIC af2db25c84 enable queue by default
more stylistic changes
2023-03-25 09:00:37 +03:00
catboxanon caf84e8233 Expose inpainting mask and composite
For inpainting, this exposes the mask and masked composite and gives
the user the ability to display these in the web UI,
save to disk, or both.
2023-03-22 17:51:40 +00:00
Vladimir Mandic bd67c41f54
force refresh tqdm before close 2023-03-12 09:19:23 -04:00
bluelovers 0492424121 feat: try sort as ignore-case
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8368
2023-03-12 10:18:33 +08:00
AUTOMATIC 27e319dc4f alternative solution for #8089 2023-03-11 21:22:52 +03:00
AUTOMATIC1111 d3dd6cc01c
Merge pull request #8175 from vladmandic/image_size
adds checks for resulting image size to avoid memory issues
2023-03-11 16:45:35 +03:00
AUTOMATIC1111 f968270fec
Merge pull request #7812 from vladmandic/hide_ui_tabs
allow configurable hiding of ui tabs
2023-03-11 16:00:43 +03:00
AUTOMATIC1111 45905b92a9
Merge pull request #8100 from missionfloyd/webp-lossless
Add lossless webp option
2023-03-11 14:35:53 +03:00
AUTOMATIC aaa367e35c new setting: Extra text to add before <...> when adding extra network to prompt 2023-03-11 14:18:18 +03:00
AUTOMATIC1111 d81c503918
Merge pull request #8367 from pamparamm/scaled-dot-product-attention
Add scaled dot product attention
2023-03-11 12:24:03 +03:00
AUTOMATIC 58b5b7c2f1 add UniPC options to infotext 2023-03-11 12:09:36 +03:00
space-nuko 5fef67f6ee Requested changes 2023-03-10 19:56:14 -05:00
space-nuko ac38ad7e60 Merge remote-tracking branch 'origin/master' into unipc 2023-03-10 19:42:46 -05:00
Pam 0981dea948 sdp refactoring 2023-03-10 12:58:10 +05:00
Pam 37acba2633 argument to disable memory efficient for sdp 2023-03-10 12:19:36 +05:00
Pam fec0a89511 scaled dot product attention 2023-03-07 00:33:13 +05:00
Vladimir Mandic 3c6459154f
add check for resulting image size 2023-02-27 17:28:04 -05:00
missionfloyd aa108bd02a Add lossless webp option 2023-02-24 20:57:18 -07:00
EllangoK ca2b8faa83 custom height, width settings for extra networks 2023-02-19 14:38:22 -05:00
Vladimir Mandic 83829471de
make ui as multiselect instead of string list 2023-02-19 09:21:44 -05:00
Vladimir Mandic 8affa42588
Merge branch 'AUTOMATIC1111:master' into hide_ui_tabs 2023-02-19 09:19:25 -05:00
w-e-w c77f01ff31 fix auto sd download issue 2023-02-19 20:37:40 +09:00
AUTOMATIC1111 c3d5a6ed37
Merge pull request #7300 from Ju1-js/master
Gradio Auth - Read from External File
2023-02-19 13:02:05 +03:00
AUTOMATIC1111 fd4ac5187a
Revert "Aspect ratio sliders" 2023-02-19 10:55:39 +03:00
AUTOMATIC1111 b20f28eea9
Merge pull request #7601 from Gerschel/aspect_ratio_sliders
Aspect ratio sliders
2023-02-19 10:53:18 +03:00
AUTOMATIC1111 2a4f893570
Merge pull request #7727 from missionfloyd/face-restore-setting
Fix face restorers setting
2023-02-19 10:14:42 +03:00
AUTOMATIC fb2354cb2a reword settings for 4chan export, remove unneded try/excepts, add try/except for actually saving JPG 2023-02-19 10:12:45 +03:00
AUTOMATIC1111 e572c3ed38
Merge pull request #7564 from w-e-w/configurable_image_downscale
Configurable JPG downscale threshold
2023-02-19 10:01:42 +03:00
Vladimir Mandic a320d157ec
all hiding of ui tabs 2023-02-13 20:26:47 -05:00
RcINS 9e27af76d1 Fix DPM++ SDE not deterministic across different batch sizes (#5210) 2023-02-11 10:12:16 +08:00
missionfloyd bf9b1d64a3 Fix face restorers setting 2023-02-10 15:27:08 -07:00
space-nuko 06cb0dc920 Fix UniPC order 2023-02-10 05:36:41 -08:00
space-nuko 79ffb9453f Add UniPC sampler settings 2023-02-10 05:27:05 -08:00
Gerschel 374fe636b8 Squashed commit of the following:
commit b030b67ad005bfe29bcda692238a00042dcae816
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Wed Feb 8 16:38:56 2023 -0800

    styling adjustements

commit 80a2acb0230dd77489b0eb466f2efe827a053f6d
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Wed Feb 8 10:49:47 2023 -0800

    badge indicator toggles visibility by selection

commit 898922e025a6422ac947fb45c1fa4f1109882f0a
Merge: 745382a0 31bbfa72
Author: Gerschel <9631031+Gerschel@users.noreply.github.com>
Date:   Wed Feb 8 08:35:26 2023 -0800

    Merge pull request #1 from w-e-w/Rounding-Method

    Rounding Method

commit 31bbfa729a15ef35fa1f905345d3ba2b17b26ab9
Author: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date:   Wed Feb 8 19:41:45 2023 +0900

    use switch

commit 85dbe511c33521d3ac62224bf0e0f3a48194ce63
Author: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date:   Wed Feb 8 16:47:52 2023 +0900

    Rounding Method

commit 745382a0f4b8d16241545a3460d5206915959255
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 21:19:20 2023 -0800

    default set to round

commit 728579c618af30ec98a5af0991bd3f28bdaca399
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 21:17:03 2023 -0800

    cleaned some commented code out; added indicator

commit 5b288c24a1edd8a5c2f35214b9634316d05b8dae
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 18:19:00 2023 -0800

    needs cleaning; attempt at rounding

commit d9f18ae92b929576b0b8c5f1ef8b3b38e441e381
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 15:46:25 2023 -0800

    add rounding option in setting for aspect ratio

commit af22106802c9e42205649e4c71c23fcf5b8c62f6
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 13:18:45 2023 -0800

    added some ratios, sorted ratios by commonality

commit 11e2fba73cffe8cdbf4cd0860641b94428ca0e74
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Tue Feb 7 10:46:53 2023 -0800

    snaps to mulitples of 8 and along ratio

commit fa00387e07460b10ee82671a1bfa8687e00ee60b
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 14:54:59 2023 -0800

    updated slidercomponentcontroller

commit 8059bc111c3e2d1edb3314e05ab21b65120fa1dd
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 14:29:11 2023 -0800

    added step size adjustment on number field

commit 641157b9f27a874a24ee7b0a854a092e9eac3eec
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 14:12:03 2023 -0800

    added return step size to default when ratio is disabled

commit 5fb75ad28f2476f36100ec93922a8199adbd2a68
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 14:09:34 2023 -0800

    added step size adjustment

commit e33532883bc4709cd41c3775cbb646d1d5ab0584
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 11:56:15 2023 -0800

    adjusted dropdown size, padding, text-align

commit 81937329cee77f466c5a5b23c268d0c810128f84
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 11:39:57 2023 -0800

    added positioning and styling

commit 86eb4583782d92880a9a113a54ffbac9d92f3753
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date:   Mon Feb 6 08:54:45 2023 -0800

    fix typo in defaults; added preventDefault in event
2023-02-08 18:57:32 -08:00
Gerschel 5d483bf307 aspect ratio for dim's; sliders adjust by ratio
Default choices added to settings in user interface section
Choices are editable by user

User selects from dropdown.
When you move one slider, the other adjusts according to the ratio
chosen.
Vice versa for the other slider.

Number fields for changes work as well.

For disabling ratio, an unlock pad "🔓" is available as a default.
This string can be changed to anything to serve as a disable,
as long as there is no colon ":".

Ratios are entered in this format, floats or ints with a colon "1:1".
The string is split at the colon, parses left and right as floats to
perform the math.
2023-02-06 08:18:04 -08:00
w-e-w 6d11cda418 configurable image downscale
allowing the user to configure the image downscale parameters in setting
2023-02-05 23:12:42 +09:00
AUTOMATIC 81823407d9 add --no-hashing 2023-02-04 11:38:56 +03:00
Joey Sanchez 0426b34789 Adding default true to use_original_name_batch as images should by default hold the same name to help keep sequenced images in their correct order 2023-01-30 21:46:52 -05:00
AUTOMATIC ee9fdf7f62 Add --skip-version-check to disable messages asking users to upgrade torch. 2023-01-30 14:56:28 +03:00
AUTOMATIC f91068f426 change disable_weights_auto_swap to true by default 2023-01-30 00:37:26 +03:00
AUTOMATIC 938578e8a9 make it so that setting options in pasted infotext (like Clip Skip and ENSD) do not get applied directly and instead are added as temporary overrides 2023-01-30 00:25:30 +03:00
AUTOMATIC b7d2af8c7f add dropdowns in settings for hypernets and loras 2023-01-28 17:18:47 +03:00
Ju1-js dc25a31d1a Gradio Auth Read from External File
Usage: `--gradio-auth-path {PATH}`
It adds the credentials to the already existing `--gradio-auth` credentials. It can also handle line breaks.
The file should look like:
`{u1}:{p1},{u2}:{p2}`
or
```
{u1}:{p1},
{u2}:{p2}
```
Will gradio handle duplicate credentials if it happens?
2023-01-27 22:43:10 -08:00
Max Audron 5eee2ac398 add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
AUTOMATIC d2ac95fa7b remove the need to place configs near models 2023-01-27 11:28:12 +03:00
AUTOMATIC 7a14c8ab45 add an option to enable sections from extras tab in txt2img/img2img
fix some style inconsistenices
2023-01-26 23:31:32 +03:00
brkirch e3b53fd295 Add UI setting for upcasting attention to float32
Adds "Upcast cross attention layer to float32" option in Stable Diffusion settings. This allows for generating images using SD 2.1 models without --no-half or xFormers.

In order to make upcasting cross attention layer optimizations possible it is necessary to indent several sections of code in sd_hijack_optimizations.py so that a context manager can be used to disable autocast. Also, even though Stable Diffusion (and Diffusers) only upcast q and k, unfortunately my findings were that most of the cross attention layer optimizations could not function unless v is upcast also.
2023-01-25 01:13:04 -05:00
brkirch 84d9ce30cb Add option for float32 sampling with float16 UNet
This also handles type casting so that ROCm and MPS torch devices work correctly without --no-half. One cast is required for deepbooru in deepbooru_model.py, some explicit casting is required for img2img and inpainting. depth_model can't be converted to float16 or it won't work correctly on some systems (it's known to have issues on MPS) so in sd_models.py model.depth_model is removed for model.half().
2023-01-25 01:13:02 -05:00
Vladimir Mandic 04a561c11c
add option to skip interrogate categories 2023-01-23 12:29:23 -05:00
Vladimir Mandic efa7287be0
Merge branch 'AUTOMATIC1111:master' into interrogate 2023-01-23 12:25:07 -05:00
AUTOMATIC1111 171a5b3bb9
Merge pull request #7032 from gmq/extra-network-styles
Extra network view style
2023-01-23 18:46:37 +03:00
Vladimir Mandic 925dd09c91
improve interrogate 2023-01-23 09:03:17 -05:00
AUTOMATIC 3fa482076a Merge remote-tracking branch 'takuma104/xformers-flash-attention' 2023-01-23 16:01:53 +03:00
AUTOMATIC b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +03:00
Guillermo Moreno 66eef11ce7 feat(extra-networks): add default view setting 2023-01-22 12:18:21 -03:00
AUTOMATIC 35419b2746 add an option to reorder tabs for extra networks 2023-01-22 11:00:05 +03:00
AUTOMATIC 2621566153 attention ctrl+up/down enhancements 2023-01-22 08:07:18 +03:00
AUTOMATIC fe7a623e6b add a slider for default value of added extra networks 2023-01-22 00:02:52 +03:00
AUTOMATIC 63b824376c add --gradio-queue option to enable gradio queue 2023-01-21 18:47:54 +03:00
Takuma Mori 3262e825cc add --xformers-flash-attention option & impl 2023-01-21 17:42:04 +09:00
AUTOMATIC 6d805b669e make CLIP interrogator download original text files if the directory does not exist
remove random artist built-in extension (to re-added as a normal extension on demand)
remove artists.csv (but what does it mean????????????????????)
make interrogate buttons show Loading... when you click them
2023-01-21 09:14:27 +03:00
AUTOMATIC 40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
vt-idiot b271e22f7a
Update shared.py
`Witdth/Height` was driving me insane. -> `Width/Height`
2023-01-19 06:12:19 -05:00
AUTOMATIC 0f5dbfffd0 allow baking in VAE in checkpoint merger tab
do not save config if it's the default for checkpoint merger tab
change file naming scheme for checkpoint merger tab
allow just saving A without any merging for checkpoint merger tab
some stylistic changes for UI in checkpoint merger tab
2023-01-19 10:39:51 +03:00
AUTOMATIC1111 43fd6eaab8
Merge pull request #6851 from ddPn08/master
Add `--vae-dir` argument
2023-01-18 23:23:09 +03:00
AUTOMATIC 924e222004 add option to show/hide warnings
removed hiding warnings from LDSR
fixed/reworked few places that produced warnings
2023-01-18 23:04:24 +03:00