Commit Graph

4977 Commits (e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92)

Author SHA1 Message Date
Vladimir Mandic f6dd495eb3 multiple fixes 2023-11-09 09:04:50 -05:00
Vladimir Mandic 3c9c9cf471 fix paste parser 2023-11-08 12:21:36 -05:00
Vladimir Mandic 28365d6b69 fix forced filename 2023-11-08 12:09:09 -05:00
Vladimir Mandic a68f0bcbe4 rework prompt paste 2023-11-08 11:33:40 -05:00
Vladimir Mandic 8bcb14d0ac fix adetailer with controlnet 2023-11-08 08:35:13 -05:00
Vladimir Mandic a03d7ce99c fix manual save 2023-11-08 07:41:42 -05:00
Vladimir Mandic 00562a5084 cleanup model paths 2023-11-08 07:38:45 -05:00
Seunghoon Lee 924fae3d84
DirectML LCMScheduler fix 2023-11-08 17:30:24 +09:00
Vladimir Mandic af30c1e27c en error handler 2023-11-07 13:15:45 -05:00
AI-Casanova e112cb17b9 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-07 10:16:35 -06:00
Vladimir Mandic 56cf80b8e0 fix inpaint 2023-11-07 10:12:21 -05:00
Vladimir Mandic 1f068feb44 fix dpm sde 2023-11-07 09:35:54 -05:00
Vladimir Mandic e53db4e259 use ThreadPoolExecutor for extra networks 2023-11-07 08:00:44 -05:00
Vladimir Mandic 981acdb2a5 new diffusers callbacks 2023-11-06 15:26:15 -05:00
Vladimir Mandic 3062b1125e fix progress at zero 2023-11-06 14:20:16 -05:00
Vladimir Mandic 28ee8b4d57 improve preview lookups 2023-11-06 12:19:52 -05:00
Vladimir Mandic 152f45925e add pixart model 2023-11-06 10:12:33 -05:00
Vladimir Mandic cca69e526d update 2023-11-06 09:42:09 -05:00
AI-Casanova 515a546a91 Fix rebasin 2023-11-06 08:19:50 -06:00
AI-Casanova 44fcf8f4a2 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-05 19:47:25 -06:00
AI-Casanova 020d8ed1dc Add Merge Files Natively 2023-11-05 19:45:15 -06:00
Vladimir Mandic d878970873 add reference models 2023-11-05 11:07:39 -05:00
AI-Casanova 685f392967 Added Tabs 2023-11-05 07:10:05 -06:00
Vladimir Mandic 2919774c01 improve en display 2023-11-05 08:09:40 -05:00
Vladimir Mandic b2af7e0d95 lint updates 2023-11-04 13:20:22 -04:00
Vladimir Mandic 9f5cabe95f add user lora tags 2023-11-04 13:14:35 -04:00
Vladimir Mandic 6e05fa865a improve en performance 2023-11-04 12:58:45 -04:00
Vladimir Mandic ca0af39086 attempt to autofix nan values 2023-11-04 11:34:18 -04:00
Vladimir Mandic 418279ff7b native implementation for interrogator 2023-11-04 10:53:38 -04:00
Vladimir Mandic 413da5a14a tempfile handling 2023-11-03 18:26:12 -04:00
Vladimir Mandic 611598d22f cleanup 2023-11-03 18:12:10 -04:00
AI-Casanova 39a37597b5 Further UI Work 2023-11-03 14:55:57 -05:00
Vladimir Mandic 8432e68d30 add extra networks list view 2023-11-03 13:55:40 -04:00
Vladimir Mandic da3d5d0fc7 context menus 2023-11-03 11:41:46 -04:00
Disty0 996344c6f7 OpenVINO support for ESRGAN Upscaler and Torch 2.1 2023-11-03 14:24:13 +03:00
Vladimir Mandic 5debfd2f09 remove warning 2023-11-02 14:49:49 -04:00
Vladimir Mandic 53031fdfba fix k-diffusion 2023-11-01 13:41:54 -04:00
Vladimir Mandic eddcc360be support onnx branch and css tweaks 2023-11-01 11:48:17 -04:00
Vladimir Mandic e8d66a7d87 update note 2023-10-31 18:51:59 -04:00
Vladimir Mandic 072b870b3f work on taesd encode 2023-10-31 18:41:14 -04:00
Vladimir Mandic ec0d49acb7 css fixes 2023-10-31 13:53:52 -04:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic 4392e69431 fix clean install 2023-10-31 12:05:29 -04:00
Vladimir Mandic 96a138fe3c handle k-diffusion module 2023-10-31 11:42:32 -04:00
Vladimir Mandic 1bde2a895b fix ext url 2023-10-31 10:42:35 -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 0d7807acd3
Merge branch 'dev' into temp 2023-10-31 08:48:52 -04:00
d8ahazard 836dee9204 Fix potential issues parsing extension repo URLs
If a repo URL has git@github... in it, the author parsing will fail and the app will crash.
2023-10-30 21:19:52 -05:00
Vladimir Mandic 5ae6128393 update css 2023-10-30 09:26:52 -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
Vladimir Mandic 19203aab6c en add sort and other updates 2023-10-29 10:29:50 -04:00
Seunghoon Lee 0fb95df44d cleanup? 2023-10-29 22:57:16 +09:00
Seunghoon Lee db58f1f2ba
add prefix for directml specific option 2023-10-28 14:24:33 +09:00
Seunghoon Lee 1b7bdcb102
fix directml fp16 inpainting 2023-10-28 14:24:13 +09:00
Seunghoon Lee e750112612
add prefix for directml specific option 2023-10-28 12:57:28 +09:00
Vladimir Mandic d91338b3c7 fix seq in path 2023-10-26 12:01:55 -04: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 886af2ee16 Revert "Merge pull request #2410 from vladmandic/master"
This reverts commit 597fc1863f, reversing
changes made to 4ab584e93f.
2023-10-26 07:29:49 -04:00
Vladimir Mandic 480f4fd8f9 add missing function 2023-10-26 07:19:15 -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 90d2197e04 Revert "add binary mask"
This reverts commit fc7e3c5721.
2023-10-26 07:17:04 -04:00
Vladimir Mandic 4b91ee0044
Merge branch 'dev' into master 2023-10-26 07:12:59 -04:00
Vladimir Mandic fc7e3c5721 add binary mask 2023-10-26 07:09:15 -04:00
Vladimir Mandic d135fe1383 fix fn sequence 2023-10-26 07:02:44 -04:00
Vladimir Mandic 4ab584e93f update changelog 2023-10-25 19:44:53 -04:00
Disty0 98c27b4e16 Fix for Zero123+ 2023-10-26 00:22:23 +03:00
Vladimir Mandic ecadbc1683 lint updates 2023-10-25 11:10:21 -04:00
Vladimir Mandic 3772716fae support lcm, switch fonts 2023-10-25 10:49:58 -04:00
Vladimir Mandic 2522bdeedb redesign job state and progress bar 2023-10-24 22:02:46 -04:00
Vladimir Mandic 636560c627
Merge pull request #2401 from vladmandic/master
update dev
2023-10-24 17:38:13 -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
Vladimir Mandic bc80c14704 log cleanup 2023-10-24 08:47:08 -04:00
Disty0 b834e3ad0b Fix hires progress 2023-10-24 02:01:38 +03:00
Vladimir Mandic 0d2f535527
Merge pull request #2391 from vladmandic/master
update dev
2023-10-23 13:25:37 -04:00
Vladimir Mandic 619e385f2d fix image index when saving multiple images 2023-10-23 11:01:09 -04:00
Vladimir Mandic d5c264ec75 fix before hires 2023-10-23 10:19:40 -04:00
Vladimir Mandic bbb37ccc50 fix refiner 2023-10-22 23:52:30 -04:00
Vladimir Mandic 40ec2b8ec9
Merge pull request #2386 from vladmandic/master
update dev
2023-10-22 12:54:28 -04:00
Vladimir Mandic c0ef02abba update scripts 2023-10-22 12:27:33 -04:00
Vladimir Mandic fab013d31c fix diffusers base/hires/refiner workflows 2023-10-22 11:11:28 -04:00
Vladimir Mandic be75ed7e9f compatibility items 2023-10-22 09:58:55 -04:00
Seunghoon Lee 07a0d081e5
nan catch as an option 2023-10-22 18:39:27 +09:00
Seunghoon Lee 57b27e6c45
retry if nan is produced from token merging (directml) 2023-10-22 18:25:41 +09:00
Disty0 0288106a1a IPEX fix SwinIR with BF16 2023-10-22 01:37:19 +03:00
Disty0 0c70e6e595 Add compile support for upscalers 2023-10-22 00:29:37 +03:00
Vladimir Mandic 443dde9cb5 direct import of external repos and remove clone from installer 2023-10-21 14:26:32 -04:00
Vladimir Mandic 8eb5e43b7d direct import of external repos and remove clone from installer 2023-10-21 14:26:32 -04:00
Vladimir Mandic 2f1f997421 fix xyz grid fill 2023-10-21 14:16:16 -04:00
Vladimir Mandic 2b59b10b8a update todo/changelog 2023-10-21 13:53:25 -04:00
Disty0 f15308c473 Update Diffusers secondary sampler 2023-10-21 19:30:33 +03:00
Vladimir Mandic 9a1c52f4db fix 2023-10-21 12:20:10 -04:00
Vladimir Mandic b648acf9b4 fix windows path 2023-10-21 11:22:47 -04:00
Vladimir Mandic 02fe33cb16 fix image filename handling 2023-10-21 11:13:49 -04:00
Vladimir Mandic c22dd25868 quick fix 2023-10-20 20:11:07 -04:00
Vladimir Mandic e1c46427e0 minor fixes 2023-10-20 19:03:45 -04: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 d8bb3496df force update deis settings 2023-10-20 09:31:51 -04:00
Vladimir Mandic 3794af95c5 add a1111 compatibility items 2023-10-20 08:19:37 -04:00
Vladimir Mandic 52078069d2 mark external themes clearly 2023-10-20 07:30:13 -04:00
Vladimir Mandic 53d0cb35b8 cleanup 2023-10-19 13:43:41 -04:00
Vladimir Mandic 441ca2f648 fix model paths 2023-10-19 13:22:34 -04:00
Vladimir Mandic d173821116 force convert relative paths 2023-10-19 11:55:27 -04:00
Vladimir Mandic 6bda4fbc71 use short model name and update hints 2023-10-19 11:43:29 -04:00
Vladimir Mandic 11c073a3ca fix create style filename template 2023-10-19 10:37:03 -04:00
Vladimir Mandic e0c92b1085 fix samplers 2023-10-19 10:19:46 -04:00
Vladimir Mandic 505f36df87 multiple fixes 2023-10-19 09:36:12 -04:00
Disty0 96f14e48fa Temp fix for OpenVINO PyTorch 2023-10-19 10:52:03 +03:00
Vladimir Mandic 76d262f1d1 lint fix 2023-10-18 13:25:12 -04:00
Vladimir Mandic 079f5c9f2a add compatibility reexport for codeformers 2023-10-18 13:01:26 -04:00
Vladimir Mandic 231ca1ac7e fixes for zero-day issues 2023-10-18 11:37:33 -04:00
Vladimir Mandic 195386cdb0 allow windows cross-mount folders 2023-10-17 10:41:36 -04:00
Vladimir Mandic cb2efb120a safe mode disable built-in 3rd party extensions 2023-10-17 09:35:16 -04:00
Vladimir Mandic f1f8e0374b handle multiple mounts 2023-10-17 09:28:42 -04:00
Vladimir Mandic c77bd7dcef a1111 compatibility items 2023-10-17 09:22:40 -04:00
Vladimir Mandic 53c7713e4d update changelog 2023-10-17 08:47:25 -04:00
Vladimir Mandic 8aa2d0347c premerge fixes 2023-10-17 08:01:35 -04:00
Seunghoon Lee 36bef98cd5
Show device information log for DirectML. 2023-10-17 12:24:27 +09: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 a29b740cee reset pipeline and handle hypertile errors 2023-10-14 17:03:49 -04:00
Vladimir Mandic 9124352911 fix typo 2023-10-14 15:29:05 -04:00
Vladimir Mandic a48a7a3458 linting updates 2023-10-14 14:44:59 -04:00
Vladimir Mandic bdae9f81b4 add discovered extensions 2023-10-14 14:27:28 -04:00
Vladimir Mandic 3cd7d7cca0 multiple fixes 2023-10-14 12:07:41 -04:00
Vladimir Mandic a21477fe1e update 2023-10-14 09:03:22 -04:00
Vladimir Mandic 57ce94fcde datetime fixes 2023-10-14 08:51:11 -04:00
Hameer Abbasi 2a9e7bf347 Bugfix 2023-10-14 06:05:50 +00:00
Disty0 fa86cc0a44 Fix Diffusers manual model loading 2023-10-14 02:46:52 +03:00
Disty0 343e0dcd17 IPEX & OpenVINO 1024x1024 workaround 2023-10-14 02:14:54 +03:00
Disty0 8ebef922dd IPEX Fix ControlNet IP Adapter 2023-10-13 23:34:18 +03:00
Vladimir Mandic 74fb8fba3e extension curation 2023-10-13 15:30:51 -04:00
Vladimir Mandic b55bb8c883 error handling in prompt parser 2023-10-13 09:30:17 -04:00
Vladimir Mandic 24a8699890 fixed 2023-10-12 12:47:33 -04:00
Vladimir Mandic 9b8cc1bb07 cleanup 2023-10-12 11:44:43 -04:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic 41010452a8
Merge pull request #2302 from BlueAmulet/sdxl_approx_simple
Approximate Simple for SDXL
2023-10-12 11:40:14 -04:00
Vladimir Mandic e2e6648bdb implement apply style 2023-10-12 11:00:30 -04:00
Vladimir Mandic 8d417987c5 fix sampler options 2023-10-12 09:10:43 -04:00
BlueAmulet ba7f9614d6 Approximate Simple for SDXL 2023-10-11 21:18:32 -06:00
Vladimir Mandic 6d14bc0a8a civit downloader extra types 2023-10-11 16:43:28 -04:00
Vladimir Mandic 7fb25b99b0 couple of img2img fixes 2023-10-11 15:41:08 -04:00
Vladimir Mandic da8b5eced0 fix int in namegen 2023-10-11 13:36:55 -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 188fb1efcd allow tuple for dropdowns 2023-10-10 07:54:59 -04:00
Vladimir Mandic 22405a845a safe hypertile reset 2023-10-09 15:56:01 -04:00
Vladimir Mandic b5eaa0ccb4 fix samplers init 2023-10-09 15:42:12 -04:00
Vladimir Mandic d80890531c add experimental override 2023-10-09 14:55:43 -04:00
Vladimir Mandic 49c58a0c06 gradio update phase one 2023-10-09 14:45:25 -04:00
Vladimir Mandic 2a9ef465c8 move samplers init to separate call 2023-10-09 09:38:27 -04:00
Vladimir Mandic e881e885e8 fix hypertile with hires 2023-10-09 09:11:46 -04:00
Vladimir Mandic d951007d21 add motd 2023-10-09 08:46:48 -04:00
Vladimir Mandic 6b4df05b5c fix sampler eta 2023-10-09 07:27:00 -04:00
Vladimir Mandic 512dfb990c cleanup 2023-10-08 16:14:41 -04:00
Vladimir Mandic 4263d55e7c model filter 2023-10-08 16:12:25 -04:00
Vladimir Mandic fccb237542 fix lora unload 2023-10-08 16:01:53 -04:00
Vladimir Mandic f2fc41cfc2 refactor lora load/unload 2023-10-08 12:00:51 -04:00
Vladimir Mandic c0e4605dfb
Merge pull request #2293 from AI-Casanova/lycoris-diffusers
Lycoris loading on Diffusers Backend
2023-10-08 08:20:25 -04:00
Vladimir Mandic dca4efb3ad handle xformers 2023-10-08 08:10:34 -04:00
Vladimir Mandic 564d04d9f4
Merge pull request #2296 from vladmandic/master
update dml
2023-10-08 07:26:55 -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
AI-Casanova cc86189a6a
Delete modules/lora_diffusers.py 2023-10-07 13:15:07 -05:00
AI-Casanova d79d2a7663
remove obsolete references to lora_diffusers.py 2023-10-07 13:13:24 -05:00
Seunghoon Lee e5f8b7f0a4
update dml 2023-10-08 02:19:56 +09:00
AI-Casanova b41d3b2efb
Update sd_models.py for LyCORIS loading on Diffusers Backend 2023-10-07 12:12:24 -05:00
Vladimir Mandic 1a984c2827 implement styles extra field 2023-10-07 09:59:02 -04:00
Vladimir Mandic 8e22fbbdb6 add style as en provider 2023-10-07 08:07:42 -04:00
Vladimir Mandic 109b1d6907 update style 2023-10-06 19:09:46 -04:00
Vladimir Mandic b2d1cd3a2b update changelog 2023-10-06 17:52:20 -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
Vladimir Mandic b225cedb50 css tweaks 2023-10-06 08:33:12 -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 b790bcd637 xyz grid allow string/select switch 2023-10-05 15:10:01 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic 7dc098182a new lora handler and remove lyco 2023-10-05 14:30:51 -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
AI-Casanova 14914b9bfb
Fix Diffusers Prompt Padding and add pooled option 2023-10-03 20:31:50 -05:00
Vladimir Mandic 1e70a1ae57 civitai multithreaded downloads 2023-10-03 10:46:00 -04:00
Symbiomatrix f904b24a1a
Missed line. 2023-10-03 17:44:08 +03:00
Symbiomatrix bb201475a9
Made frame batch mode toggleable. 2023-10-03 17:36:53 +03:00
Symbiomatrix 5874b81c23
Add setting for batch frames. 2023-10-03 17:30:43 +03:00
Symbiomatrix 07d3d88fbb
Merge branch 'master' into vlad3 2023-10-03 10:45:28 +03:00
Vladimir Mandic 578d270cab fix save image json 2023-10-02 17:51:47 -04:00
Vladimir Mandic f3c6bfbe7f finish nvml 2023-10-02 17:25:57 -04:00
Vladimir Mandic 39933a0e28 add nvml api 2023-10-02 16:33:26 -04:00
Vladimir Mandic ee794a137d change diffusers prompt attention 2023-10-02 15:20:09 -04:00
Vladimir Mandic a93df3a8b2
Merge pull request #2276 from vladmandic/AI-Casanova-Prompt-Parser
Major Refactor prompt_parser_diffusers.py
2023-10-02 14:23:00 -04:00
Vladimir Mandic bf3bb91d56 avoid js double load 2023-10-02 11:39:12 -04:00
Vladimir Mandic c4071b6723 cache script/extension info 2023-10-02 09:34:01 -04:00
Vladimir Mandic 1e66ff4f99 cleanup gradio 2023-10-02 08:57:43 -04:00
Vladimir Mandic 9a5f339082 add compact view 2023-10-02 07:56:11 -04:00
AI-Casanova 626b4e3e13
Update processing_diffusers.py 2023-10-01 15:56:14 -05:00
AI-Casanova 08d094bb95
Major Refactor prompt_parser_diffusers.py
Prompt_2 has been mostly overridden by `TE2` keyword in prompt
2023-10-01 15:52:42 -05:00
Vladimir Mandic 9d335a34e8 update en paths 2023-10-01 16:20:27 -04:00
Vladimir Mandic d572abbec8 update changelog 2023-10-01 14:28:42 -04:00
Vladimir Mandic 1c28757061 update train script 2023-10-01 13:59:13 -04:00
Vladimir Mandic 6ea5c177e7 add downloader 2023-10-01 10:35:49 -04:00
Vladimir Mandic 4c98b8d1c7 minor patches and nvml cli 2023-09-30 17:17:57 -04:00
Vladimir Mandic d01f01c981 update upscalers 2023-09-30 09:20:25 -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
Disty0 dc31dcbc1c Cleanup 2023-09-29 18:29:44 +03:00
Disty0 72a33d5247 Update device logging 2023-09-29 18:28:04 +03:00
Vladimir Mandic 1da359eb6e fix prompt clear 2023-09-29 11:23:39 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic a2b00f34ec add vae to en 2023-09-29 09:00:44 -04:00
Disty0 f11946f3ba IPEX add torch.version.cuda hijack 2023-09-29 15:34:06 +03:00
Vladimir Mandic fca8680521 add nodejs sdapi example 2023-09-29 08:23:42 -04:00
Vladimir Mandic e830b41dfa one more sdxl embeddings fix 2023-09-28 16:03:18 -04:00
Vladimir Mandic a785f3da2e update main ui 2023-09-28 14:33:20 -04:00
Vladimir Mandic 23593d5442 en styles phase two 2023-09-28 14:33:20 -04:00
Vladimir Mandic 21e99d9280
Merge pull request #2263 from AI-Casanova/patch-5
Fix SDXL TI v2
2023-09-28 14:33:03 -04:00
Disty0 2784dcaef9 OpenVINO print raw device 2023-09-28 21:30:40 +03:00
Disty0 6184a8cb5c IPEX and DML fix Cuda error 2023-09-28 20:51:11 +03:00
Disty0 21d53b6ac8 Cleanup 2023-09-28 19:53:52 +03:00
Disty0 7a3c1da954 Add OpenVINO device logging 2023-09-28 19:33:14 +03:00
AI-Casanova 7f7c390c5a
Fix SDXL TI v2
For some reason trying to resize `clip_l` and `clip_g` doesn't work resulting in this error `index 49408 is out of bounds for dimension 0 with size 49408`

