Commit Graph

295 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
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 4826197d5b
Merge pull request #2047 from vladmandic/master
update dev
2023-08-20 14:43:09 +02:00
Disty0 f9718f068c Seperate OpenVINO from IPEX 2023-08-19 17:52:15 +03: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 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Disty0 81129cc4b7 IPEX remove torchvision from Windows 2023-08-17 11:46:49 +03:00
Disty0 8ddac64958
Merge branch 'master' into ipex-native-win 2023-08-16 20:27:57 +03: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
Disty0 66394c8cd9 IPEX add OpenVINO as compile backend 2023-08-14 21:54:21 +03:00
evshiron bb6b3e2e3f fix: fix tensorflow installer for navi 3x 2023-08-14 00:58:07 +08:00
evshiron b3029200f5 refactor: refactor rocm installer 2023-08-13 20:18:57 +08:00
evshiron 414acda2e9 feat: improved rocm installer for navi 3x and rocm 5.5+ (and experimental navi 2x support) 2023-08-13 19:02:08 +08:00
Vladimir Mandic 357b5dac60 add dpm++ 3m sde sampler 2023-08-13 10:19:33 +00:00
Vladimir Mandic 1cfebbb717 skip uninstall on experimental 2023-08-12 22:16:37 +02:00
Vladimir Mandic 69eaf4c664 fix batch 2023-08-12 08:32:19 +00:00
Disty0 307e08653c Fix compel install 2023-08-11 01:15:16 +03: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
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
unknown b4ea0fa0fa PIP_EXTRA_ARGS 2023-08-09 21:08:00 +02:00
Yilong Guo dc776708d6
Merge branch 'vladmandic:master' into ipex-native-win 2023-08-08 22:27:55 +08:00
Yilong Guo 7afabc4ab5
Update installer.py 2023-08-08 13:35:30 +08:00
Nuullll 432b3c9d9e [IPEX] Fix native windows setup 2023-08-08 13:16:48 +08:00
Vladimir Mandic 0a3e821067 diffuser auto-pipeline and fix vae 2023-08-07 17:19:30 +00:00
Vladimir Mandic 23f6b66bd7 update requirements 2023-08-07 15:45:49 +02:00
Disty0 dd4412734e IPEX add torchvision on Windows 2023-08-07 11:32:00 +03:00
Disty0 489d0382cf IPEX Diffusers fix cannot allocate more than 4GB 2023-08-05 17:26:18 +03:00
Vladimir Mandic a12c9117e6 add requirement check install flag 2023-08-04 11:23:25 +02:00
Disty0 668def0b9a Add Windows packages for IPEX 2023-08-04 10:40:29 +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
Vladimir Mandic d7ae6c61e1 git autostash 2023-08-03 17:49:52 +02:00
Disty0 a293e3cdcb Torch 2.0 for IPEX 2023-08-03 16:29:56 +03:00
Disty0 86099dfb15 Use TensorFlow ITEX for Intel GPUs 2023-07-23 15:47:15 +03:00
Hameer Abbasi 9647a607c1
ROCm-related fixes
1. Don't set `HSA_OVERRIDE_GFX_VERSION=10.3.0` by default.
   a. A badly-detected default value usually means a broken ROCm install.
   b. Causes issues with older GPUs.
