Commit Graph

1078 Commits (e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92)

Author SHA1 Message Date
Vladimir Mandic 936cf9786c create_ui and process refactor 2023-12-15 18:54:48 -05:00
Vladimir Mandic b96fbd8f95 add img2img_apply_overlay 2023-12-14 10:09:55 -05:00
Vladimir Mandic 033569cfb1 minor updates 2023-12-12 14:36:00 -05:00
Disty0 ac85b3a423 Add OpenVINO cache path option to System Paths 2023-12-11 19:18:30 +03:00
Vladimir Mandic 4823595dc9 minor fixes 2023-12-10 10:27:44 -05:00
Vladimir Mandic f49e66577a lint fixes 2023-12-08 12:27:00 -05:00
Disty0 dc56ea140a Update shared opts 2023-12-08 19:10:08 +03:00
Vladimir Mandic 66f7a9af82 add lora_force_diffusers and lora_fuse_diffusers 2023-12-08 10:43:50 -05:00
Vladimir Mandic bd64bac2a3 update ip-adapter, schedulers and xyz-grid 2023-12-07 12:41:11 -05:00
Vladimir Mandic 71743dfda3 add playground models 2023-12-06 10:48:42 -05:00
Vladimir Mandic 2b49dae74f en load improvements, torchvision compatibility fix 2023-12-04 18:32:52 -05:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -05:00
Vladimir Mandic 84d733f0a0 add stable-video-diffusion 2023-11-30 11:21:26 -05:00
Vladimir Mandic d8d8f58072 initial lightweight animatediff 2023-11-28 19:30:10 -05:00
Vladimir Mandic 49f8730814 fix save text file for manually saved images 2023-11-27 08:07:12 -05:00
Vladimir Mandic 9edfc987e0 add task_args 2023-11-24 08:32:06 -05:00
Vladimir Mandic fd9d747a47 force inpaint 2023-11-22 12:28:35 -05:00
Disty0 bd141bbfeb IPEX decrease Torch GC Threshold to 80 2023-11-21 16:47:35 +03:00
Vladimir Mandic 606e4d5c08 configurable hf cache 2023-11-18 08:46:59 -05:00
Vladimir Mandic d46dddd024 fix upscale and add some compile options 2023-11-17 16:59:33 -05:00
Vladimir Mandic 53691c993e xyz formatting 2023-11-16 15:52:33 -05:00
Vladimir Mandic 12cf688cbe authentication and locking improvements 2023-11-16 15:26:36 -05:00
Disty0 d7410655cf Cleanup 2023-11-16 00:19:32 +03:00
Disty0 247a30a42c OpenVINO disable model caching 2023-11-15 23:45:53 +03:00
Vladimir Mandic 882da270e9 add SD_LORA_DIFFUSERS 2023-11-13 18:42:02 -05:00
Disty0 7d6ace5a4c Disable precompile for OpenVINO 2023-11-13 20:29:49 +03:00
Vladimir Mandic a0b8bcf63b refactor model compile and add stable-fast 2023-11-13 12:25:45 -05:00
Vladimir Mandic f1862579fd cleanup compile 2023-11-13 09:27:57 -05:00
Vladimir Mandic 8432e68d30 add extra networks list view 2023-11-03 13:55:40 -04:00
Disty0 996344c6f7 OpenVINO support for ESRGAN Upscaler and Torch 2.1 2023-11-03 14:24:13 +03:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic 96a138fe3c handle k-diffusion module 2023-10-31 11:42:32 -04:00
Vladimir Mandic cc7ad5e8de cleanup 2023-10-31 10:39:32 -04:00
Vladimir Mandic 76dc94010f enable taesd for lcm 2023-10-31 10:04:09 -04:00
Vladimir Mandic 8734445ae9 add models-dir to settings and simplify path improts 2023-10-30 08:31:42 -04:00
Vladimir Mandic 05a250cbf7 update 2023-10-29 11:22:26 -04:00
Seunghoon Lee db58f1f2ba
add prefix for directml specific option 2023-10-28 14:24:33 +09:00
Vladimir Mandic 267905e6bb Revert "Merge pull request #2411 from vladmandic/master"
This reverts commit 64cce8a606, reversing
changes made to 597fc1863f.
2023-10-26 07:30:01 -04:00
Vladimir Mandic 5219daa7fb Revert "Merge branch 'dev' into master"
This reverts commit 4b91ee0044, reversing
changes made to fc7e3c5721.
2023-10-26 07:17:40 -04:00
Vladimir Mandic 2522bdeedb redesign job state and progress bar 2023-10-24 22:02:46 -04:00
Vladimir Mandic 11834888c4 fix v_preditction 2023-10-24 14:12:02 -04:00
Disty0 dbd0bf4bac Add custom pipeline support for Diffusers backend 2023-10-24 20:12:40 +03:00
Seunghoon Lee 07a0d081e5
nan catch as an option 2023-10-22 18:39:27 +09:00
Disty0 0c70e6e595 Add compile support for upscalers 2023-10-22 00:29:37 +03:00
Vladimir Mandic df7c04ab27 add keep-interrupted option 2023-10-20 11:51:47 -04:00
Disty0 7b63e4c911 OpenVINO replace MULTI device with HETERO 2023-10-20 18:28:13 +03:00
Vladimir Mandic 3794af95c5 add a1111 compatibility items 2023-10-20 08:19:37 -04:00
Vladimir Mandic 6bda4fbc71 use short model name and update hints 2023-10-19 11:43:29 -04:00
Vladimir Mandic 231ca1ac7e fixes for zero-day issues 2023-10-18 11:37:33 -04:00
Vladimir Mandic cb2efb120a safe mode disable built-in 3rd party extensions 2023-10-17 09:35:16 -04:00
Vladimir Mandic c77bd7dcef a1111 compatibility items 2023-10-17 09:22:40 -04:00
Vladimir Mandic bb912c35f9 redesign live preview and bring full quality toggle to original backend 2023-10-16 14:07:00 -04:00
Vladimir Mandic 21595ee9e7 lint cleanup 2023-10-16 12:07:37 -04:00
Vladimir Mandic 44f817acc6 workaround for civitai helper 2023-10-16 11:02:02 -04:00
Vladimir Mandic b50710bf33 reduce debug log 2023-10-14 17:32:27 -04:00
Vladimir Mandic 74fb8fba3e extension curation 2023-10-13 15:30:51 -04:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic 8d417987c5 fix sampler options 2023-10-12 09:10:43 -04:00
Vladimir Mandic 20c2d83ad7 refactor filename pattern handling 2023-10-11 11:38:23 -04:00
Vladimir Mandic bfdafb6215 extension compatibility patches 2023-10-10 10:12:31 -04:00
Vladimir Mandic 49c58a0c06 gradio update phase one 2023-10-09 14:45:25 -04:00
Vladimir Mandic d951007d21 add motd 2023-10-09 08:46:48 -04:00
Vladimir Mandic f2fc41cfc2 refactor lora load/unload 2023-10-08 12:00:51 -04:00
Vladimir Mandic 65dfed93a1 add process batch 2023-10-08 07:25:45 -04:00
Vladimir Mandic 435a8af57c
Merge branch 'dev' into vlad3 2023-10-08 07:16:10 -04:00
Vladimir Mandic a47c4cf04d update settings and fix references to state 2023-10-06 17:18:42 -04:00
Vladimir Mandic 3c794fa124 typos 2023-10-06 16:15:26 -04:00
Vladimir Mandic 2ec797472b add hypertile 2023-10-06 16:10:56 -04:00
Vladimir Mandic 35caccd3bd add free-u 2023-10-06 12:37:26 -04:00
Disty0 c3df104cde Move OpenVINO options to Model Compile 2023-10-06 01:37:24 +03:00
Disty0 e178ab89ee OpenVINO add disable caching option 2023-10-06 01:33:07 +03:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic 1369c4d714 initial built-in styles 2023-10-04 16:06:02 -04:00
Vladimir Mandic 30fe75f205 fix recently broken extension js code loading 2023-10-04 12:35:18 -04:00
Vladimir Mandic 1e8205fbb1 bring metadata apply to speed 2023-10-04 11:10:47 -04:00
AI-Casanova 322357fff6
Update shared.py 2023-10-03 20:33:49 -05:00
Vladimir Mandic 1e70a1ae57 civitai multithreaded downloads 2023-10-03 10:46:00 -04:00
Symbiomatrix 5874b81c23
Add setting for batch frames. 2023-10-03 17:30:43 +03:00
Vladimir Mandic 578d270cab fix save image json 2023-10-02 17:51:47 -04:00
Vladimir Mandic 9a5f339082 add compact view 2023-10-02 07:56:11 -04:00
Vladimir Mandic 6ea5c177e7 add downloader 2023-10-01 10:35:49 -04:00
Disty0 f11cf4b29a OpenVINO add Multi GPU option 2023-09-30 12:48:21 +03:00
Vladimir Mandic 965e5a95f1 refactor diffusers tasks 2023-09-29 14:13:30 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic 23593d5442 en styles phase two 2023-09-28 14:33:20 -04:00
Disty0 5edf481c8d Add Torch GC threshold slider 2023-09-28 14:38:22 +03:00
Vladimir Mandic 2cd5964c9b add sigma min/max 2023-09-27 12:06:14 -04:00
Vladimir Mandic d67152cab4 cleanup upscaler settings 2023-09-27 09:24:23 -04:00
Vladimir Mandic ef0e8a5161 upscaler caching and ti model detection 2023-09-27 08:49:04 -04:00
Vladimir Mandic dbdb43cf27 refactor samplers 2023-09-25 19:46:12 -04:00
Disty0 4ba2e23dd2 IPEX Optimizations 2023-09-26 00:28:41 +03:00
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic 0afcfe6097 logger early init 2023-09-23 23:44:34 -04:00
Vladimir Mandic f69625625b add browser session info 2023-09-22 21:01:07 -04:00
Vladimir Mandic 4e7ad0e15a diffusers better model autodetect 2023-09-22 10:28:10 -04:00
Vladimir Mandic 4518cfb3b1 refactor schedulers first part 2023-09-21 13:19:55 -04:00
Vladimir Mandic 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic b00c323c31 update changelog 2023-09-21 07:52:09 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Vladimir Mandic 4d9ccbc035 add batch info to metadata 2023-09-19 11:13:40 -04:00
Disty0 c33bbc83e7 Update OpenVINO 2023-09-19 11:19:32 +03:00
Vladimir Mandic 7ae304f76e cleanup settings 2023-09-18 21:24:40 -04:00
Vladimir Mandic 7e298b2039 reenable sequential lora apply 2023-09-18 15:27:39 -04:00
Vladimir Mandic ef91976165 switch to native r-esrgan and modelloader 2023-09-18 15:21:11 -04:00
Vladimir Mandic 0f3dc232c1 add en show/hide/reorder 2023-09-18 10:27:31 -04:00
Vladimir Mandic 792893e68e fix filename gen 2023-09-17 15:36:05 -04:00
Vladimir Mandic d1302c09e3 update pre-commit and fix ops 2023-09-17 15:06:21 -04:00
Disty0 e0c8d37d5e Fix DPM SDE and update IPEX defaults 2023-09-17 16:14:40 +03:00
Vladimir Mandic 3c3b3b9291 simplify ti loading 2023-09-16 13:46:40 -04:00
Disty0 793b5f4921 OpenVINO Lora support 2023-09-16 16:10:02 +03:00
Disty0 71631b7a36 Diffusers add DPM SDE sampler 2023-09-16 13:48:22 +03:00
Vladimir Mandic 2309398be8 temp fix sdxl lora 2023-09-15 11:38:38 -04:00
Vladimir Mandic c7f3f57093 fix hires preview 2023-09-15 09:50:45 -04:00
Vladimir Mandic fc75b5ec41 add wuerstchen model 2023-09-14 11:51:09 -04:00
Vladimir Mandic a1120666d8 fix styles and console logging 2023-09-13 16:50:03 -04:00
Vladimir Mandic 08f594a54b fix missing paths 2023-09-13 11:26:28 -04:00
Vladimir Mandic 7439272219 redesign ui defaults 2023-09-13 09:04:55 -04:00
Vladimir Mandic 250d1bf2fb update hints 2023-09-10 13:05:31 -04:00
Disty0 4898c0ffa7 Fix inference-mode 2023-09-10 12:00:52 +03:00
Vladimir Mandic 7bda411738 improve styles, better logging 2023-09-09 13:47:46 -04:00
Vladimir Mandic b94556260a fix postprocessing file name pattern 2023-09-08 13:56:05 -04:00
Vladimir Mandic 29d88cf557 cleanup logging 2023-09-08 13:29:33 -04:00
Vladimir Mandic f36c1eb476 jumbo patch 2023-09-08 13:01:20 -04:00
Vladimir Mandic 5b41115bc8 fix settings refresh button 2023-09-08 08:34:27 -04:00
Vladimir Mandic 0194620ec2 cleanup options 2023-09-08 07:59:58 -04:00
Disty0 9cadf4fc10 IPEX fix and make SDP default 2023-09-08 03:51:44 +03:00
Vladimir Mandic c81a909e85 fix theme enum and preview 2023-09-07 11:30:57 -04:00
Vladimir Mandic 09b4c79f4a add job info to all jobs 2023-09-07 10:40:07 -04:00
Vladimir Mandic 241b47fa72 fix en description style 2023-09-07 09:22:43 -04:00
Vladimir Mandic 9d42d7d678 fix lyco patch and validate settings 2023-09-07 08:54:11 -04:00
Vladimir Mandic a9e1347b85 make extension disabling for diffusers temporary 2023-09-07 07:39:15 -04:00
Vladimir Mandic ac267d7f3f add light theme, enhance profilng and logging 2023-09-06 13:23:14 -04:00
Aptronymist e3268bf6c4 Revert "update settings"
This reverts commit e442172423.
2023-09-06 11:07:51 -04:00
Aptronymist e442172423 update settings
last minute updates
2023-09-06 10:44:19 -04:00
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