Commit Graph

4977 Commits (e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92)

Author SHA1 Message Date
Vladimir Mandic 934152dcfc fix hypertile 2023-12-14 09:22:05 -05:00
Vladimir Mandic 72839b7d65 refactoring to support control 2023-12-13 15:48:10 -05:00
Disty0 68206fbc05 IPEX update to PyTorch 2.1 wheels for Linux 2023-12-13 18:19:08 +03:00
Vladimir Mandic 9e9d31f1b7 fix save params.txt 2023-12-13 08:34:42 -05:00
Vladimir Mandic 033569cfb1 minor updates 2023-12-12 14:36:00 -05:00
Vladimir Mandic e2213a49e0 add pipeline script example 2023-12-11 19:44:00 -05:00
Disty0 86894b8249 Remove Intel ARC 1024x1024 workaround from OpenVINO 2023-12-11 19:29:55 +03:00
Disty0 ac85b3a423 Add OpenVINO cache path option to System Paths 2023-12-11 19:18:30 +03:00
Vladimir Mandic 839e12e062 cleanup 2023-12-11 10:57:11 -05:00
Disty0 0fe27642a5 IPEX fix dtype errors when GPU supports 64 bit 2023-12-11 18:45:02 +03:00
Vladimir Mandic 0d805e3ed7 fix tensor conversion 2023-12-11 10:22:53 -05:00
Vladimir Mandic b7cbd34106 update api and img2img 2023-12-11 10:00:42 -05:00
Vladimir Mandic 91a8746a27 update cli scripts 2023-12-11 09:08:02 -05:00
Vladimir Mandic d71287e068 fix tensor to np 2023-12-10 18:06:07 -05:00
Vladimir Mandic 4823595dc9 minor fixes 2023-12-10 10:27:44 -05:00
Vladimir Mandic 1b1ae6784c add demofusion 2023-12-09 14:15:48 -05:00
Vladimir Mandic f91735deac fix prompt parser with blank lines 2023-12-09 10:14:35 -05:00
Vladimir Mandic 6cd178541b fix hdr 2023-12-09 10:00:29 -05:00
Vladimir Mandic b96131fad2 fix en sort 2023-12-09 09:36:33 -05:00
Vladimir Mandic b1e3a8fa15 fix filenamegen 2023-12-08 13:27:56 -05:00
Vladimir Mandic f49e66577a lint fixes 2023-12-08 12:27:00 -05:00
Vladimir Mandic aa4b9b4119 enable civit token 2023-12-08 12:21:25 -05:00
Vladimir Mandic 87eeedd276 long filename and batch processing 2023-12-08 12:05:21 -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 72a167c43a add video processing 2023-12-08 10:24:01 -05:00
Vladimir Mandic bd64bac2a3 update ip-adapter, schedulers and xyz-grid 2023-12-07 12:41:11 -05:00
Disty0 21eb4292e3 Fix IPEX Optimize 2023-12-06 19:53:52 +03:00
Vladimir Mandic 71743dfda3 add playground models 2023-12-06 10:48:42 -05:00
Disty0 6031b7199e IPEX fix torch.UntypedStorage.is_cuda 2023-12-05 22:20:52 +03:00
Vladimir Mandic 0febcc2aa8 animatediff full latent mode 2023-12-05 14:07:52 -05:00
Vladimir Mandic 6cec284a6f cleanup compile 2023-12-05 11:50:03 -05:00
Disty0 c8970ab361 Cleanup IPEX libs 2023-12-05 19:48:15 +03:00
Vladimir Mandic 7c16ea6b1d add modelscope 2023-12-05 11:29:43 -05:00
Disty0 629a46aaa5 Disable IPEX attention if the GPU supports 64 bit 2023-12-05 19:27:14 +03:00
Vladimir Mandic 635efb0203 fix save metadata 2023-12-05 10:04:32 -05:00
Vladimir Mandic bf5ea244a8 add hdr settings to metadata 2023-12-05 09:26:55 -05:00
Vladimir Mandic 6cd4abba97 cleanup 2023-12-04 19:16:35 -05:00
Vladimir Mandic 167b903ed8 add additional ip-adapters 2023-12-04 19:16:12 -05:00
Vladimir Mandic 2b49dae74f en load improvements, torchvision compatibility fix 2023-12-04 18:32:52 -05:00
Vladimir Mandic 2933ed6b4a lint fixes 2023-12-04 10:08:11 -05:00
Vladimir Mandic 77f06befa4 handle zero size image resize 2023-12-04 10:01:15 -05:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -05:00
Disty0 960381210f IPEX fix UntypedStorage and Generator 2023-12-02 01:08:02 +03:00
Vladimir Mandic 2552555678 animatediff live previews and implement interpolate 2023-12-01 13:16:23 -05:00
Vladimir Mandic 52f453400a add rife prototype and handle missing default scriptrunners 2023-12-01 10:27:41 -05:00
Vladimir Mandic 84d733f0a0 add stable-video-diffusion 2023-11-30 11:21:26 -05:00
Vladimir Mandic f08b4e5c23 add sdxl-turbo 2023-11-29 16:32:12 -05:00
Vladimir Mandic d8d8f58072 initial lightweight animatediff 2023-11-28 19:30:10 -05:00
Vladimir Mandic c2f8e8cc30 prereqs 2023-11-28 11:06:47 -05:00
Vladimir Mandic 202f27e80f add tokenizers to explict requirements 2023-11-27 17:24:06 -05:00
Vladimir Mandic 12411f2858 update hdr 2023-11-27 09:03:22 -05:00
Vladimir Mandic 49f8730814 fix save text file for manually saved images 2023-11-27 08:07:12 -05:00
AI-Casanova 6d11fdf695
SDXL Rebasin (#2561)
* Add SDXL PermSpec

Also attempt to fix unmatched key error

* Fixes

* Renumber SDXL PermSpec
2023-11-25 15:23:30 -06:00
Vladimir Mandic 1502dc2e13 add kandinsky3 support 2023-11-25 13:27:16 -05:00
Vladimir Mandic 128bbe5561 fix img2img/inpaint paste params 2023-11-25 11:53:51 -05:00
Vladimir Mandic 9bd66e578a fix prompt padding 2023-11-25 10:16:03 -05:00
Vladimir Mandic d7ff507e4c autodetect inpaint and instruct pipelines 2023-11-25 08:21:04 -05:00
Vladimir Mandic bcba5cadab add ip adapter and hdr latent control 2023-11-24 18:06:09 -05:00
Vladimir Mandic 1d5eb29550 lint fixes 2023-11-24 09:27:28 -05:00
Vladimir Mandic 0e95630ee5 fix prompt display 2023-11-24 09:00:17 -05:00
Vladimir Mandic 9edfc987e0 add task_args 2023-11-24 08:32:06 -05:00
Vladimir Mandic 36562509f0 fix types 2023-11-23 14:38:46 -05:00
Vladimir Mandic aed6aa0217 relax type checks 2023-11-23 14:23:19 -05:00
Vladimir Mandic 567b9dd435 offloading deal with meta tensors 2023-11-23 10:31:46 -05:00
Vladimir Mandic 096fd04f53 fix model offload on long prompts and update requirements 2023-11-23 09:42:24 -05:00
Vladimir Mandic fd9d747a47 force inpaint 2023-11-22 12:28:35 -05:00
Vladimir Mandic d660b288f8 model update check if latest exists 2023-11-22 11:53:41 -05:00
Vladimir Mandic 15503a7e0c add experimental model update 2023-11-21 12:25:19 -05:00
Disty0 bd141bbfeb IPEX decrease Torch GC Threshold to 80 2023-11-21 16:47:35 +03:00
Disty0 1793c2e116 OpenVINO fix LoRa and Update to Torch 2.1.1 2023-11-21 14:22:55 +03:00
Vladimir Mandic e6a8a43bdc fix controlnet compatibility 2023-11-20 16:49:46 -05:00
AI-Casanova d077658524 Fix rebasin 2023-11-20 14:34:15 -06:00
Vladimir Mandic 00b246c052 update advanced merging 2023-11-20 11:43:30 -05:00
AI-Casanova 564b67bcd8
Merge: Typo and error handling (#2527)
* Typo and error handling

* typo typo

* error logging

* fix alpha vs beta

* Don't log VAE keys in unpruning
2023-11-19 13:47:02 -06:00
Vladimir Mandic 2b5adeeb92
Merge pull request #2443 from AI-Casanova/Extended-Merging
Advanced Merging
2023-11-19 13:09:57 -05:00
AI-Casanova 581ab58bdd Fix item 1,2,3,5,6 2023-11-19 12:03:13 -06:00
AI-Casanova c5371a5087 pylint fixes 2023-11-18 12:05:15 -06:00
AI-Casanova f2b66b8720 Error handling 2023-11-18 11:45:54 -06:00
AI-Casanova d9d3c2e7fc Replace Original Merge Method Major Cleanup 2023-11-18 11:33:20 -06:00
AI-Casanova 026790fe4c Cleanup and optimization 2023-11-18 11:14:15 -06:00
AI-Casanova d2d54af7ac Cleanup and Credits 2023-11-18 11:04:43 -06:00
AI-Casanova cea7464553 Use Internal read_state_dict 2023-11-18 10:45:54 -06:00
Vladimir Mandic b647fb84e9 fix non-sd pipeline 2023-11-18 11:20:31 -05:00
Vladimir Mandic 53019de30f todo cleanup 2023-11-18 09:22:12 -05:00
Vladimir Mandic 606e4d5c08 configurable hf cache 2023-11-18 08:46:59 -05:00
Disty0 bdc4bd846f IPEX fix torch.load 2023-11-18 15:42:53 +03:00
AI-Casanova c93d6c7e26 typos 2023-11-17 21:47:33 -06:00
AI-Casanova 73cbd609c1 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-17 21:30:46 -06:00
AI-Casanova 6aa859198f device fixes 2023-11-17 21:10:56 -06:00
AI-Casanova cb8be0fc6e Add torch.device 2023-11-17 20:35:06 -06:00
AI-Casanova abb4739590 More UI Improvements 2023-11-17 20:18:55 -06:00
AI-Casanova 2515b83251 GUI Improvement 2023-11-17 19:30:33 -06:00
Vladimir Mandic d46dddd024 fix upscale and add some compile options 2023-11-17 16:59:33 -05:00
Disty0 7ef41af090 Fix AnimateDiff is_sdxl error 2023-11-17 23:32:12 +03:00
Vladimir Mandic 75af4087e8 formatting 2023-11-17 10:53:21 -05:00
Vladimir Mandic 378c167820 update pillow 2023-11-17 08:38:16 -05:00
AI-Casanova 9b80d51630 Add Doc Strings to UI 2023-11-16 21:21:52 -06:00
AI-Casanova 17d5b15224 Doc Strings for Merge Methods 2023-11-16 21:00:27 -06:00
AI-Casanova 6c34317a57 fix precision 2023-11-16 19:31:36 -06:00
AI-Casanova 26f6e717f6 Update extras.py 2023-11-16 19:17:13 -06:00
AI-Casanova db20da7b1a Fixes 2023-11-16 19:01:03 -06:00
AI-Casanova 55363254d4 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-16 17:28:11 -06: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 cc19925bae Fix Diffusers steps logic 2023-11-16 19:22:04 +03:00
Vladimir Mandic 4ea908ccd4 cleanup 2023-11-16 09:55:18 -05:00
Disty0 6e994ff110 OpenVINO fix Lora not loading on model change 2023-11-16 01:07:09 +03: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
Disty0 f5f14282fb OpenVINO move caches to compiled_model_state 2023-11-15 20:35:50 +03:00
Vladimir Mandic b10cdb9d3e multiple cleanups 2023-11-15 12:08:54 -05:00
Vladimir Mandic eb98547ab8 lint updates 2023-11-14 17:24:04 -05:00
Vladimir Mandic c4fa799d83
Merge pull request #2510 from midcoastal/Feat/XYZSubGrids
Feat/xyz sub grids
2023-11-14 17:17:47 -05:00
Vladimir Mandic 1de913f984 auto refresh styles on change 2023-11-14 17:16:33 -05:00
Vladimir Mandic 882da270e9 add SD_LORA_DIFFUSERS 2023-11-13 18:42:02 -05:00
Midcoastal 8a27e1433b
Enable grid overall title. 2023-11-13 18:37:34 -05:00
Vladimir Mandic 3f6c0d843c new line means break 2023-11-13 18:08:07 -05:00
Vladimir Mandic 69c5cff112 diffusers prompt handle BREAK 2023-11-13 17:49:56 -05:00
Vladimir Mandic 39e5d614ff consistency decoder 2023-11-13 16:37:41 -05:00
Vladimir Mandic d6aefd046c reference match previews 2023-11-13 16:20:21 -05:00
Vladimir Mandic 35cd05b721 fix model compile 2023-11-13 12:35:00 -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 cff5d637bc fix inpaint 2023-11-12 17:35:33 -05:00
Vladimir Mandic 39085ab39d minor updates 2023-11-11 11:38:07 -05:00
Vladimir Mandic 9c7e1291a7 move save params to after generate 2023-11-11 07:59:48 -05:00
AI-Casanova 310b73a908 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-10 22:30:07 -06:00
Vladimir Mandic 25953f68a2 update paste parsing 2023-11-10 11:30:52 -05:00
Vladimir Mandic 056b04dcd0 lint cleanup 2023-11-10 10:10:41 -05:00
Vladimir Mandic 79af359b1b minor updates 2023-11-10 10:04:15 -05:00
Disty0 eda2aa6da2 re-update lcm-convert.py 2023-11-10 17:19:50 +03:00
vladmandic b8a980c705 Deploying to master from @ vladmandic/automatic@f29d392607 🚀 2023-11-10 14:12:28 +00:00
Disty0 e2bcbaeed0 update lcm-convert.py 2023-11-10 17:12:15 +03:00
Vladimir Mandic f29d392607
Merge pull request #2489 from Nuullll/sdnext-master
Fix UnboundLocalError for variable 'updated'
2023-11-10 08:50:27 -05:00
Vladimir Mandic 9778af1bc6 safe check scripts type 2023-11-10 08:46:26 -05:00
Nuullll 3616fba9be Fix UnboundLocalError for variable 'updated' 2023-11-10 21:44:09 +08:00
AI-Casanova 39acd0af66 Add VAE bake 2023-11-10 07:38:37 -06:00
Vladimir Mandic 653d253bfe allow upscalers in subfolders 2023-11-10 08:34:35 -05:00
Vladimir Mandic dc436b1f9d fix 2023-11-10 08:28:33 -05:00
AI-Casanova b65dfae35a Fix rebasin 2023-11-10 07:21:24 -06:00
AI-Casanova 02a32e7108 Add Logging 2023-11-10 07:02:17 -06:00
AI-Casanova 864fc898fa Bugfix 2023-11-10 06:51:38 -06:00
Vladimir Mandic 6564e99ccd update pipelines and xyzgrid 2023-11-09 18:22:24 -05:00
Vladimir Mandic fd3f971b40 update steps 2023-11-09 17:34:17 -05:00
Vladimir Mandic 0b60055702 add brackets 2023-11-09 16:26:20 -05:00
Vladimir Mandic 290970e536 safe move offloads 2023-11-09 12:57:46 -05:00
Vladimir Mandic 294af698e5 modify base/hires/refiner steps calculations 2023-11-09 12:27:07 -05:00
Vladimir Mandic 7cbd2bc9b5 fix list view 2023-11-09 09:28:44 -05:00
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