2. Set `TENSORFLOW_PACKAGE=tensorflow-rocm`, as the default version doesn't contain GPU binaries for ROCm.
2023-07-23 10:24:41 +02:00
Vladimir Mandic dd1d4bcffa fix secondary sampler 2023-07-21 10:20:53 -04:00
Vladimir Mandic 19d176ea3d en add tags 2023-07-19 10:33:23 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Vladimir Mandic e2b33b81d3 fix diffusers samplers 2023-07-15 22:40:03 -04:00
Disty0 2a9133bfec IPEX rework 2023-07-14 17:33:24 +03:00
Disty0 25389f737b Better logging & Set IPEX MemSize from %80 to %100 2023-07-13 19:24:58 +03:00
Vladimir Mandic 186bd236f5 js monitor ops 2023-07-13 09:50:38 -04:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 6b26c55138 fix extra network tab detection and add heic to training options 2023-07-11 08:35:18 -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 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 89a7ea6a3f overal quality fixes 2023-07-08 09:49:41 -04:00
Vladimir Mandic 816876c8ac fix installer errors 2023-07-07 21:59:50 -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
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
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 9390049288 extra options in filename pattern 2023-07-01 10:08:57 -04:00
Vladimir Mandic c80b1ebc36 stricter lint rules 2023-06-27 10:28:47 -04:00
Vladimir Mandic b5129bc94a update 2023-06-27 08:38:15 -04:00
Vladimir Mandic d69aa16b69 upgrade only on demand 2023-06-27 08:00:23 -04:00
Vladimir Mandic 4867dafada increase socket timeouts 2023-06-23 08:00:54 -04:00
Shivam Kumar 6c4c67a97e
Extension Install Error Fix
Extensions which have a install.py fail to install if we use a separate data directory and provide relative path like "--data-dir=../../SD-Data". Using realpath method to absolute path of installation script fixes the issue.
2023-06-22 21:26:46 +05:30
Vladimir Mandic 9740b9d217 new training and models interface 2023-06-22 07:46:48 -04:00
Disty0 c02ccc4f00 Update ipex logging 2023-06-20 13:49:00 +03:00
Vladimir Mandic 5f50c35388 cleanup 2023-06-17 20:23:00 -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 4951ed15f2 cleanup 2023-06-13 13:04:27 -04:00
Vladimir Mandic 1d9e490ef9 ruff linting fixes 2023-06-13 12:22:39 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic f89a4d6560 new hints display 2023-06-12 09:37:18 -04:00
Vladimir Mandic 1d0a18ef4a reorg server startup 2023-06-11 09:00:38 -04:00
Vladimir Mandic 4741804295 fix ext name match 2023-06-09 09:14:25 -04:00
Vladimir Mandic 4a3ab4ed31 minor fixes 2023-06-08 16:10:39 -04:00
Vladimir Mandic b5f745b4cd warn of modified files 2023-06-08 11:56:29 -04:00
Vladimir Mandic 0d629f3c2b fix installer and add image-exif 2023-06-08 09:01:43 -04:00
Vladimir Mandic aaa0d46286 update installer and add sd_model_dict 2023-06-07 13:26:21 -04:00
Vladimir Mandic b8f432aff4 cleanup 2023-06-06 12:01:11 -04:00
Vladimir Mandic efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Vladimir Mandic 9726b4d23c fix gallery view when preview is disabled 2023-06-04 13:21:52 -04:00
Vladimir Mandic 63ca5c17e7 add extensions profiling 2023-06-04 12:14:05 -04:00
Vladimir Mandic c7051cc1dd extra error handling during image save 2023-06-03 09:05:01 -04: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
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
Ionite 8ba766823d
Skip git check in `check_python()` when `args.skip_git` is True 2023-05-31 01:19:59 -04:00
Vladimir Mandic 873371f1e5 merge stage one 2023-05-30 14:13:29 -04:00
Vladimir Mandic 6013ab3960 remove allocator info 2023-05-28 21:26:32 -04: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
Disty0 95242ca7d6 Remove broken ipex auto detection 2023-05-27 09:46:20 +03:00
Vladimir Mandic 8495842634 update profiling 2023-05-25 10:41:28 -04:00
Vladimir Mandic 9e22d91245 update logging and temp file handling 2023-05-25 07:41:40 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic c103e53689 secure api access 2023-05-22 14:31:04 -04:00
Vladimir Mandic 26b05ef883
Merge pull request #1109 from Symbiomatrix/vlad2
Don't read log if load is forced.
2023-05-21 10:07:12 -04:00
Vladimir Mandic e7f8b62056 move onnxruntime to optional 2023-05-21 10:05:30 -04:00
SBM c364355297 Don't read log if load is forced. 2023-05-21 16:37:38 +03:00
Vladimir Mandic f8f81f86e6 update prompt parser and image size 2023-05-20 13:12:50 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic f6f1a73b39 minor fixes 2023-05-17 06:15:18 -04:00
Vladimir Mandic 2f36350e24 refactor 2023-05-16 09:16:12 -04:00
Vladimir Mandic 8a9eb2c766 add test script 2023-05-15 08:44:03 -04:00
Vladimir Mandic c99c1410f5 update 2023-05-14 20:25:27 -04:00
Vladimir Mandic 4f937be64b fix sendto metadata 2023-05-14 10:39:32 -04:00
Vladimir Mandic 12569f7fdb match installed extensions 2023-05-14 08:02:36 -04:00
Vladimir Mandic 926b8666cd update argparser 2023-05-13 16:42:01 -04:00
Vladimir Mandic a652270999 fix 2023-05-13 12:26:00 -04:00
Vladimir Mandic d96ab6a1ae update directml 2023-05-13 11:21:11 -04:00
Vladimir Mandic a2485cf7ef update 2023-05-12 21:12:24 -04:00
Vladimir Mandic 1943bfea88 use cudnn workaround 2023-05-11 22:24:12 -04:00
Vladimir Mandic df2cfd5100 add torch type override 2023-05-11 20:36:34 -04:00
Vladimir Mandic 8c98115914 remove force reinstall 2023-05-11 14:20:27 -04:00
Vladimir Mandic aff2dcb625 add skip torch 2023-05-11 12:08:38 -04:00
Vladimir Mandic 99b6133bc9 update requirements 2023-05-10 16:40:36 -04:00
Vladimir Mandic 0d4dad03c2 retry upgrades 2023-05-10 16:06:45 -04:00
Vladimir Mandic e038bf1549 aggressive gc 2023-05-10 16:03:55 -04:00
Vladimir Mandic c5df80197e new extension manager 2023-05-10 15:12:02 -04:00
Vladimir Mandic e0301360ac
update logic 2023-05-09 17:26:02 -04:00
Craig Wright 05a26522b1
Merge branch 'master' into patch-1 2023-05-09 22:23:26 +01:00
eyecreate 09ad0e043a
Update installer.py to not be tied to quickly changing intel torch versions
If you leave off the git revision, you can still pull in the latest torch build from intel. If you don't do this, intel users will have the install process fail due to new/different versions of pytorch intel pushes.
2023-05-09 17:09:58 -04:00
Craig Wright 16aef2a88c
Implement Duplicate Extension Check in 'install_extensions()' Function
Title: Implement Duplicate Extension Check in install_extensions() Function