`self.register_embedding` doesn't work for SDXL `'StableDiffusionXLPipeline' object has no attribute 'cond_stage_model'` but the exception happens after the embeddings are loaded so is inconsequential to function.
2023-09-28 08:26:42 -05:00
Disty0 5edf481c8d Add Torch GC threshold slider 2023-09-28 14:38:22 +03:00
Disty0 f78c5c6423 IPEX more attention optimizations 2023-09-28 13:59:50 +03:00
Disty0 072469245b Merge branch 'master' into dev 2023-09-28 00:28:01 +03:00
Disty0 49d181b8a3 Remove OpenVINO device warning 2023-09-28 00:26:53 +03:00
Disty0 180f8c9c93 Update OpenVINO 2023-09-27 20:09:59 +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 76894461d2
Merge pull request #2259 from AI-Casanova/patch-3
Update lora_diffusers.py for Diffusers 0.21.2
2023-09-27 09:23:11 -04:00
Vladimir Mandic ef0e8a5161 upscaler caching and ti model detection 2023-09-27 08:49:04 -04:00
Vladimir Mandic 73b6d4f57c add current_optimizer info 2023-09-27 06:02:12 -04:00
AI-Casanova 7a00e16725
Update lora_diffusers.py for Diffusers 0.21.2
Caution, NOT backward compatible to 0.20.2
2023-09-26 18:25:15 -05:00
Vladimir Mandic 75c41498dd styles editing phase one 2023-09-26 19:11:51 -04:00
Vladimir Mandic 7ceb1df1f5 dml fix for sd 2.1 2023-09-26 17:50:42 -04:00
Vladimir Mandic 8a11a3a70f update changelog 2023-09-26 17:45:52 -04:00
Vladimir Mandic 6bb1e59de6 diffusers better ti reload 2023-09-26 17:42:24 -04:00
Vladimir Mandic 7f9013533d better error handling 2023-09-26 12:30:45 -04:00
Vladimir Mandic 14aec521ed better diffusers embedding handling 2023-09-26 12:04:26 -04:00
Vladimir Mandic e661d7bce7 rework open folder 2023-09-26 09:55:22 -04:00
Vladimir Mandic 38402c8e6e fix new k-diffusers 2023-09-26 09:55:22 -04:00
Disty0 6650602289 IPEX fix mem_get_info 2023-09-26 16:34:54 +03:00
Vladimir Mandic db6091207d register skipped embeddings correctly 2023-09-26 07:04:14 -04:00
Vladimir Mandic c8b106a471 cleanup 2023-09-26 06:57:19 -04:00
Vladimir Mandic 0bc0920a77 open folder in gallery path 2023-09-26 06:35:33 -04:00
Vladimir Mandic 5ebc6dd166 safe pipeline import 2023-09-25 19:58:01 -04:00
Vladimir Mandic dbdb43cf27 refactor samplers 2023-09-25 19:46:12 -04:00
Vladimir Mandic ab65243ad7 cleanup pipelines 2023-09-25 19:46:12 -04:00
Vladimir Mandic 763be8092b enable sdxl inpaint 2023-09-25 19:46:12 -04:00
Vladimir Mandic ff28ac35e0 add actual latent upscalers 2023-09-25 19:46:12 -04:00
Disty0 4ba2e23dd2 IPEX Optimizations 2023-09-26 00:28:41 +03:00
Vladimir Mandic fa11439246 fix typos 2023-09-24 22:22:42 -04:00
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic aabad68872 en details 2023-09-24 12:21:36 -04:00
Vladimir Mandic d9418ecf1d
Merge pull request #2246 from hameerabbasi/hameer/change-symbols
Change symbols so they display properly on macOS.
2023-09-24 12:19:44 -04:00
Hameer Abbasi 8b9ff968ac
Change symbols missing for macOS. 2023-09-24 15:48:05 +02:00
Vladimir Mandic 0afcfe6097 logger early init 2023-09-23 23:44:34 -04:00
Vladimir Mandic 940b4122f9 add en details view - phase one 2023-09-23 17:49:31 -04:00
Vladimir Mandic 257601bbb8 cleanup 2023-09-23 10:15:06 -04:00
Vladimir Mandic f69625625b add browser session info 2023-09-22 21:01:07 -04:00
Vladimir Mandic 9b4c4e5b49 accordions everywhere 2023-09-22 20:34:25 -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 0986c9ed13
Merge pull request #2233 from vladmandic/master
update dev from master
2023-09-21 07:51:09 -04:00
Vladimir Mandic b2e7bcd546 refactor ddpmedit 2023-09-20 13:17:33 -04:00
Vladimir Mandic 200ced8b1c refactor unipc code 2023-09-20 13:15:40 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Disty0 89ba8e3cf6
Merge pull request #2228 from Nuullll/get-device-id
Fix ipex init
2023-09-20 15:39:56 +03:00
Nuullll 16b1752042 Fix ipex init
getDeviceIdListForCard is renamed since 835b41fd5c
2023-09-20 20:16:56 +08:00
Vladimir Mandic 5411a0fd8f fix 2023-09-19 20:35:19 -04:00
Vladimir Mandic d73f5f6ff6 allow zero denoising 2023-09-19 15:14:58 -04:00
Vladimir Mandic f82e05c5f1 second part of has_accelerate cleanup 2023-09-19 13:05:42 -04:00
Vladimir Mandic df377d6d27 safe handling of accelerate 2023-09-19 12:55:32 -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 947be29055 fix save 2023-09-18 23:04:09 -04:00
Vladimir Mandic e6d6ee621a diffusers lora unload logic 2023-09-18 22:30:36 -04:00
Vladimir Mandic 26710417d7
Merge pull request #2222 from Aptronymist/pngfix
Correcting legacy image optimization code
2023-09-18 22:12:19 -04:00
Aptronymist cefb5959e3 Correcting legacy image optimization code
Legacy A1111 code improperly implemented Pillow image optimization options, "quality=" never applied to PNG files (or anything else), only JPEG files, per https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#png-saving and https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg-saving