Description:

In this change, I have added functionality to the install_extensions() function in order to check for and log any duplicate extensions found across both the built-in and custom extensions directories.

This addition provides a level of error checking and prevents potential conflicts between extensions with the same name located in different directories. The function now maintains a dictionary of all encountered extensions, and logs any duplicates in a single line, separated by commas, at the end of the function execution.

This enhancement can help in debugging issues related to extension installations, such as unexpected behavior, crashes, or incorrect data being returned. By providing visibility into duplicate extensions, developers can more quickly identify and resolve these issues, resulting in a more robust and reliable application.

Moreover, logging duplicate extensions can be an important step in maintaining extension hygiene and ensuring the correct loading and running of extensions. This may be particularly helpful in environments with a large number of extensions or frequent updates and changes to extensions.

This change does not affect the existing functionality of installing and updating extensions. It remains fully backward-compatible with previous code and usage patterns.
2023-05-09 22:00:50 +01:00
Vladimir Mandic 4ba9f0c8dc pin torch version 2023-05-09 12:22:52 -04:00
SourceHeartLock 92c63370a1
Merge branch 'vladmandic:master' into master 2023-05-10 00:07:06 +08:00
bugyalu 302e2f9f44 fix(#824): can not start the webui on Mac Arm64 2023-05-10 00:06:30 +08:00
Antonio Cheong f509fefeb1
EXTREMELY IMPORTANT BUGFIX
typo
2023-05-09 20:29:55 +08:00
Vladimir Mandic fe496f4ebc add train preprocess options 2023-05-05 09:06:06 -04:00
Vladimir Mandic a677253b7c add api-logo workaround 2023-05-04 10:45:25 -04:00
Vladimir Mandic e0543e4475 add ignore flag 2023-05-03 19:15:18 -04:00
Vladimir Mandic 0af6c70b94 add notifications 2023-05-03 14:32:14 -04:00
Vladimir Mandic 8cbce7ea19 add version flag 2023-05-03 14:32:14 -04:00
Vladimir Mandic d86b081ed3 update ssl 2023-05-03 08:22:57 -04:00
Vladimir Mandic 10a9c2760a switch cmdargs 2023-05-01 19:49:19 -04:00
Vladimir Mandic 75b741f119 fallback args 2023-04-30 23:06:32 -04:00
Vladimir Mandic a136a8ea63 update 2023-04-30 18:44:19 -04:00
Vladimir Mandic 7eb82e2627 remove circular imports from installer 2023-04-30 12:21:32 -04:00
Vladimir Mandic d62ee69c75 cleanup installer 2023-04-30 12:01:25 -04:00