This is now corrected, other than turning on the optimize=True, for backup and giggles, compress_level=9 is also set. For JPEG files, I also enabled optimize=True as it supposedly makes more optimized files.
2023-09-18 21:27:20 -04:00
Vladimir Mandic 7ae304f76e cleanup settings 2023-09-18 21:24:40 -04:00
Vladimir Mandic 8797a34e19 add tensor to samples method 2023-09-18 15:49:04 -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 b35a84f505 add upscaler logging 2023-09-18 14:48:41 -04:00
Vladimir Mandic 0f3dc232c1 add en show/hide/reorder 2023-09-18 10:27:31 -04:00
Vladimir Mandic eee6d3104e rename en 2023-09-18 09:25:25 -04:00
Vladimir Mandic f7901c8d53 add changelog to ui 2023-09-18 08:38:04 -04:00
Disty0 550b7056ac IPEX fix SDPA and reduce torch_gc force to %90 2023-09-18 15:36:14 +03:00
SBM 34c48a85c0 Experimental batch mode for frames. 2023-09-18 01:02:09 +03: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
Vladimir Mandic f4492f4c86 optimize en search 2023-09-17 10:47:25 -04:00
Vladimir Mandic 4887b0a631 add before process callback 2023-09-17 10:16:36 -04:00
Disty0 e0c8d37d5e Fix DPM SDE and update IPEX defaults 2023-09-17 16:14:40 +03:00
Disty0 3389edf6f8 Fix model unloading 2023-09-17 03:46:16 +03:00
Disty0 36e0823538 Cleanup 2023-09-17 01:28:35 +03:00
Vladimir Mandic 2daf61ae7a presort en 2023-09-16 17:36:03 -04:00
Vladimir Mandic 12d6173b57 fix bad styles names 2023-09-16 17:19:19 -04:00
Vladimir Mandic 9ca17487e0 diffusers round width/height 2023-09-16 17:09:51 -04:00
Vladimir Mandic 2878f66c57 fix paths 2023-09-16 16:53:10 -04:00
Vladimir Mandic cb43af03a2 get api extra-networks 2023-09-16 16:45:11 -04:00
Disty0 3fa3548138 Diffusers fix compile 2023-09-16 22:15:07 +03:00
Vladimir Mandic 3c3b3b9291 simplify ti loading 2023-09-16 13:46:40 -04:00
Disty0 4e209fe87f OpenVINO fix caching and recompile when using Lora 2023-09-16 20:05:53 +03:00
Vladimir Mandic 214d14ef53 fix double before-hires save 2023-09-16 10:40:56 -04:00
Disty0 793b5f4921 OpenVINO Lora support 2023-09-16 16:10:02 +03:00
Disty0 b13494a142 Diffusers fix hires sampler 2023-09-16 14:38:55 +03:00
Disty0 71631b7a36 Diffusers add DPM SDE sampler 2023-09-16 13:48:22 +03:00
Vladimir Mandic d833b853ff downgrade diffusers 2023-09-15 13:41:56 -04:00
Vladimir Mandic b67e986ec3 fix loading hypernetwork 2023-09-15 11:53:14 -04:00
Vladimir Mandic 2309398be8 temp fix sdxl lora 2023-09-15 11:38:38 -04:00
Vladimir Mandic 396135d567 fix tomes 2023-09-15 10:18:50 -04:00
Vladimir Mandic d3177fc560 fix api typing for scripts 2023-09-15 10:09:06 -04:00
Vladimir Mandic c7f3f57093 fix hires preview 2023-09-15 09:50:45 -04:00
Vladimir Mandic 0d0240314b add process/postprocess logging 2023-09-15 09:14:47 -04:00
Vladimir Mandic 496bdf7c55 fix backend switch 2023-09-15 08:39:25 -04:00
Vladimir Mandic 083ab521fa cleanup 2023-09-14 20:01:30 -04:00
Vladimir Mandic 9d85a9702b fix vae upscale 2023-09-14 15:28:38 -04:00
Vladimir Mandic ef51f55026 critical fix 2023-09-14 14:41:43 -04:00
Vladimir Mandic b41c3009be revert diffusers 2023-09-14 13:03:40 -04:00
Vladimir Mandic fc75b5ec41 add wuerstchen model 2023-09-14 11:51:09 -04:00
Vladimir Mandic 484dae8dbd upgrade diffusers 2023-09-14 09:38:17 -04:00
Disty0 25133420f4 IPEX hijacks fix diffusers 0.21.1 lazy_import 2023-09-14 15:51:35 +03:00
Vladimir Mandic c869e9c992 fix small grids 2023-09-14 08:46:09 -04:00
Vladimir Mandic d4871414ea fix fullpath 2023-09-13 17:26:15 -04:00
Vladimir Mandic 26383c7950 handle cross-mounting 2023-09-13 16:53:26 -04:00
Vladimir Mandic a1120666d8 fix styles and console logging 2023-09-13 16:50:03 -04:00
Vladimir Mandic af672d10eb fix paths with data-dir 2023-09-13 16:10:29 -04:00
Vladimir Mandic 80051ce365 hide refiner if not working in diffusers 2023-09-13 15:29:37 -04:00
Vladimir Mandic 336bc0de40 re-layout of main settings 2023-09-13 13:01:10 -04:00
Vladimir Mandic 76c444fbc8 cleanup 2023-09-13 11:48:13 -04:00
Vladimir Mandic 08f594a54b fix missing paths 2023-09-13 11:26:28 -04:00
Vladimir Mandic a7755ac6d8 fix slow hypernetworks enum 2023-09-13 09:16:44 -04:00
Vladimir Mandic 7439272219 redesign ui defaults 2023-09-13 09:04:55 -04:00
Vladimir Mandic c3cbb6a48b error handling on invalid metadata 2023-09-12 17:45:31 -04:00
Vladimir Mandic 5142b2ab30 catch empty processing object 2023-09-12 15:51:55 -04:00
Vladimir Mandic 4d94beabe9 add callback 2023-09-12 14:56:09 -04:00
Vladimir Mandic 9cf7fc4a75 add new hires with refiner and non-latent modes 2023-09-12 11:54:10 -04:00
AI-Casanova d44c9d0c33
Fix for mixed case TI filenames (SDXL) 2023-09-11 17:12:29 -05:00
Vladimir Mandic 2f071c6586 cleanup 2023-09-11 09:55:28 -04:00
Vladimir Mandic 1f730b129f update hires logic 2023-09-11 09:09:38 -04:00
Disty0 7a8fed1e94 Fix img2img doesn't have hires error 2023-09-11 12:24:54 +03:00
Disty0 f9096194da Fix typo 2023-09-11 12:02:06 +03:00
Vladimir Mandic cb51e55c28 handle invalid filenames in styles 2023-09-10 19:57:28 -04:00
Vladimir Mandic cbed61732f enable non-latent hires upscalers 2023-09-10 19:48:22 -04:00
Vladimir Mandic 2c06f841fb fix styles api 2023-09-10 18:52:48 -04:00
Vladimir Mandic f8fcb6f853 fix original hires non-latent 2023-09-10 18:30:20 -04:00
Vladimir Mandic 19d92dae52 fix esrgan 2023-09-10 18:16:59 -04:00
Vladimir Mandic 56e041c3b6 improve civitai integration 2023-09-10 18:13:20 -04:00
Vladimir Mandic 5a649f951a skip invalid diffusers model 2023-09-10 15:19:39 -04:00
Vladimir Mandic 250d1bf2fb update hints 2023-09-10 13:05:31 -04:00
Vladimir Mandic 2d0ea97a14 css optimizations, flat icons, metadata scrubbing 2023-09-10 10:55:54 -04:00
Vladimir Mandic 60df52f636 add no-metadata 2023-09-10 08:32:53 -04:00
Disty0 4898c0ffa7 Fix inference-mode 2023-09-10 12:00:52 +03:00
Vladimir Mandic 36001151bb ti fixes 2023-09-09 19:39:21 -04:00
Vladimir Mandic 7bda411738 improve styles, better logging 2023-09-09 13:47:46 -04:00
Vladimir Mandic c98a4ddb6a update sampler logic 2023-09-08 17:53:48 -04:00
Disty0 34ee67477e Fix BF16 and FP32 logging 2023-09-08 23:49:49 +03: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
QuantumSoul 36f134ddd4
Update sd_models.py
If user uses --no-download, they most-likely don't need the error for not having any local models
2023-09-08 04:23:56 +02:00
Disty0 12c2f4d6ee Cleanup 2023-09-08 04:17:27 +03:00
Disty0 9cadf4fc10 IPEX fix and make SDP default 2023-09-08 03:51:44 +03:00
Vladimir Mandic 2187735187 hf quick model scan 2023-09-07 16:54:03 -04:00
Vladimir Mandic a6dcb8c2f5 fix en refresh 2023-09-07 16:15:42 -04: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 81ff379e2c fix refiner 2023-09-07 09:38:35 -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 39e1f91cce skip override for same items, handle taesd 2023-09-07 08:19:37 -04:00
Vladimir Mandic a9e1347b85 make extension disabling for diffusers temporary 2023-09-07 07:39:15 -04:00
Vladimir Mandic 8fd96d0f30 catch directml and ipex initialization errors 2023-09-07 07:27:54 -04:00
Vladimir Mandic 83ae2a6c42 fix pipe detection when processing prompts 2023-09-06 20:21:39 -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 4753f363d4 en refresh page 2023-09-05 12:36:08 -04:00
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Disty0 9058bfa250 IPEX fix hypernetwork training 2023-09-05 19:32:03 +03:00
Disty0 b4af0c2241 Fix hypernetwork validate_train_inputs 2023-09-05 19:19:00 +03:00
Disty0 a16be075b9 IPEX patch GradScaler 2023-09-05 19:06:24 +03:00
Disty0 b4f6dc1cb7 IPEX add GradScaler 2023-09-05 19:05:54 +03:00
Vladimir Mandic 889274f39b post merge cleanup 2023-09-05 08:50:03 -04:00
Vladimir Mandic c64cdab1eb
Merge pull request #2130 from AI-Casanova/TI
Add Textual Inversion loading for SDXL
2023-09-05 08:43:41 -04:00
Vladimir Mandic 2b83c7c5ae pre merge cleanup 2023-09-05 08:43:12 -04:00
Vladimir Mandic 545dec0089 add new theme 2023-09-05 08:32:47 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Disty0 616e8f793c IPEX cleanup 2023-09-04 20:35:20 +03:00
Vladimir Mandic e9055c7cd8 major refactor 2023-09-04 11:31:29 -04:00
Hameer Abbasi 4c7792ed01
Add pre-commit. 2023-09-04 13:57:47 +02:00
AI-Casanova e34b19bb80 Add Textual Inversion loading for SDXL 2023-09-03 21:49:43 -05:00
Vladimir Mandic 088878f0ca add black-teal theme 2023-09-03 16:36:35 -04:00
Vladimir Mandic 8258313555
Merge pull request #2128 from vladmandic/master
refresh dev
2023-09-03 15:59:45 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Disty0 1d04014df1 Fix inflated steps with Non SDXL Refiner 2023-09-02 17:25:31 +03:00
Vladimir Mandic cbe779b541 test model jit tracing 2023-09-02 09:55:53 -04:00
Disty0 3287222177 Fix Kandinsky compile and Fix steps with non SDXL 2023-09-02 14:28:11 +03:00
Disty0 e5e1eeeac9 Cleanup 2023-09-02 01:34:01 +03:00
Disty0 d6fe1b8154 OpenVINO add --device-id and --use-cpu openvino 2023-09-02 01:15:41 +03:00
Vladimir Mandic f32fcb5d16 cleanup 2023-09-01 13:47:33 -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
Vladimir Mandic b33f3866b0 add interrupt to diffusers 2023-08-31 13:39:39 -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
Vladimir Mandic 9d4194edc2 read model metadata 2023-08-31 09:05:38 -04:00
Vladimir Mandic 27a517cedd add missing metadata 2023-08-31 08:06:48 -04:00
Disty0 418a085246 Update Readme 2023-08-31 14:43:29 +03:00
Disty0 77fce3e8c8 Fix OpenVINO on Windows 2023-08-31 12:58:39 +03:00
Disty0 8bf0e71a24 IPEX fix latent antialias with BF16 2023-08-30 23:17:35 +03:00
Disty0 95a791a752 Cleanup 2023-08-30 22:51:00 +03:00
Disty0 b1c089cae9 Re-order Text2Img UI 2023-08-30 22:51:00 +03:00
Disty0 2e6506bef2 Disable refiner if refiner steps is 0 2023-08-30 22:51:00 +03:00
Disty0 cdd7f4fe24 Fix Denoise start on Img2Img 2023-08-30 22:51:00 +03:00
Disty0 f2e6e0e88e Add refiner steps 2023-08-30 22:51:00 +03:00
Disty0 8e6b80104d Diffusers use exact steps 2023-08-30 22:51:00 +03: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 d6f7bb92da add model preview download 2023-08-30 12:51:12 -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 72e62078c5 settings redesign 2023-08-30 07:16:25 -04:00
Vladimir Mandic 5e14178b3d fix tomed error 2023-08-30 02:38:25 -04:00
Vladimir Mandic 579be529da fix sd upscale 2023-08-29 17:57:02 -04:00
Vladimir Mandic 7dc4460fdc separate model type detection for base and refiner 2023-08-29 17:36:07 -04:00
Vladimir Mandic fd57787557 css fixes 2023-08-29 16:15:12 -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 8de8f85c61 handle invalid tokenizer 2023-08-27 07:50:42 +00:00
Vladimir Mandic 05a2e12ce4 fix save metadata 2023-08-27 07:48:33 +00:00
Vladimir Mandic f45adac44a handle invalid samplers 2023-08-27 07:22:35 +00:00
Vladimir Mandic 2e75ce2610 fix gradio radio controls 2023-08-27 07:06:08 +00:00
Disty0 594f0331fd Fix approx and simple previews on SDXL 2023-08-26 19:35:50 +03:00
Vladimir Mandic 0f10a9ce63 catch numpy warning 2023-08-26 17:19:35 +02:00
Vladimir Mandic 91406bc9a0 update civit downloader 2023-08-26 14:13:56 +00:00
Vladimir Mandic c4263da0e6 fix refiner reload/unload 2023-08-26 13:35:59 +00:00
Vladimir Mandic e810d59fb8 update gradio and add batch img2img 2023-08-25 16:36:45 +00:00
Disty0 8ef4aa7a4a OpenVINO fix resolution change 2023-08-25 16:12:10 +03:00
Vladimir Mandic 0512e2973c refactor settings ui 2023-08-24 10:01:39 +02:00
Vladimir Mandic 89a3994c30 wrap final sample processing 2023-08-23 09:12:13 +00:00
Vladimir Mandic 84f343687d fix python 3.9 compatibility 2023-08-23 08:18:40 +00:00
Vladimir Mandic 3d1bcf88a2 fix hashing 2023-08-23 07:26:57 +00: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 12fd9151a7 Fix openvino_override_opts 2023-08-22 03:26:08 +03:00
Disty0 e70520efa9 Add --use-openvino 2023-08-22 03:02:19 +03:00
Disty0 ebf7b90e3e OpenVINO fixes 2023-08-21 21:34:53 +03:00
Vladimir Mandic 93bf3bb263 set default settings 2023-08-21 08:31:50 +00:00
Vladimir Mandic 53dcf157fb switch abs to relative paths 2023-08-21 08:11:30 +00: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 70395fb63a IPEX Diffusers remove BF16 fixes 2023-08-20 15:16:06 +03:00
Disty0 5b7f873fad Fix sequential offloading 2023-08-19 22:07:10 +03:00
Disty0 1666ee68ad IPEX change default dtype to BF16 2023-08-19 19:44:58 +03:00
Disty0 05084a5f53 Diffusers fix dtypes 2023-08-19 19:27:06 +03:00
Disty0 f9718f068c Seperate OpenVINO from IPEX 2023-08-19 17:52:15 +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
Disty0 05c3bd075a IPEX update OpenVINO 2023-08-18 16:57:14 +03:00
Vladimir Mandic 20ba9aa649 update lint 2023-08-15 08:29:04 +02:00
Vladimir Mandic ebc1243238
Merge pull request #2014 from midcoastal/Issue1563/FS-Path-Cache
Add a FS directory/path cacher
2023-08-18 07:45:06 +02:00
Midcoastal 67f369ed25
A walk() optimization and lint fixes 2023-08-17 16:49:42 -04:00
Midcoastal 89da66207a
I guess I didn't quite understand Lint error C416
Seems like a rather pedantic check, if you ask me...  Oh well.
2023-08-16 00:25:27 -04:00
Midcoastal 03363ce866
Resolve Lint Errors: C416 (x2), W291 and F541 2023-08-15 23:20:00 -04:00
Midcoastal c9bdd0344d
Allow JPEG image files
JPEG is allowed and searched for when looking for previews/thumbs, and therefore should be allowed to view.
2023-08-15 23:10:30 -04:00
Midcoastal 873e864640
Ooof, modelloader changes needed for TI upgrade 2023-08-15 23:09:24 -04:00
Midcoastal 6eae768fb0
Gather HTML parts as list to append in the end
Somehow, significant increase in speed (size of text append was slowing large loads down.
2023-08-15 23:08:26 -04:00
Midcoastal 05850c2344
Upgrade Lora/TI model listers to use cache 2023-08-15 23:06:23 -04:00
Midcoastal 7e4aed7948
Add a FS directory/path cacher
- Added FS dir/path mechanism to 'modules.modelloader'
- Refactored 'modules.modelloader.load_models' to use the cache
- Refactored 'modules.ui_extra_networks.find_*' methods to use the cache
- Added progress indicator to 'modules.ui_extra_networks.create_html'

The cache, as implimented, will always ensure it is up-to-date (per 'directory_has_changed') and significantly improves loading speed (when used with 'model_loader' and the 'find_*' methods) with large model directories.

Overall load speed tested with ~10k models (mix of checkpoints, loras, lycoris, and embeddings) and ~40k secndary files (images, descriptions, CivitAI Info, etc).  Loading speeds went from ~1 hour and 45 minutes to ~5 minutes.

Confounding variable to loading speeds: this is over a fiber-attached storage device.  Connection is 10gbe full-duplex, remote source has an NVMe raid cache.  Saturation of the network is the norm, but laintency is a factor.  Regardless, small-scale local-storage testing also shows measurable improvements, so this should be a welcome addition.
2023-08-15 16:07:41 -04:00
vladmandic 79c0131158 Deploying to master from @ vladmandic/automatic@b1ea529c08 🚀 2023-08-15 12:25:08 +00:00
Disty0 86ae8175e0 Seperate OpenVINO from IPEX 2023-08-15 15:22:54 +03:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Disty0 2caee04b9a IPEX fix System Info 2023-08-16 19:45:13 +03:00
Disty0 209f9a19c6 IPEX fixes 2023-08-16 18:56:50 +03:00
Disty0 b1ea529c08 Cleanup 2023-08-15 00:50:46 +03:00
Disty0 66394c8cd9 IPEX add OpenVINO as compile backend 2023-08-14 21:54:21 +03:00
Vladimir Mandic fce48be440 update changelog 2023-08-14 07:58:42 +00:00
Vladimir Mandic eeca263bd2 update stored metadata 2023-08-14 07:50:12 +00:00
Vladimir Mandic 88fff06c9e downgrade warn to info 2023-08-13 10:58:02 +00:00
Vladimir Mandic 357b5dac60 add dpm++ 3m sde sampler 2023-08-13 10:19:33 +00:00
Vladimir Mandic d4b5c487fe fix img2img resize 2023-08-13 09:54:09 +00:00
Vladimir Mandic c5c817f482 img2img batching 2023-08-13 09:19:39 +00:00
Vladimir Mandic 23efa8f0a5 fix init_image 2023-08-13 08:22:03 +00:00
Seunghoon Lee 7e81355741
Fix pdh.dll not found. (WSL+DirectML) 2023-08-13 15:40:15 +09:00
Vladimir Mandic 83d1ee77bd revert long prompt 2023-08-13 00:32:03 +02:00
Vladimir Mandic 392f51cff3 add long prompts 2023-08-12 23:04:46 +02:00
Vladimir Mandic 69eaf4c664 fix batch 2023-08-12 08:32:19 +00:00
Vladimir Mandic 5d5f22e6e1 remove invalid downloaded files 2023-08-12 08:07:13 +00:00
Vladimir Mandic fc8eca1c34 deallocate images on batch 2023-08-12 07:18:19 +00:00
Aptronymist 605988f520 Removed annoyance
Took out the print statement 'no image data blocks found' as it happens frequently as embeddings rarely have image data.
2023-08-11 19:51:42 -04:00
Vladimir Mandic a156751857 fix pipeline autodetect 2023-08-10 21:56:26 +00:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Vladimir Mandic 5bcd65d4c2 revert meta 2023-08-10 19:00:04 +00:00
Disty0 0a7105d524 Fix SDXL LoRa offloading and SD 1.5 parsing 2023-08-10 16:02:45 +03:00
Vladimir Mandic 0b5dd46d79
Merge pull request #1976 from tcmaps/master
pip --no-cache-dir
2023-08-10 08:28:02 +02:00
Disty0 a9726b3319 Send to meta when unloading 2023-08-10 01:23:39 +03:00
Disty0 839bd27956 Pass device to Compel 2023-08-09 19:15:38 +03:00
Vladimir Mandic 16725ab38f fix compel to full and add batch sizes 2023-08-09 10:28:44 +00:00
Vladimir Mandic e2b0d981ac quick taesd vae decode 2023-08-09 09:34:59 +00:00
Vladimir Mandic a77fa4c12e add job info 2023-08-09 08:42:26 +00:00
Vladimir Mandic a5f95f4b38 civitai model search and download 2023-08-09 08:01:37 +00:00
Aptronymist 196fa29ee0 Update ui_extra_networks.py
Added fix to thumbnail images that exceed 70kb to address slowdowns and wasted memory.
2023-08-08 11:43:38 -04:00
Disty0 ff2d846667 IPEX Diffusers fix Model CPU Offload 2023-08-08 00:51:23 +03: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 c51126dade
Merge pull request #1960 from AI-Casanova/Compel
Compel
2023-08-07 14:41:07 +02:00
Disty0 dd4412734e IPEX add torchvision on Windows 2023-08-07 11:32:00 +03:00
AI-Casanova 7859fd22a0
Unload LoRA on early stoppage 2023-08-06 22:33:27 -05:00
Hameer Abbasi 66ad9ce368 Actually pass through CLIP_skip. 2023-08-07 04:16:41 +02:00
Hameer Abbasi 41428efb5d Make log message more descriptive. 2023-08-07 04:03:43 +02:00
Hameer Abbasi 0a863930cf Remove superfluous comment. 2023-08-07 04:02:39 +02:00
Hameer Abbasi af2b415638 Add support for clip_skip to the diffusers back-end. 2023-08-07 03:58:12 +02:00
AI-Casanova a1696269fb Enable A1111 and Full parsing conversion 2023-08-07 01:20:47 +00:00
Hameer Abbasi 0933b876d5
WIP 2023-08-06 19:12:57 +02:00
Hameer Abbasi 7ea4f32cec Check based on sd_model_type. 2023-08-06 11:22:33 +00:00
Hameer Abbasi 868ae1e23f Merge remote-tracking branch 'origin/master' into Compel 2023-08-06 11:15:53 +00:00
Hameer Abbasi 1b60d4683e Run black for formatting, fix pylint errors, and change to warning. 2023-08-06 11:10:44 +00:00
Hameer Abbasi 41418c5531 Add TODO for scheduling. 2023-08-06 09:41:08 +00:00
Hameer Abbasi 2ad35ca381 PyLint: Fix 2023-08-06 09:39:09 +00:00
Hameer Abbasi 00a5df5806 Small fix for refiner (untested). 2023-08-06 07:24:20 +00:00
Vladimir Mandic dc739b9f50 fix taesd for original backend 2023-08-06 07:07:00 +00:00
Hameer Abbasi bb66b5ce0e
Ruff fix and refiner->is_refiner. 2023-08-06 07:37:45 +02:00
AI-Casanova e65e959eef Enable A1111 and Full parsing conversion 2023-08-06 02:52:03 +00:00
Disty0 a22862d5c6 IPEX fix embedding on FP32 and BF16 2023-08-06 02:20:45 +03:00
Hameer Abbasi 2172f7c3f0 Linting fix. 2023-08-05 18:35:18 +00:00
Hameer Abbasi 5a3d92883d Modify code a bit. 2023-08-05 18:33:11 +00:00
Disty0 8aba6d8288 IPEX fix BF16 2023-08-05 19:29:52 +03: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 64273169b9 fix diffusers inpaint 2023-08-05 13:53:43 +00:00
Vladimir Mandic f58b48e8b7
Merge pull request #1950 from vladmandic/dev
Dev
2023-08-05 15:53:28 +02:00
Vladimir Mandic cfe14884a0 add taesd for sdxl 2023-08-05 12:06:56 +00:00
Vladimir Mandic e2ee02a1e8 refactor taesd 2023-08-05 09:38:11 +02:00
Vladimir Mandic 095ef45d3f linting update 2023-08-05 09:33:55 +02:00
Vladimir Mandic 7c4fdbff1b update taesd 2023-08-05 08:56:45 +02:00
AI-Casanova 685ede9e15
Merge branch 'master' into Compel 2023-08-04 20:59:39 -05:00
Marcin Dzierwa 0611b1e4d9 added /sdapi/v1/sd-vae endpoint 2023-08-04 18:58:47 +02:00
root 076acf0664 Linting fixes. 2023-08-04 15:16:13 +00:00
root fdbafbd713 Clean up code. 2023-08-04 15:12:37 +00:00
Vladimir Mandic a12c9117e6 add requirement check install flag 2023-08-04 11:23:25 +02:00
Disty0 fc3d96f6f6 IPEX fix ControlNet PidiNet 2023-08-04 04:15:25 +03:00
Disty0 5f5a564d41 Update compile settings 2023-08-03 22:38:43 +03:00
Disty0 434a1f967f IPEX fixes 2023-08-03 21:06:15 +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
Vladimir Mandic d5717a0440
Merge pull request #1919 from ljleb/pp-batch-list
add postprocess_batch_list callback
2023-08-03 09:48:33 -04:00
Disty0 a293e3cdcb Torch 2.0 for IPEX 2023-08-03 16:29:56 +03:00
ljleb 65aee8cf7b refact 2023-08-02 15:54:41 -04:00
ljleb 88cc6f63e1 add callback 2023-08-02 15:26:04 -04:00
Vladimir Mandic 246989129f ui settings logging 2023-08-02 08:27:16 +02:00
AI-Casanova b166dcbfad Add prompt_parser_diffusers.py 2023-08-01 02:46:53 +00:00
AI-Casanova bb7a71becd
Merge branch 'vladmandic:master' into Compel 2023-07-31 18:36:01 -05: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
Vladimir Mandic 2cf4014040 refresh 2023-07-31 11:36:51 +02:00
Seunghoon Lee 1524365284
Update Korean localization & DirectML bug fix. 2023-08-02 02:32:11 +09:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
AI-Casanova 397d7ea6de
Add Compel Parsing for SDXL 2023-07-30 22:26:55 -05:00
Disty0 884e464693 Move base to cpu when using refiner with offload 2023-07-30 18:39:27 +03:00
Vladimir Mandic 2300329893 fix lint 2023-07-30 17:17:56 +02:00
Vladimir Mandic 6e428ff0a2 update diffusers 2023-07-30 17:14:34 +02:00
Vladimir Mandic 13ba9531a5
Merge pull request #1875 from AI-Casanova/diffusers-LoRA
Enable SDXL LoRA (Must install the newest Diffusers!)
2023-07-30 11:13:36 -04:00
Disty0 350be09282 w/a for model cpu offload refiner 2023-07-30 17:18:57 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Disty0 66a6e783f0 has_accelerate = False for original backend 2023-07-30 01:22:29 +03:00
Kubuxu 4d00224082 Fix pipeline switching 2023-07-30 00:51:35 +03:00
Kubuxu 7e1030d499 Introduce sd_model.has_accelerate 2023-07-30 00:51:35 +03:00
Kubuxu f945cf14b0 Fix model offload by not focring the model to GPU 2023-07-30 00:51:35 +03:00
Disty0 085d1da825 Fix force upcast VAE with Diffusers 2023-07-29 21:01:24 +03:00
Disty0 3258b27523 Update sequential CPU offload check 2023-07-29 19:13:29 +03:00
Disty0 38ecfb6dff Add Move UNet to CPU option 2023-07-29 18:58:08 +03:00
Disty0 3010d1823d Fix modules 2023-07-29 15:44:55 +03:00
Seunghoon Lee 42c6147ac8
cleanup 2023-07-29 13:48:28 +09:00
Seunghoon Lee 7017a4a2a9
Fix UniPC sampler issue on DirectML. 2023-07-29 13:38:41 +09:00
Seunghoon Lee 813eb48bf7
Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:10:41 +09:00
Seunghoon Lee 47f2f50574
Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:08:22 +09:00
Disty0 025df86ac0 Cleanup 2023-07-29 02:06:34 +03:00
AI-Casanova fd7f51302e
Update processing_diffusers.py 2023-07-28 18:01:38 -05:00
AI-Casanova 942371b25a
Update lora_diffusers.py 2023-07-28 18:00:44 -05:00
Kubuxu 1da64b9d08 Fix setting VAE Force Upcast in diffusers 2023-07-28 23:07:11 +01:00
Disty0 31e1bb01ff Fix VAE reloading 2023-07-28 23:23:36 +03:00
Disty0 dbd7887632 Fix refiner unloading 2023-07-28 23:12:45 +03:00
Disty0 c8af2affaf Fix original backend reloading 2023-07-28 21:26:54 +03:00
Disty0 cfcf481992 cleanup 2023-07-28 21:10:38 +03:00
Disty0 9f18db474d
Merge pull request #1861 from Nuullll/master
[IPEX] Fix ControlNet depth leres/leres++
2023-07-28 20:15:31 +03:00
Disty0 e6cf3d72cd Fix sequential cpu offload 2023-07-28 20:01:32 +03:00
Seunghoon Lee 77de9cd093
Fix medvram with DirectML. 2023-07-28 23:18:28 +09: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
Nuullll 3aed536206 [IPEX] Fix ControlNet depth leres/leres++ 2023-07-28 21:25:17 +08:00
Disty0 a32bf083f1 cleanup 2023-07-28 12:15:25 +03:00
Disty0 459a8bc048 ipex fix adetailer 2023-07-28 12:08:02 +03:00
Disty0 f38d5a91bf Move ipex fixes into it's own folder 2023-07-28 10:58:45 +03:00
Disty0 38dcca7399 ipex cleanup 2023-07-28 01:35:02 +03:00
Nuullll 6acb3ef131 [IPEX] Fix batch_norm for Tiled VAE
Tiled VAE invokes `torch.nn.functional.batch_norm` without providing the
`weight` and `bias` parameter, so torch backend creates default empty
tensors for them but bails out with "tensor does not have a device" error.

This patch overrides the `weight` and `bias` parameters to all-ones and
all-zeros if they are `None`.
2023-07-27 22:56:19 +08:00
Vladimir Mandic 86a0cb5f7e add secondary pass info to metadata 2023-07-27 10:06:21 -04:00
Vladimir Mandic 8f6f8413b1 fix ti training 2023-07-27 09:30:41 -04:00
Vladimir Mandic 83208591e5 improve inpaint layout 2023-07-26 22:22:35 -04:00
Vladimir Mandic 90f6cc8ebb add refiner enabled check 2023-07-26 20:54:51 -04:00
Vladimir Mandic 3437132817 update refiner start/end 2023-07-26 20:49:24 -04:00
Vladimir Mandic 0bc389594c
Merge pull request #1840 from Kubuxu/fix/refiner-start-end
Fix base and refiner when using diffusers
2023-07-26 20:07:23 -04:00
Kubuxu fc1a7ad0b1 Fix base and refiner when using diffusers
With diffusers 0.19 densoise_start and _end started applying.
2023-07-27 00:51:56 +01:00
Vladimir Mandic d778876010 minor css fixes 2023-07-26 19:48:36 -04:00
Vladimir Mandic 58bfb9246f update lora enum 2023-07-26 19:27:38 -04:00
Dookie dc1c682a46 Fixes params pasting for denoise start and end 2023-07-27 00:29:10 +02:00
Vladimir Mandic 4a64eef568
Merge pull request #1831 from vladmandic/improve_diffusers_kandinsky_2
[Diffusers] Make all Kandinsky work
2023-07-26 16:04:08 -04:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic 15d5873f22 improve params pasting 2023-07-26 15:32:26 -04:00
Vladimir Mandic 33d05fc447 fix upscalers 2023-07-26 15:01:57 -04:00
Vladimir Mandic e79bdcdea3 fix startup without model 2023-07-26 14:41:29 -04:00
Vladimir Mandic 75b017e4d1 fix img2img 2023-07-26 14:33:58 -04:00
Vladimir Mandic 6cf0a43471 cleanup 2023-07-26 13:55:27 -04:00
Vladimir Mandic cd68b342ff fix hires and early parse enabled sections 2023-07-26 13:48:02 -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 2a259a8455 fix metadata 2023-07-25 22:02:25 -04:00
Patrick von Platen e6baac124d fix ruff 2023-07-25 21:50:35 +00:00
Patrick von Platen a9d239ab51 [Diffusers] Make all Kandinsky work 2023-07-25 21:47:49 +00:00
Vladimir Mandic 02fe616141 fix en tags 2023-07-25 17:40:09 -04:00
Vladimir Mandic 6c02e6a2eb add operations to metadata 2023-07-25 12:28:13 -04:00
Vladimir Mandic aa62f6d8d4 fix refiner batch size 2023-07-25 07:53:47 -04:00
Seunghoon Lee 43b9c52bd4
Fix image corruption in half mode with embeddings.
(DirectML)
2023-07-25 17:02:55 +09:00
Vladimir Mandic 7bee313bb3 rename 2023-07-24 19:52:50 -04:00
Vladimir Mandic 5f96c35ab5 prep work for diffusers prompt encoding 2023-07-24 12:09:44 -04:00
Seunghoon Lee 33d814e3e7
Fix DirectML tensor behavior. 2023-07-25 00:03:07 +09:00
Vladimir Mandic 14eec801ec add basename if set 2023-07-24 09:48:46 -04:00
Vladimir Mandic 11f08c1a4a fix diffusers vae decode 2023-07-24 09:05:00 -04:00
Vladimir Mandic 7bbab3c9a9 panzoom 2023-07-24 08:27:15 -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 d88d371e80 add skip 2023-07-23 12:18:16 -04:00
Vladimir Mandic 6adbd05b64 update actions 2023-07-23 08:52:28 -04:00
Vladimir Mandic e491813eb8 cleanup 2023-07-22 16:33:27 -04:00
Vladimir Mandic e342c28055 improve vae loading 2023-07-22 16:28:23 -04:00
Vladimir Mandic 567faeb751 diffusers img2img and inpaint 2023-07-22 15:39:41 -04:00
Vladimir Mandic 511a8cbb61 fix en hypernetwork 2023-07-21 15:04:27 -04:00
Vladimir Mandic b8f2b90210 fix delete files 2023-07-21 14:49:28 -04:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic dd1d4bcffa fix secondary sampler 2023-07-21 10:20:53 -04:00
Vladimir Mandic b31fa98669 fixes... 2023-07-21 09:28:02 -04:00
Disty0 7959dbceac ipex fix cuda error with openpose 2023-07-21 15:28:07 +03:00
Vladimir Mandic a3ab302f51 fix extensions reset 2023-07-20 09:52:21 -04:00
Disty0 57d1d3ed16 Fix Kandinsky safety_checker and compile 2023-07-20 14:29:15 +03:00
Vladimir Mandic 19d176ea3d en add tags 2023-07-19 10:33:23 -04:00
Vladimir Mandic 46709ee391 fix image metadata and diffuser search 2023-07-18 20:41:47 -04:00
Steven 82d2a601c2 When searching for model info from the checkpoint specified from ckpt command line argument, strip the path from the argument so that we only search for the model's filename. 2023-07-18 18:47:39 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 3352876521 img2img batch processing improvements 2023-07-18 07:51:42 -04:00
Vladimir Mandic c71467e7f0 fix gallery 2023-07-17 21:09:22 -04:00
Vladimir Mandic 57dd6652df fix compile logging 2023-07-17 19:30:53 +00:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Disty0 88794e3724 ipex fix cuda error when using pin memory 2023-07-17 17:14:13 +03:00
Vladimir Mandic 4e48173e37 enable sdxl vae 2023-07-16 17:58:08 -04:00
Vladimir Mandic a9e2d90a47 fix invalid config values 2023-07-16 16:01:01 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Seunghoon Lee 0f81cfc213
#1711 2023-07-16 21:30:27 +09:00
Vladimir Mandic e2b33b81d3 fix diffusers samplers 2023-07-15 22:40:03 -04:00
Disty0 f773c782fa ipex cleanup 2023-07-16 01:39:40 +03:00
Vladimir Mandic a7f5e75a35 fix secondary model location 2023-07-15 16:07:10 -04:00
Vladimir Mandic 55c0269032 minor fixes 2023-07-15 10:18:08 -04:00
Vladimir Mandic 9308c32ad2 update samplers and callbacks 2023-07-15 08:44:02 -04:00
Vladimir Mandic 5e2fb4d60c fix enable_hr 2023-07-15 07:17:50 -04:00
Vladimir Mandic 8fd30e4726
Merge pull request #1692 from javsezlol1/master
Update sd_samplers_diffusers.py
2023-07-15 07:17:17 -04:00
Seunghoon Lee 6b4b863fd0
simplify get_device. 2023-07-15 19:03:10 +09: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
javsezlol1 cdc803b127
Update sd_samplers_diffusers.py
removed beta start and end from all into each sampler
DDIM FIX - changed timestep spacing
DDPM FIX - changed timestep spacing
ADDED KDPM2
ADDED KDPM2 A

Temporary fix
DISABLED Bellow , to allow dpm1s and dpm2m
if name.startswith('DPM'):
 self.config['algorithm_type'] = opts.schedulers_dpm_solver

left notes in code to see the changes if need be
2023-07-15 13:33:09 +08:00
Vladimir Mandic ce92bf06c2 fix typo 2023-07-14 20:43:50 -04:00
Vladimir Mandic 02eac9fad3 minor fixes 2023-07-14 20:22:34 -04:00
Vladimir Mandic 484b116664 allow zero steps 2023-07-14 17:20:00 -04:00
Vladimir Mandic b1563f0ddd readd js dummy function 2023-07-14 16:45:27 -04:00
Jack Wooldridge 7fdda2c8b3 MPS fix 2023-07-14 15:34:14 -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
Disty0 14d1136fe7 Fix ipex memstats 2023-07-14 18:09:07 +03:00
Disty0 2a9133bfec IPEX rework 2023-07-14 17:33:24 +03:00
Vladimir Mandic 42cba64ac8 add basename to info search 2023-07-14 08:58:05 -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
Disty0 558b71f088 Fix img2img and hires for IPEX 2023-07-14 02:21:52 +03:00
Disty0 d4c9d752f4 Fix latent antialias with IPEX 2023-07-13 23:13:44 +03:00
Vladimir Mandic 5eb9f388ef flatter look for default theme 2023-07-13 15:21:20 -04:00
Vladimir Mandic a02c43a907
Merge pull request #1669 from James-Willer/master
Adds a button to detect image size for img2img
2023-07-13 12:35:47 -04:00
Disty0 25389f737b Better logging & Set IPEX MemSize from %80 to %100 2023-07-13 19:24:58 +03:00
James-Willer 042d0b79dd
Add files via upload 2023-07-13 21:36:37 +05:30
Vladimir Mandic c55024fe1b set backend persist restarts 2023-07-13 11:53:23 -04:00
Vladimir Mandic fdb76ddf12 model load exception handling 2023-07-13 10:45:58 -04:00
Vladimir Mandic 186bd236f5 js monitor ops 2023-07-13 09:50:38 -04:00
Vladimir Mandic fd1adf73c1
Merge pull request #1648 from Kubuxu/feat/unet-dtype
Use float16 for image processing, use dummy attention head to enable spd flash-attention and memory-efficient attention
2023-07-13 08:08:38 -04:00
Vladimir Mandic 7aa5820811
Merge pull request #1662 from rocketsvm/patch-1
Fix "Train embedding" button
2023-07-13 08:07:37 -04:00
Vladimir Mandic f100e66122 fix refiner prompt 2023-07-13 07:59:43 -04:00
rocketsvm 3c8754ba55
Fix "Train embedding" button 2023-07-13 09:42:27 +05:00
Kubuxu 2eb705df15 Intoduce attention heads dimension into sdp_attnblock_forward
This enables flash-attention and memory-efficient attention optimizations.
2023-07-12 22:12:03 +01:00
Kubuxu a966a0d5ad Use float16 for image processing, force dtype_vae for encoding 2023-07-12 22:12:03 +01:00
Kubuxu 5d0c01b9e3 Use dtype_unet as specified, propagete types in gaussian 2023-07-12 22:11:46 +01:00
Vladimir Mandic 6947776dcb fix imageview direction 2023-07-12 16:59:02 -04:00
Vladimir Mandic e4a682de2b fix priorpipeline 2023-07-12 16:46:25 -04:00
Vladimir Mandic 5c8ead7be0 update diffusers 2023-07-12 15:35:41 -04:00
Disty0 f0506fd517 Move ipex optimize to compile 2023-07-12 19:58:08 +03:00
Vladimir Mandic de2c239c26 large js refactor 2023-07-12 10:58:35 -04:00
Disty0 c3a4293f22 Disable torch_gc for IPEX in WSL2 2023-07-12 13:02:42 +03:00
Disty0 2bce86a50a Replace empty_cache with torch_gc 2023-07-12 12:45:21 +03:00
Disty0 562ca33275 Fix Diffusers _conv_forward dtype error with IPEX 2023-07-12 02:03:45 +03:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 6d277305f6 update processing 2023-07-11 11:40:53 -04:00
Vladimir Mandic 6b26c55138 fix extra network tab detection and add heic to training options 2023-07-11 08:35:18 -04:00
Disty0 a844a83d9d VRAM efficient refiner loading for compiler 2023-07-11 11:00:45 +03:00
Vladimir Mandic 75a8c1f9d0 enable basic img2img 2023-07-10 11:44:52 -04:00
Vladimir Mandic 72048f9e24 installer and extra networks tweaks 2023-07-10 08:19:33 -04:00
Disty0 4152c2049b Update IPEX logging 2023-07-10 14:49:42 +03:00
Vladimir Mandic 85a197ca52 update hints 2023-07-09 16:11:11 -04:00
Disty0 798c5f23c5 VRAM efficient IPEX Optimize for refiner 2023-07-09 19:14:30 +03:00
Vladimir Mandic a16eee1504 bugfix release 2023-07-09 10:06:47 -04:00
Disty0 a9dab70a2c Fix IPEX Optimize with Diffusers 2023-07-09 16:17:50 +03:00
Seunghoon Lee 6b63893348
Fix terminal hang up with TI on DirectML. 2023-07-09 15:47:38 +09:00
Disty0 d915d8d659 Disable xpu.optimize for SD 1-2 2023-07-09 03:09:37 +03:00
Disty0 467197a7f1 xpu.optimize for diffusers 2023-07-09 02:35:12 +03:00
Vladimir Mandic db30f5faec update changelog 2023-07-08 14:22:51 -04:00
Vladimir Mandic 8490cbf65e post merge cleanup 2023-07-08 14:05:55 -04:00
Vladimir Mandic 2a21196061
Merge branch 'master' into dev 2023-07-08 13:35:25 -04:00
Vladimir Mandic 3e61907bfe minor fixes 2023-07-08 13:17:12 -04:00
Seunghoon Lee cf40282faa
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-07-09 01:29:27 +09:00
Seunghoon Lee 99c7f23c89
remove useless methods. 2023-07-09 01:29:04 +09:00
Vladimir Mandic a79b8c86c2 cleanup before merge 2023-07-08 12:20:37 -04:00
Vladimir Mandic 89a7ea6a3f overal quality fixes 2023-07-08 09:49:41 -04:00
Vladimir Mandic 5bf3d229d0 rehost clip-interrogator and update installer 2023-07-07 21:54:21 -04:00
Vladimir Mandic 0f4f8c6015 extra networks fixes 2023-07-07 20:20:48 -04:00
Disty0 4459cc581a Prior device.type cuda or xpu 2023-07-07 23:03:29 +03:00
Disty0 205b516487 Fix diffusers_sdxl on ipex 2023-07-07 22:41:26 +03:00
Vladimir Mandic 120710f28a force model variant 2023-07-07 13:38:04 -04:00
Vladimir Mandic bf84ee8168 update diffusers 2023-07-07 12:48:27 -04:00
Vladimir Mandic 1c22722c8c enable sampler swap for diffusers 2023-07-07 10:10:53 -04:00
Vladimir Mandic 3e4ca0095e fix compile 2023-07-07 10:05:32 -04:00
Vladimir Mandic 3e1a6a96d0 add additional pipelines 2023-07-07 09:38:19 -04:00
Seunghoon Lee 47c96e34d4
Stringify tensor instead of printing. 2023-07-07 19:11:18 +09:00
Seunghoon Lee 1d36e19996
Fix PNDMScheduler for DirectML. 2023-07-07 18:52:04 +09: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 d8748fd7eb theme update 2023-07-06 09:44:43 -04:00
Vladimir Mandic 849877ec50 version lock pillow 2023-07-06 08:50:38 -04:00
Disty0 3bcca6f92b Patch torch.Generator again 2023-07-06 02:51:27 +03:00
Vladimir Mandic dd4602fd64 update dynamo logging 2023-07-05 18:58:26 -04:00
Vladimir Mandic c1dd7cd1ab
Merge pull request #1582 from GalaxyTimeMachine/dev
Update ui_extensions.py
2023-07-05 18:53:34 -04:00
Vladimir Mandic de94eb1589 api update 2023-07-05 18:09:34 -04:00
GalaxyTimeMachine c91b052fc8
Update ui_extensions.py
Corrected typo on line 20: avilable > available
2023-07-05 21:15:51 +02:00
Disty0 422c60c787 Patch torch.Generator 2023-07-05 20:49:39 +03:00
Seunghoon Lee a076ff1b43
Use backend enum on diffusers check. 2023-07-06 01:45:12 +09:00
Seunghoon Lee 993de932ab
Add an opts override for DirectML. 2023-07-06 01:35:00 +09: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
Disty0 99284ff020 Cleanup 2023-07-05 12:43:15 +03:00
Disty0 a62d9b0ca4 Cleanup 2023-07-05 12:39:34 +03:00
Nuullll 860bf8e2bf [IPEX] Support SDE samplers
This is a W/A since `torch.Generator()` API doesn't support `xpu`
backend at the moment. So replacing it with `torch.xpu.Generator()` API
provided by IPEX.
2023-07-05 15:48:58 +08:00
Disty0 45d50bd106 Remove cpu=xpu with ipex 2023-07-05 00:12:07 +03:00
Disty0 966eed8dd9 Autodetect IPEX 2023-07-04 23:37:36 +03: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 145b990c73 thumbnail creation exception handling 2023-07-03 22:47:29 -04:00
Vladimir Mandic 8374f08de8 fix pipeline 2023-07-03 17:40:50 -04:00
Vladimir Mandic 35c210655d linting update 2023-07-03 17:00:28 -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 875d0db103 fix division by zero 2023-07-02 08:26:51 -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 12aaeac26a change lora and lyco dirs on-the-fly 2023-07-01 10:46:11 -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
Seunghoon Lee a9fa014e31
Fix image corruption of RESRGAN upscaler in DirectML. 2023-06-29 11:10:48 +09:00
Vladimir Mandic 20163c9a32 fix timedelta 2023-06-28 16:18:44 -04:00
Vladimir Mandic a79e6b2f55 add trending score and sortby to extensions 2023-06-28 15:37:32 -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
Vladimir Mandic c80b1ebc36 stricter lint rules 2023-06-27 10:28:47 -04:00
Vladimir Mandic f7ff5bcf3c update lint rules 2023-06-27 09:35:46 -04:00
Vladimir Mandic 5757cd8fe4 allow extensions in detached git mode 2023-06-27 09:15:55 -04:00
Vladimir Mandic 2a41bf1406 fix styles 2023-06-27 09:04:42 -04:00
Vladimir Mandic b5129bc94a update 2023-06-27 08:38:15 -04:00
Vladimir Mandic 084893b3ef messages on load/save styles 2023-06-27 08:24:55 -04:00
Disty0 102503a3a4 Fix ControlNet and change to sub-quad on ipex 2023-06-27 15:17:13 +03:00
Vladimir Mandic d69aa16b69 upgrade only on demand 2023-06-27 08:00:23 -04:00
Vladimir Mandic 0a49961baa refresh 2023-06-26 11:01:28 -04:00
Disty0 9a7c765506 Run torch.xpu.memory_allocated with device 2023-06-23 11:08:11 +03:00
Disty0 4f722289ca Fix ipex memmon 2023-06-23 11:03:07 +03:00
Vladimir Mandic 91e65fd3c5 sort extra networks depth-first 2023-06-22 09:36:42 -04:00
Vladimir Mandic 9740b9d217 new training and models interface 2023-06-22 07:46:48 -04:00
Disty0 6ea6f2448e Revert loss scale for ipex 2023-06-19 23:59:18 +03:00
Vladimir Mandic 2345237844 fix race condition on model load via api 2023-06-19 09:13:17 -04:00
Vladimir Mandic f42553918b filename handling 2023-06-19 07:58:12 -04:00
Vladimir Mandic b340e3f40c try again 2023-06-18 16:30:59 -04:00
Vladimir Mandic b5c5c3cca6 add compatibility layer for extensions accessing ui.py directly 2023-06-18 16:24:38 -04:00
Vladimir Mandic 457dddf7aa refactor html-info and do some linting cleanups 2023-06-18 11:38:42 -04:00
Vladimir Mandic 08db2462a2 save correct metadata with larger batches 2023-06-18 09:33:17 -04:00
Vladimir Mandic e9f4ba0215 guard against empty values 2023-06-17 20:41:49 -04:00
Vladimir Mandic fa35ea1516 log handlers: rotate and ring buffer 2023-06-17 20:12:04 -04:00
Vladimir Mandic 8d80b5f6d9 add server class 2023-06-17 13:44:55 -04:00
Vladimir Mandic 5808b7a6ea update settings and hints 2023-06-17 08:13:19 -04:00
Vladimir Mandic d858db446d fix approx lookups 2023-06-16 20:46:38 -04:00
Vladimir Mandic 8749067510 cleanup 2023-06-16 16:18:15 -04:00
Vladimir Mandic eae813bc56 make image metadata optional 2023-06-16 11:39:09 -04:00
Vladimir Mandic ab18cb8d63 advanced uvicorn/hypercorn config 2023-06-16 10:50:40 -04:00
Disty0 71b1532bb0 Scale loss for ipex 2023-06-15 23:55:23 +03:00
Vladimir Mandic c52c63128b handle sending of deleted images 2023-06-15 14:08:12 -04:00
Vladimir Mandic ba6f9fb4c9 fix callbacks 2023-06-15 10:31:30 -04:00
Vladimir Mandic ae582557b7 fix sd model dict xyz 2023-06-15 08:04:22 -04:00
Disty0 618097dac2 GradScaler patch for IPEX 2023-06-15 01:19:35 +03:00
Vladimir Mandic 9334b2f21c jumbo merge part three 2023-06-14 13:54:23 -04:00
Vladimir Mandic 0ddf613b49 jumbo merge part two 2023-06-14 11:23:02 -04:00
Disty0 a9f66cb33e loss / 2 for ipex train 2023-06-14 12:18:08 +03: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
Disty0 0d101b9def Revert xpu.optimize in training 2023-06-13 15:36:52 +03:00
Vladimir Mandic f510abed39 fix sd metadata 2023-06-13 07:22:48 -04:00
Vladimir Mandic eb47acf552 add metadata cache 2023-06-12 22:11:25 -04:00
Vladimir Mandic 033ca1acd1 additional hints 2023-06-12 13:55:19 -04:00
Vladimir Mandic bc557eeddd update changelog 2023-06-12 13:45:10 -04:00
Vladimir Mandic f89a4d6560 new hints display 2023-06-12 09:37:18 -04:00
Disty0 c9e95bec3f Fix loss=nan 2023-06-12 06:13:18 +03:00
Vladimir Mandic 1595c7a11c minor fixes 2023-06-11 21:49:48 -04:00
Disty0 ab255b732b Remove unnecessary ipex code 2023-06-12 04:45:29 +03:00
Disty0 c9e58c9604 Fix train for IPEX 2023-06-12 00:21:32 +03:00
Vladimir Mandic 1d0a18ef4a reorg server startup 2023-06-11 09:00:38 -04:00
Disty0 bda28dc35f Add check for IPEX Compile 2023-06-11 01:23:58 +03:00
Vladimir Mandic 409c9d4c9d upstream ports 2023-06-10 18:23:28 -04:00
Disty0 f63dd1c92e Fix torch.linalg.solve with IPEX & Diffusers UniPC 2023-06-10 22:01:09 +03:00
Vladimir Mandic 99622b7825
Merge pull request #1382 from vladmandic/settings
Settings
2023-06-10 07:37:11 -04:00
Vladimir Mandic 81172bf534 update labels and hints 2023-06-10 07:18:56 -04:00
Vladimir Mandic 1aca29a529
Merge pull request #638 from Gegell/settings-improvements
Settings Tab Improvements
2023-06-09 17:17:11 -04:00
Alex Heller cba227f19c Removed extraneous space added accidentally 2023-06-09 22:06:15 +02:00
Vladimir Mandic e8e260408f optimize live preview 2023-06-09 12:29:50 -04:00
Vladimir Mandic 4741804295 fix ext name match 2023-06-09 09:14:25 -04:00
Alex Heller bb04bc5dc7 Reverted linendings to original file linendings 2023-06-09 02:38:10 +02:00
Vladimir Mandic b6ac47e799 fix process 2023-06-08 14:07:27 -04: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 69ab29b097 Moved dirty setting tab indicator element creation to python backend side 2023-06-08 18:46:41 +02:00
Alex Heller f47444edc5 Removed double use of `ui` id in setting tabs 2023-06-08 17:50:48 +02:00
Vladimir Mandic c82eaef261 update save function 2023-06-08 11:17:09 -04:00
Vladimir Mandic 0d629f3c2b fix installer and add image-exif 2023-06-08 09:01:43 -04:00
Vladimir Mandic 6ef3e964a3 update images index 2023-06-08 06:45:28 -04:00
Vladimir Mandic 0cca4d452a add saving from process tab 2023-06-07 17:35:27 -04:00
Vladimir Mandic 98719c1672 bugfixes 2023-06-07 14:49:46 -04:00
Disty0 eaeb5453b8 Fix show_progress_type 2023-06-07 21:16:11 +03:00
Vladimir Mandic aaa0d46286 update installer and add sd_model_dict 2023-06-07 13:26:21 -04:00
Disty0 8e3a8fb474 Fix PI_ERROR_DEVICE_NOT_FOUND with UniPC and IPEX 2023-06-07 19:17:55 +03:00
Disty0 3bef3e3eee Train patches for IPEX 2023-06-07 17:25:11 +03:00
Vladimir Mandic 2a664b1bdb new localization engine 2023-06-06 17:32:34 -04:00
Vladimir Mandic 82095082af fix model path on initial install 2023-06-06 15:32:22 -04:00
Vladimir Mandic b8f432aff4 cleanup 2023-06-06 12:01:11 -04:00
Alexander Brown ac20b37e1a
Update ui_extensions.py 2023-06-06 08:31:38 -07:00
Vladimir Mandic f0ad70c80a fix upscalers 2023-06-06 08:48:11 -04:00
Vladimir Mandic fff3bda6cf fix extra network save preview/description 2023-06-06 07:52:59 -04:00
Vladimir Mandic 4580680538 allow access to files in data-dir 2023-06-05 15:39:46 -04:00
Vladimir Mandic c49b6c34e1 fix extra networks 2023-06-05 15:14:50 -04:00
Vladimir Mandic 464bd60977
Merge pull request #1322 from vladmandic/improve_diffusers_backend
Improve when loading from diffusers
2023-06-05 14:28:20 -04:00
Vladimir Mandic efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Patrick von Platen 9cf5888479 dedup code 2023-06-05 18:23:35 +00:00
Patrick von Platen 46d410687e Improve when loading from diffusers 2023-06-05 18:22:17 +00:00
Disty0 c52fb69dde Fix bf16 test 2023-06-05 20:49:18 +03:00
Vladimir Mandic c0a824d8c6 add extra networks to xyz 2023-06-05 10:32:08 -04:00
Alex Heller bbb0aadddf Removed old resetting to previous values
This is due to a change in `_js` which lead to the instant updates breaking :(
Need to reinvestigate how to actually fix this.
For now the broken feature got replaced with a working, but sloooow solution (updates one by one when resetting)
2023-06-05 04:26:07 +02: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 63ca5c17e7 add extensions profiling 2023-06-04 12:14:05 -04:00
Vladimir Mandic 7301566353 fix image save to subfolder 2023-06-04 08:00:57 -04:00
Vladimir Mandic b127ca4874 catch extra networks error 2023-06-04 07:05:31 -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 549c02a874 minor fixes 2023-06-03 10:37:02 -04:00
Disty0 4265692505 Fix GradScaler doesn't exist for XPU 2023-06-03 17:02:44 +03: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 22f63c42f1 set fallback sampler 2023-06-02 07:56:53 -04:00
Vladimir Mandic 87986a6f85
Merge pull request #1260 from DrJKL/patch-1
Fix typo (hmtl->html)
2023-06-02 07:08:42 -04:00
Disty0 d6b3504f4d Compile with IPEX Optimize 2023-06-02 13:04:50 +03:00
Alexander Brown 4d20d88810
Fix typo (hmtl->html) 2023-06-01 21:54:52 -07:00
cool-bigdogs-tshirt 1268d2762f fix unipc inpainting 2023-06-01 18:03:26 -05:00
Disty0 562947c944 Use proper device names instead of "xpu" 2023-06-02 01:14:56 +03:00
Vladimir Mandic 251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vince Navarro c30eb90aff
Remove stray print 2023-06-01 17:28:13 -04:00
Vince Navarro 523dbaf8dc
Add XPU support for --device-id 2023-06-01 16:42:21 -04:00
Vladimir Mandic 02c9640fa5 enhance image saving 2023-06-01 15:44:38 -04:00
Vladimir Mandic 364df7036e redo progressbar 2023-06-01 11:43:28 -04:00
Vladimir Mandic 8f4bc4df08 update changelog 2023-05-31 12:44:35 -04:00
Vladimir Mandic 4b9924a35a
Merge pull request #1237 from DrJKL/new-title
Raise exception when failing to find diffuser model
2023-05-31 12:03:32 -04:00
Alexander Brown 2e7aa7eb15 Raise exception when failing to find diffuser model 2023-05-31 08:54:58 -07:00
Vladimir Mandic fcb9bde068 add pause button 2023-05-31 11:47:22 -04:00
Vladimir Mandic d9f72b066f precalc hashes 2023-05-31 09:14:34 -04:00
Disty0 3b99450022 Check for k-diffusion patch 2023-05-31 12:12:55 +03:00
Disty0 b2b67127e3 Fix torch.Generator does not support XPU 2023-05-31 12:03:38 +03:00
Vladimir Mandic d1ab205d3d fix samplers 2023-05-30 17:15:52 -04:00
Vladimir Mandic c39553c4ed fix ensd 2023-05-30 16:50:36 -04:00
Vladimir Mandic fa51d45bc3 fix samplers 2023-05-30 15:28:41 -04:00
Vladimir Mandic 873371f1e5 merge stage one 2023-05-30 14:13:29 -04:00
Vladimir Mandic b664991633 update samplers 2023-05-30 12:18:22 -04:00
Vladimir Mandic 24bbe045a7 fix paste 2023-05-29 20:55:33 -04:00
Vladimir Mandic 8354b7c6d9 style changes 2023-05-29 15:42:24 -04:00
Vladimir Mandic 5f1fd7bd66 update common ui 2023-05-29 13:43:03 -04:00
Disty0 9dbe8bc6e4 Fix cuda with ipex on memmon.py 2023-05-29 00:35:49 +03:00
Vladimir Mandic 54257dd226 refactoring for pylint 2023-05-28 17:09:58 -04:00
Vladimir Mandic 2ee38ccd0e update 2023-05-28 16:07:13 -04:00
Disty0 09141ee1a8 Fix int64 with UniPC && Add OneAPI version logging 2023-05-28 21:25:34 +03:00
Vladimir Mandic 7254925dca add settings search 2023-05-28 11:46:48 -04:00
Vladimir Mandic 9bf0b1ae1f allow experimental to override precision 2023-05-28 07:46:47 -04:00
Vladimir Mandic 851d129680 more diffusers work 2023-05-27 15:49:54 -04:00
Vladimir Mandic 24d8570bcb update model merge 2023-05-27 09:29:57 -04:00
Vladimir Mandic 421db2c046 reorder hires 2023-05-27 07:37:28 -04:00
Vladimir Mandic efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Disty0 8022de7464 Fix AVX512 error when using low or med vram with ipex 2023-05-26 23:43:37 +03:00
Vladimir Mandic 1e07e871fb add get version method 2023-05-25 13:59:57 -04:00
Vladimir Mandic 9a3a56dbb2 fix ipex device 2023-05-25 13:40:48 -04:00
Vladimir Mandic cb62c2f6ad fix plms fallback 2023-05-25 13:25:26 -04:00
Vladimir Mandic 8495842634 update profiling 2023-05-25 10:41:28 -04:00
Vladimir Mandic f8884bc051 fix hip detection 2023-05-25 09:13:57 -04:00
Vladimir Mandic fc82ea2d7e cache loaded model 2023-05-25 08:51:46 -04:00
Vladimir Mandic 9285326c6d fix tqdm 2023-05-25 07:53:25 -04:00
Vladimir Mandic 9e22d91245 update logging and temp file handling 2023-05-25 07:41:40 -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 8091ef2fca update hiresfix 2023-05-24 12:48:08 -04:00
Vladimir Mandic 0acc7d3b86 fix redirector 2023-05-24 08:49:33 -04:00
Disty0 5614a4c3fd Fix typo 2023-05-24 13:11:02 +03:00
Disty0 0412651a6c Send to CPU intead of XPU when unloading 2023-05-24 13:03:40 +03:00
Vladimir Mandic 5c516332d7 bug fixes 2023-05-23 18:48:37 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic beff89bad3 api auth override 2023-05-22 15:27:20 -04:00
Vladimir Mandic c103e53689 secure api access 2023-05-22 14:31:04 -04:00
Vladimir Mandic a64bb4375a minor upadtes 2023-05-22 10:50:59 -04:00
Vladimir Mandic e129e83276 updatr gradio 2023-05-22 08:42:47 -04:00
Vladimir Mandic d647bb5c05 minor updates 2023-05-21 18:49:07 -04:00
Vladimir Mandic d9647fd53e add training options 2023-05-21 09:44:36 -04:00
Vladimir Mandic ea0780339a fixes 2023-05-21 08:17:36 -04:00
Vladimir Mandic b6289d56c7 cleanup 2023-05-20 13:36:27 -04:00
Vladimir Mandic 2ce9852cff update 2023-05-20 13:14:04 -04:00
Vladimir Mandic f8f81f86e6 update prompt parser and image size 2023-05-20 13:12:50 -04:00
Vladimir Mandic e59ebe25ce fix styles path 2023-05-20 10:33:31 -04:00
Vladimir Mandic 335ad42fc8 fix segment delimiter 2023-05-20 09:35:14 -04:00
Vladimir Mandic 0891b30ffe update 2023-05-20 08:29:29 -04:00
Matt Parnell 1237782f47 oops 2023-05-19 23:46:06 -05:00
Matt Parnell 2a2921c177 add missing check for empty tensor 2023-05-19 23:29:53 -05:00
Alex Heller f4cd452c14 Made show all settings a tab instead of a separate button
This makes it play more nicely with the other tabs.
It still needs some js though to keep the other setting tabs open, when resetting settings.
2023-05-20 00:18:46 +02:00
Vladimir Mandic 794b23cc2b add parser to infotext 2023-05-19 16:56:08 -04:00
Vladimir Mandic 4c4e147baa fully localize data-dir 2023-05-19 15:23:26 -04:00
Vladimir Mandic 6221ccba4f change default model on download 2023-05-19 14:06:46 -04:00
Vladimir Mandic 42280ef804 add theme mode toggle 2023-05-19 13:24:40 -04:00
Vladimir Mandic 9033499e08 add manual seed 2023-05-19 08:34:43 -04:00
Vladimir Mandic df65e8e30a update clip skip and attention normalization 2023-05-18 22:16:24 -04:00
Vladimir Mandic 527dc0eedf update parser 2023-05-18 19:46:11 -04:00
Vladimir Mandic 1c70056744 match vae file 2023-05-18 19:09:34 -04:00
Vladimir Mandic e1cd374009 fix temp file handler 2023-05-18 18:50:31 -04:00
Vladimir Mandic fef49279f8 update 2023-05-18 15:41:52 -04:00
Vladimir Mandic 314a9bf67c fix extension uninstall 2023-05-18 14:55:43 -04:00
Vladimir Mandic 0c1bb95b13 test fix 2023-05-18 14:16:30 -04:00
Vladimir Mandic 325c0945d2 update model path 2023-05-18 14:04:06 -04:00
Vladimir Mandic 8b682183e3 update gradio 2023-05-18 10:41:24 -04:00
Vladimir Mandic df1fae7248 fix models path 2023-05-18 10:17:39 -04:00
Vladimir Mandic 0e46e74c5e fix extension update/uninstall 2023-05-18 09:27:42 -04:00
Vladimir Mandic 6c66228cde fix models dir 2023-05-18 08:17:49 -04:00
Vladimir Mandic c1e70df845 follow symlinks 2023-05-18 07:36:38 -04:00
Vladimir Mandic 4d67ee67ed minor fixes 2023-05-18 07:09:38 -04:00
Vladimir Mandic 1dffd114fc fix vae loading 2023-05-17 15:38:12 -04:00