vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.73k stars 425 forks source link

[Issue]: Updating Submodules seems to be broken causing the terminal to lose colours and then eventually crashing #479

Closed DarkVamprism closed 1 year ago

DarkVamprism commented 1 year ago

Update I ran this with --debug --skip-extensions --noupdate once and it showed a bunch of errors but it ran, afterwards I removed those and I was able to run it normally(still get the below issue of it messing up in console but it gets to the WebUI) it also now doesn't like when I put in --upgrade which I swear worked before.

Issue Description

I have tried running with --noupdate but that doesn't help, have I done something to break it?

image

the setup.log doesn't seem to match what is going on in the console

2023-04-25 16:00:01,415 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Installing packages
2023-04-25 16:00:01,416 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Package version found: clip 1.0
2023-04-25 16:00:01,416 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Installing repositories
2023-04-25 16:00:01,561 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Installing submodules
2023-04-25 16:00:03,817 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Updating submodules
2023-04-25 16:00:20,346 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Extensions enabled: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora', 'multidiffusion-upscaler-for-automatic1111', 'prompt-bracket-checker', 'ScuNET', 'sd-dynamic-thresholding', 'sd-extension-aesthetic-scorer', 'sd-extension-steps-animation', 'sd-extension-system-info', 'sd-webui-controlnet', 'sd-webui-model-converter', 'seed_travel', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR']
2023-04-25 16:00:22,645 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\clip-interrogator-ext / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\clip-interrogator-ext\install.py
2023-04-25 16:00:33,838 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\sd-extension-system-info / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\sd-extension-system-info\install.py
2023-04-25 16:00:35,217 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\sd-webui-controlnet / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\sd-webui-controlnet\install.py
2023-04-25 16:00:38,119 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\seed_travel / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\seed_travel\install.py
2023-04-25 16:00:39,471 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\stable-diffusion-webui-images-browser / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\stable-diffusion-webui-images-browser\install.py
2023-04-25 16:00:40,792 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension installer: C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\stable-diffusion-webui-rembg / C:\Software\AIPrograms\stable-diffusion-vlad\extensions-builtin\stable-diffusion-webui-rembg\install.py
2023-04-25 16:00:41,180 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Updating Wiki
2023-04-25 16:00:43,160 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Setup complete without errors: 1682409643
2023-04-25 16:00:43,160 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Setting environment tuning
2023-04-25 16:00:43,165 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\setup.py | Running extension preloading
2023-04-25 16:00:43,166 | INFO | C:\Software\AIPrograms\stable-diffusion-vlad\launch.py | Server arguments: ['--listen', '--autolaunch', '--upgrade']
2023-04-25 16:00:43,167 | DEBUG | C:\Software\AIPrograms\stable-diffusion-vlad\launch.py | Starting WebUI

Version Platform Description

Version: 023e13b3 Mon Apr 24 19:20:48 2023 -0400

Running on Windows 11

vladmandic commented 1 year ago

that is really weird. and you can reproduce this anytime? i've just added some debug info to capture additional data, can you update and retry? also, can you check output of git --version?

DarkVamprism commented 1 year ago

Git version is git version 2.36.1.windows.1 Here is a fresh install running it(error at bottom may be because I told it not to get the model), whatever happened seemed to fix the not booting but I still get the weird terminal

Creating venv in directory C:\Software\AIPrograms\sd-vlad\venv using python "C:\Users\xdark\AppData\Local\Programs\Python\Python310\python.exe"
venv "C:\Software\AIPrograms\sd-vlad\venv\Scripts\Python.exe"
09:45:05-822045 INFO     Python 3.10.6 on Windows
09:45:05-859575 DEBUG    Git 2.36.1.windows.1
09:45:05-965670 INFO     Version: 24531398 Tue Apr 25 19:36:41 2023 -0400
09:45:05-995196 INFO     Setting environment tuning
09:45:05-998702 INFO     nVidia toolkit detected
09:45:05-999702 DEBUG    Package version not found: torch
09:45:06-000702 DEBUG    Package version not found: torchvision
09:45:06-001702 DEBUG    Package version not found: torchaudio
09:45:06-001702 INFO     Installing package: torch torchaudio torchvision --index-url
                         https://download.pytorch.org/whl/cu118
09:45:06-002702 DEBUG    Running pip: install --upgrade torch torchaudio torchvision --index-url
                         https://download.pytorch.org/whl/cu118
09:47:36-557657 INFO     Torch 2.0.0+cu118
09:47:36-621701 INFO     Torch backend: nVidia CUDA 11.8 cuDNN 8700
09:47:36-623705 INFO     Torch detected GPU: NVIDIA GeForce RTX 3070 VRAM 8192 Arch (8, 6) Cores 46
09:47:36-624705 DEBUG    Package version not found: tensorflow
09:47:36-625705 INFO     Installing package: tensorflow==2.12.0
09:47:36-626705 DEBUG    Running pip: install --upgrade tensorflow==2.12.0
09:48:04-502422 INFO     Verifying requirements
09:48:04-507422 DEBUG    Package version not found: addict
09:48:04-508423 INFO     Installing package: addict
09:48:04-509422 DEBUG    Running pip: install --upgrade addict
09:48:05-426225 DEBUG    Package version not found: aenum
09:48:05-426225 INFO     Installing package: aenum
09:48:05-427729 DEBUG    Running pip: install --upgrade aenum
09:48:06-629053 DEBUG    Package version not found: aiohttp
09:48:06-630052 INFO     Installing package: aiohttp
09:48:06-631053 DEBUG    Running pip: install --upgrade aiohttp
09:48:10-137694 DEBUG    Package version not found: anyio
09:48:10-138694 INFO     Installing package: anyio
09:48:10-139694 DEBUG    Running pip: install --upgrade anyio
09:48:11-382157 DEBUG    Package version not found: appdirs
09:48:11-383156 INFO     Installing package: appdirs
09:48:11-384156 DEBUG    Running pip: install --upgrade appdirs
09:48:12-503551 DEBUG    Package version not found: astunparse
09:48:12-504551 INFO     Installing package: astunparse
09:48:12-504551 DEBUG    Running pip: install --upgrade astunparse
09:48:13-631091 DEBUG    Package version not found: basicsr
09:48:13-632091 INFO     Installing package: basicsr
09:48:13-633091 DEBUG    Running pip: install --upgrade basicsr
09:48:41-721404 DEBUG    Package version not found: bitsandbytes
09:48:41-722405 INFO     Installing package: bitsandbytes
09:48:41-722405 DEBUG    Running pip: install --upgrade bitsandbytes
09:48:45-876194 DEBUG    Package version not found: blendmodes
09:48:45-877199 INFO     Installing package: blendmodes
09:48:45-877199 DEBUG    Running pip: install --upgrade blendmodes
09:48:48-155132 DEBUG    Package version not found: clean-fid
09:48:48-156635 INFO     Installing package: clean-fid
09:48:48-157640 DEBUG    Running pip: install --upgrade clean-fid
09:48:49-557055 DEBUG    Package version not found: easydev
09:48:49-558060 INFO     Installing package: easydev
09:48:49-559064 DEBUG    Running pip: install --upgrade easydev
09:48:51-842919 DEBUG    Package version not found: extcolors
09:48:51-843867 INFO     Installing package: extcolors
09:48:51-844867 DEBUG    Running pip: install --upgrade extcolors
09:48:53-776823 DEBUG    Package version not found: facexlib
09:48:53-777828 INFO     Installing package: facexlib
09:48:53-778828 DEBUG    Running pip: install --upgrade facexlib
09:49:09-732035 DEBUG    Package version not found: filetype
09:49:09-733036 INFO     Installing package: filetype
09:49:09-734036 DEBUG    Running pip: install --upgrade filetype
09:49:12-818399 DEBUG    Package version not found: font-roboto
09:49:12-819400 INFO     Installing package: font-roboto
09:49:12-820400 DEBUG    Running pip: install --upgrade font-roboto
09:49:14-310404 DEBUG    Package version not found: fonts
09:49:14-311404 INFO     Installing package: fonts
09:49:14-312404 DEBUG    Running pip: install --upgrade fonts
09:49:15-712334 DEBUG    Package version not found: future
09:49:15-713334 INFO     Installing package: future
09:49:15-714838 DEBUG    Running pip: install --upgrade future
09:49:16-746239 DEBUG    Package version not found: gdown
09:49:16-747238 INFO     Installing package: gdown
09:49:16-748238 DEBUG    Running pip: install --upgrade gdown
09:49:20-017200 DEBUG    Package version not found: gfpgan
09:49:20-018199 INFO     Installing package: gfpgan
09:49:20-019200 DEBUG    Running pip: install --upgrade gfpgan
09:49:21-678596 DEBUG    Package version not found: GitPython
09:49:21-680098 INFO     Installing package: GitPython
09:49:21-681102 DEBUG    Running pip: install --upgrade GitPython
09:49:24-205125 DEBUG    Package version not found: httpcore
09:49:24-206124 INFO     Installing package: httpcore
09:49:24-206124 DEBUG    Running pip: install --upgrade httpcore
09:49:25-854377 DEBUG    Package version not found: inflection
09:49:25-855881 INFO     Installing package: inflection
09:49:25-855881 DEBUG    Running pip: install --upgrade inflection
09:49:27-283158 DEBUG    Package version not found: jsonmerge
09:49:27-283661 INFO     Installing package: jsonmerge
09:49:27-284665 DEBUG    Running pip: install --upgrade jsonmerge
09:49:29-250317 DEBUG    Package version not found: kornia
09:49:29-251822 INFO     Installing package: kornia
09:49:29-252826 DEBUG    Running pip: install --upgrade kornia
09:49:32-935973 DEBUG    Package version not found: lark
09:49:32-937485 INFO     Installing package: lark
09:49:32-938489 DEBUG    Running pip: install --upgrade lark
09:49:34-810071 DEBUG    Package version not found: lmdb
09:49:34-811071 INFO     Installing package: lmdb
09:49:34-812071 DEBUG    Running pip: install --upgrade lmdb
09:49:36-074649 DEBUG    Package version not found: lpips
09:49:36-075647 INFO     Installing package: lpips
09:49:36-076648 DEBUG    Running pip: install --upgrade lpips
09:49:37-537680 DEBUG    Package version not found: numpy
09:49:37-538681 INFO     Installing package: numpy
09:49:37-540184 DEBUG    Running pip: install --upgrade numpy
09:49:44-793443 DEBUG    Package version not found: omegaconf
09:49:44-794448 INFO     Installing package: omegaconf
09:49:44-795448 DEBUG    Running pip: install --upgrade omegaconf
09:49:47-325198 DEBUG    Package version not found: open-clip-torch
09:49:47-326199 INFO     Installing package: open-clip-torch
09:49:47-327198 DEBUG    Running pip: install --upgrade open-clip-torch
09:49:55-935954 DEBUG    Package version not found: opencv-contrib-python
09:49:55-936953 INFO     Installing package: opencv-contrib-python
09:49:55-936953 DEBUG    Running pip: install --upgrade opencv-contrib-python
09:49:59-491077 DEBUG    Package version not found: piexif
09:49:59-492082 INFO     Installing package: piexif
09:49:59-493083 DEBUG    Running pip: install --upgrade piexif
09:50:01-859482 DEBUG    Package version not found: Pillow
09:50:01-860482 INFO     Installing package: Pillow
09:50:01-861483 DEBUG    Running pip: install --upgrade Pillow
09:50:04-402151 DEBUG    Package version not found: psutil
09:50:04-403152 INFO     Installing package: psutil
09:50:04-404151 DEBUG    Running pip: install --upgrade psutil
09:50:06-602563 DEBUG    Package version not found: pyyaml
09:50:06-603564 INFO     Installing package: pyyaml
09:50:06-604563 DEBUG    Running pip: install --upgrade pyyaml
09:50:07-878222 DEBUG    Package version not found: realesrgan
09:50:07-879223 INFO     Installing package: realesrgan
09:50:07-880223 DEBUG    Running pip: install --upgrade realesrgan
09:50:15-552794 DEBUG    Package version not found: requests
09:50:15-553296 INFO     Installing package: requests
09:50:15-554301 DEBUG    Running pip: install --upgrade requests
09:50:17-228235 DEBUG    Package version not found: resize-right
09:50:17-229233 INFO     Installing package: resize-right
09:50:17-230233 DEBUG    Running pip: install --upgrade resize-right
09:50:18-594313 DEBUG    Package version not found: rich
09:50:18-595312 INFO     Installing package: rich
09:50:18-595312 DEBUG    Running pip: install --upgrade rich
09:50:19-933492 DEBUG    Package version not found: safetensors
09:50:19-934492 INFO     Installing package: safetensors
09:50:19-934492 DEBUG    Running pip: install --upgrade safetensors
09:50:21-911880 DEBUG    Package version not found: scipy
09:50:21-912880 INFO     Installing package: scipy
09:50:21-913879 DEBUG    Running pip: install --upgrade scipy
09:50:23-336435 DEBUG    Package version not found: tb_nightly
09:50:23-337441 INFO     Installing package: tb_nightly
09:50:23-338440 DEBUG    Running pip: install --upgrade tb_nightly
09:50:24-996987 DEBUG    Package version not found: toml
09:50:24-997490 INFO     Installing package: toml
09:50:24-998495 DEBUG    Running pip: install --upgrade toml
09:50:26-370660 DEBUG    Package version not found: torch
09:50:26-371660 INFO     Installing package: torch
09:50:26-372660 DEBUG    Running pip: install --upgrade torch
09:50:27-728528 DEBUG    Package version not found: torchdiffeq
09:50:27-729527 INFO     Installing package: torchdiffeq
09:50:27-730529 DEBUG    Running pip: install --upgrade torchdiffeq
09:50:29-320975 DEBUG    Package version not found: torchsde
09:50:29-321974 INFO     Installing package: torchsde
09:50:29-322975 DEBUG    Running pip: install --upgrade torchsde
09:50:31-288269 DEBUG    Package version not found: torchvision
09:50:31-289269 INFO     Installing package: torchvision
09:50:31-290269 DEBUG    Running pip: install --upgrade torchvision
09:50:32-639884 DEBUG    Package version not found: tqdm
09:50:32-640882 INFO     Installing package: tqdm
09:50:32-641882 DEBUG    Running pip: install --upgrade tqdm
09:50:33-971900 DEBUG    Package version not found: voluptuous
09:50:33-972905 INFO     Installing package: voluptuous
09:50:33-973905 DEBUG    Running pip: install --upgrade voluptuous
09:50:35-375014 DEBUG    Package version not found: yapf
09:50:35-377017 INFO     Installing package: yapf
09:50:35-378016 DEBUG    Running pip: install --upgrade yapf
09:50:36-789871 DEBUG    Package version not found: scikit-image
09:50:36-789871 INFO     Installing package: scikit-image
09:50:36-791466 DEBUG    Running pip: install --upgrade scikit-image
09:50:38-141439 DEBUG    Package version not found: accelerate
09:50:38-142439 INFO     Installing package: accelerate==0.18.0
09:50:38-143439 DEBUG    Running pip: install --upgrade accelerate==0.18.0
09:50:40-194961 DEBUG    Package version not found: opencv-python
09:50:40-195960 INFO     Installing package: opencv-python==4.7.0.72
09:50:40-196961 DEBUG    Running pip: install --upgrade opencv-python==4.7.0.72
09:50:41-684296 DEBUG    Package version not found: diffusers
09:50:41-685295 INFO     Installing package: diffusers==0.15.0
09:50:41-686295 DEBUG    Running pip: install --upgrade diffusers==0.15.0
09:50:45-616436 DEBUG    Package version not found: einops
09:50:45-617433 INFO     Installing package: einops==0.4.1
09:50:45-619434 DEBUG    Running pip: install --upgrade einops==0.4.1
09:50:47-976358 DEBUG    Package version not found: gradio
09:50:47-977356 INFO     Installing package: gradio==3.23.0
09:50:47-978358 DEBUG    Running pip: install --upgrade gradio==3.23.0
09:51:10-260298 DEBUG    Package version not found: numexpr
09:51:10-261298 INFO     Installing package: numexpr==2.8.4
09:51:10-262299 DEBUG    Running pip: install --upgrade numexpr==2.8.4
09:51:13-258729 DEBUG    Package version not found: pandas
09:51:13-259735 INFO     Installing package: pandas==1.5.3
09:51:13-260735 DEBUG    Running pip: install --upgrade pandas==1.5.3
09:51:28-253993 DEBUG    Package version not found: protobuf
09:51:28-254992 INFO     Installing package: protobuf==3.20.3
09:51:28-255993 DEBUG    Running pip: install --upgrade protobuf==3.20.3
09:51:30-468285 DEBUG    Package version not found: pytorch_lightning
09:51:30-469285 INFO     Installing package: pytorch_lightning==1.9.4
09:51:30-470284 DEBUG    Running pip: install --upgrade pytorch_lightning==1.9.4
09:51:35-851995 DEBUG    Package version not found: transformers
09:51:35-852995 INFO     Installing package: transformers==4.26.1
09:51:35-853993 DEBUG    Running pip: install --upgrade transformers==4.26.1
09:51:49-107601 DEBUG    Package version not found: timm
09:51:49-108600 INFO     Installing package: timm==0.6.13
09:51:49-109600 DEBUG    Running pip: install --upgrade timm==0.6.13
09:51:51-689007 DEBUG    Package version not found: tomesd
09:51:51-690006 INFO     Installing package: tomesd==0.1.2
09:51:51-691006 DEBUG    Running pip: install --upgrade tomesd==0.1.2
09:51:53-677072 DEBUG    Repository update time: Wed Apr 26 07:36:41 2023
09:51:53-678073 INFO     Running setup
09:51:53-678073 DEBUG    Args: {'f': False, 'ui_settings_file': 'C:\\Software\\AIPrograms\\sd-vlad\\config.json',
                         'ui_config_file': 'C:\\Software\\AIPrograms\\sd-vlad\\ui-config.json', 'config':
                         'C:\\Software\\AIPrograms\\sd-vlad\\configs\\v1-inference.yaml', 'theme': None, 'medvram':
                         False, 'lowvram': False, 'lowram': False, 'ckpt':
                         'C:\\Software\\AIPrograms\\sd-vlad\\model.ckpt', 'vae': None, 'data_dir':
                         'C:\\Software\\AIPrograms\\sd-vlad', 'models_dir': 'models', 'allow_code': False, 'share':
                         False, 'enable_insecure': False, 'use_cpu': [], 'listen': True, 'port': None,
                         'hide_ui_dir_config': False, 'freeze_settings': False, 'gradio_auth': None, 'gradio_auth_path':                         None, 'autolaunch': True, 'disable_console_progressbars': True, 'disable_safe_unpickle': True,
                         'api_auth': None, 'api_log': False, 'device_id': None, 'cors_origins': None, 'cors_regex':
                         None, 'tls_keyfile': None, 'tls_certfile': None, 'server_name': None, 'no_hashing': False,
                         'no_download_sd_model': False, 'profile': False, 'disable_queue': False, 'debug': True,
                         'reset': False, 'upgrade': False, 'noupdate': False, 'skip_requirements': False,
                         'skip_extensions': False, 'skip_git': False, 'experimental': False}
09:51:53-682073 INFO     Installing packages
09:51:53-682576 DEBUG    Package version not found: clip
09:51:53-683581 INFO     Installing package:
                         git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
09:51:53-684581 DEBUG    Running pip: install --upgrade
                         git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
09:52:03-649652 INFO     Installing repositories
09:56:13-713267 INFO     Installing submodules
←[2;36m09:56:14-245221←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Submodules list: -ce584a0ff863de98233ee135dcc17f2fb44703c3

←[2;36m                ←[0m         extensions-builtin/a1111-sd-webui-lycoris

←[2;36m                ←[0m         -9e6bbd9b8931bbe869a8e28e7005b0e13c2efff0 extensions-builtin/clip-interrogator-ext

←[2;36m                ←[0m         -f3d79a474b9795f07143eaf8104737a403b5fb52

←[2;36m                ←[0m         extensions-builtin/multidiffusion-upscaler-for-automatic1111

←[2;36m                ←[0m         -5d3465c4b2d5dacfdd6caa38b71b23b4f88401c0 extensions-builtin/sd-dynamic-thresholding
←[2;36m                ←[0m         -896b6aa034127e8064ae5fdd6370f351e0755475 extensions-builtin/sd-extension-aesthetic-scorer
←[2;36m                ←[0m         -90663eb7450c3487b693cf20e76ec4d7edd78cd5 extensions-builtin/sd-extension-steps-animation
←[2;36m                ←[0m         -cc86ce8887f041e88e67d336044190fd0296fd74 extensions-builtin/sd-extension-system-info
←[2;36m                ←[0m         -a07f6e8a1a4d4d6ced366aec30fd8244f1fde26d extensions-builtin/sd-webui-controlnet

←[2;36m                ←[0m         -d19e28168268b0f2f50c8a5b7a4fa0a0d9b42b8c extensions-builtin/sd-webui-model-converter
←[2;36m                ←[0m         -ffe0553c59e91067ebf1e4fc7ad85ca9c870bf57 extensions-builtin/seed_travel

←[2;36m                ←[0m         -704e42c10d01e6c6965493ec956a82bb8fc2da51

←[2;36m                ←[0m         extensions-builtin/stable-diffusion-webui-images-browser

←[2;36m                ←[0m         -64821f04767b04b92ac157f3c02f28d269dba5d8 extensions-builtin/stable-diffusion-webui-rembg
←[2;36m                ←[0m         -ac4935bf79942f966d7b6578e8fbb9ee5f12d4ad modules/lora

←[2;36m                ←[0m         -8b47a5349b59efac812664c5732c6e3947a6fec7 modules/lycoris

←[2;36m                ←[0m         -12603bcdec55df780b18612d58b6d0dcd4c27f96 wiki

←[2;36m09:59:53-218820←[0m←[2;36m ←[0m←[34mINFO    ←[0m Updating submodules

←[2;36m09:59:54-828259←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/a1111-sd-webui-lycoris ←[35m/←[0m main
←[2;36m09:59:55-834329←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/clip-interrogator-ext ←[35m/←[0m main
←[2;36m09:59:56-796977←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/multidiffusion-upscaler-for-automatic1111 ←[35m/←[0m main
←[2;36m09:59:57-724315←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-dynamic-thresholding ←[35m/←[0m master
←[2;36m09:59:58-672436←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-extension-aesthetic-scorer ←[35m/←[0m main
←[2;36m09:59:59-621166←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-extension-steps-animation ←[35m/←[0m main
←[2;36m10:00:01-389402←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-extension-system-info ←[35m/←[0m main
←[2;36m10:00:03-468073←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-webui-controlnet ←[35m/←[0m main
←[2;36m10:00:04-778840←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/sd-webui-model-converter ←[35m/←[0m main
←[2;36m10:00:05-752149←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/seed_travel ←[35m/←[0m main

←[2;36m10:00:06-836774←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/stable-diffusion-webui-images-browser ←[35m/←[0m main
←[2;36m10:00:07-801124←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: extensions-builtin/stable-diffusion-webui-rembg ←[35m/←[0m master
←[2;36m10:00:08-804848←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: modules/lora ←[35m/←[0m main

←[2;36m10:00:10-020336←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: modules/lycoris ←[35m/←[0m main

←[2;36m10:00:11-040759←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: wiki ←[35m/←[0m master

←[2;36m10:00:12-543845←[0m←[2;36m ←[0m←[34mINFO    ←[0m Extensions enabled: ←[1m[←[0m←[32m'a1111-sd-webui-lycoris'←[0m, ←[32m'clip-interrogator-ext'←[0m, ←[32m'LDSR'←[0m, ←[32m'Lora'←[0m,
←[2;36m                ←[0m         ←[32m'multidiffusion-upscaler-for-automatic1111'←[0m, ←[32m'prompt-bracket-checker'←[0m, ←[32m'ScuNET'←[0m,
←[2;36m                ←[0m         ←[32m'sd-dynamic-thresholding'←[0m, ←[32m'sd-extension-aesthetic-scorer'←[0m, ←[32m'sd-extension-steps-animation'←[0m,
←[2;36m                ←[0m         ←[32m'sd-extension-system-info'←[0m, ←[32m'sd-webui-controlnet'←[0m, ←[32m'sd-webui-model-converter'←[0m, ←[32m'seed_travel'←[0m,
←[2;36m                ←[0m         ←[32m'stable-diffusion-webui-images-browser'←[0m, ←[32m'stable-diffusion-webui-rembg'←[0m, ←[32m'SwinIR'←[0m←[1m]←[0m
←[2;36m10:00:12-577881←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\a1111-sd-webui-lycoris ←[35m/←[0m main
←[2;36m10:00:13-517260←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\clip-interrogator-ext ←[35m/←[0m main
←[2;36m10:00:14-449988←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\clip-interrogator-ext ←[35m/←[0m

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\clip-interrogator-ext\install.py

←[2;36m10:00:20-704454←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\multidiffusion-upscaler-for-automatic1111 ←[35m/←[0m
←[2;36m                ←[0m         main

←[2;36m10:00:21-695657←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-dynamic-thresholding ←[35m/←[0m
←[2;36m                ←[0m         master

←[2;36m10:00:22-670880←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-extension-aesthetic-scorer
←[2;36m                ←[0m         ←[35m/←[0m main

←[2;36m10:00:23-594430←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-extension-steps-animation
←[2;36m                ←[0m         ←[35m/←[0m main

←[2;36m10:00:24-523251←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-extension-system-info ←[35m/←[0m
←[2;36m                ←[0m         main

←[2;36m10:00:25-503604←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-extension-system-info ←[35m/←[0m
←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-extension-system-info\install.py
←[2;36m10:00:25-877937←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-webui-controlnet ←[35m/←[0m main
←[2;36m10:00:26-787640←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-webui-controlnet ←[35m/←[0m

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-webui-controlnet\install.py

←[2;36m10:00:48-455875←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\sd-webui-model-converter ←[35m/←[0m
←[2;36m                ←[0m         main

←[2;36m10:00:49-381054←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\seed_travel ←[35m/←[0m main
←[2;36m10:00:50-327256←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer: C:\Software\AIPrograms\sd-vlad\extensions-builtin\seed_travel ←[35m/←[0m
←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\seed_travel\install.py

←[2;36m10:00:53-636414←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-images-browser ←[35m/←[0m main
←[2;36m10:00:54-537473←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-images-browser ←[35m/←[0m
←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-images-browser\install
←[2;36m                ←[0m         .py

←[2;36m10:00:58-069876←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-rembg
←[2;36m                ←[0m         ←[35m/←[0m master

←[2;36m10:00:59-223541←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Running extension installer:

←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-rembg ←[35m/←[0m
←[2;36m                ←[0m         C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-rembg\install.py
←[2;36m10:01:13-598367←[0m←[2;36m ←[0m←[34mINFO    ←[0m Extensions enabled: ←[1m[←[0m←[1m]←[0m

←[2;36m10:01:13-599367←[0m←[2;36m ←[0m←[34mINFO    ←[0m Updating Wiki

←[2;36m10:01:13-639020←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\wiki ←[35m/←[0m master
←[2;36m10:01:14-674317←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setting branch: C:\Software\AIPrograms\sd-vlad\wiki\origin-wiki ←[35m/←[0m master
←[2;36m10:01:15-649531←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Setup complete without errors: ←[1;36m1682474476←[0m

←[2;36m10:01:15-655540←[0m←[2;36m ←[0m←[34mINFO    ←[0m Running extension preloading

←[2;36m10:01:15-688585←[0m←[2;36m ←[0m←[34mINFO    ←[0m Server arguments: ←[1m[←[0m←[32m'--listen'←[0m, ←[32m'--autolaunch'←[0m, ←[32m'--debug'←[0m←[1m]←[0m
←[2;36m10:01:15-690586←[0m←[2;36m ←[0m←[32mDEBUG   ←[0m Starting WebUI

No module 'xformers'. Proceeding without it.
Creating styles database: styles.csv
Creating folder: C:\Software\AIPrograms\sd-vlad\models\Stable-diffusion
Creating folder: C:\Software\AIPrograms\sd-vlad\models\VAE
Creating folder: C:\Software\AIPrograms\sd-vlad\models\embeddings
Creating folder: outputs/text
Creating folder: outputs/image
Creating folder: outputs/extras
Creating folder: outputs/grids
Creating folder: outputs/save
Available models: C:\Software\AIPrograms\sd-vlad\models\Stable-diffusion 0
Download the default model? (y/N) n
ControlNet v1.1.111
ControlNet v1.1.111
Module load:
C:\Software\AIPrograms\sd-vlad\extensions-builtin\stable-diffusion-webui-rembg\scripts\postprocessing_rembg.py:
SystemError
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮│ C:\Software\AIPrograms\sd-vlad\modules\script_loading.py:10 in load_module                                           ││                                                                                                                      ││    9 │   try:                                                                                                        ││ ❱ 10 │   │   module_spec.loader.exec_module(module)                                                                  ││   11 │   except Exception as e:                                                                                      ││ in exec_module:883                                                                                                   ││                                                                                                                      ││                                               ... 8 frames hidden ...                                                ││                                                                                                                      ││ C:\Software\AIPrograms\sd-vlad\venv\lib\site-packages\numba\np\ufunc\__init__.py:3 in <module>                       ││                                                                                                                      ││    2                                                                                                                 ││ ❱  3 from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize                            ││    4 from numba.np.ufunc._internal import PyUFunc_None, PyUFunc_Zero, PyUFunc_One                                    ││                                                                                                                      ││ C:\Software\AIPrograms\sd-vlad\venv\lib\site-packages\numba\np\ufunc\decorators.py:3 in <module>                     ││                                                                                                                      ││     2                                                                                                                ││ ❱   3 from numba.np.ufunc import _internal                                                                           ││     4 from numba.np.ufunc.parallel import ParallelUFuncBuilder, ParallelGUFuncBuilder                                │╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯SystemError: initialization of _internal failed without raising an exception
Loading theme: black-orange
Image Browser: Creating database
Image Browser: Database created
Running on local URL:  http://0.0.0.0:7860
vladmandic commented 1 year ago

broken terminal is really weird, haven't seen that happen ever, not in the middle of the process. regarding errors at the end, yeah, if there is no model available at all, its possible. just to verify:

pip show numba pip show rembg

DarkVamprism commented 1 year ago
(venv) C:\Software\AIPrograms\stable-diffusion-vlad>pip show numba
Name: numba
Version: 0.56.4
Summary: compiling Python code using LLVM
Home-page: https://numba.pydata.org
Author:
Author-email:
License: BSD
Location: c:\software\aiprograms\sd-vlad\venv\lib\site-packages
Requires: llvmlite, numpy, setuptools
Required-by: facexlib, PyMatting

(venv) C:\Software\AIPrograms\stable-diffusion-vlad>pip show rembg
Name: rembg
Version: 2.0.30
Summary: Remove image background
Home-page: https://github.com/danielgatis/rembg
Author: Daniel Gatis
Author-email: danielgatis@gmail.com
License: UNKNOWN
Location: c:\software\aiprograms\sd-vlad\venv\lib\site-packages
Requires: aiohttp, asyncer, click, fastapi, filetype, imagehash, numpy, onnxruntime, opencv-python-headless, pillow, pooch, pymatting, python-multipart, scikit-image, scipy, tqdm, uvicorn, watchdog
Required-by:
vladmandic commented 1 year ago

Both a fine...

DarkVamprism commented 1 year ago

I assume its something wrong my side, considering out of no-where if I run webui with --upgrade or --debug it tells me it is an unrecognized argument and I have tried copying a fresh install over my current one, think I might just need to start again with all my settings and extentions

claychinasky commented 1 year ago

same thing happen to me as well just now, terminal crashed alacritty/zsh ubuntu 22.10/ 6.2.11 kernel, never seen that before, and the repo was up-to-date. also not sure related or not, my chrome window crashed also at the same time. maybe I missclicked or pressed the win+w key?(don't think its the case)

vladmandic commented 1 year ago

Yeah, that sounds a bit more serious and specific to your system. User mode app crashing parent shell its running in and browser as well? If any app can do that on its own, that would be a major OS security flaw.

vladmandic commented 1 year ago

@DarkVamprism any updates?

vladmandic commented 1 year ago

Closing as no updates, will reopen if fresh information is provided.

DarkVamprism commented 1 year ago

No updates to give sorry, still the exact same thing happens

vladmandic commented 1 year ago

going back to this, sorry for the delay, was working on other things. it seems that command git submodule is outputing in non-compatible color ansi sequence. can you run git submodle manually and see what it looks like? it should not be colored at all. then lets see if this helps: git config --global color.ui=no if not, upload your git config here using: git config --list

DarkVamprism commented 1 year ago

No problem, its just a visual issue so it isn't a huge deal but thank you for spending your time trying to fix it. Here is the output of the git submodule image

changing the color ui setting does nothing to the output unfortunately

diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
user.name=David
user.email=[REDACTED]
core.editor="Z:\Program Files\Sublime Text 3\sublime_text.exe" -w
safe.directory=X:/Program Files/Stable Diffusion/stable-diffusion-main
safe.directory=X:/Program Files/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai
color.ui=false
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=https://github.com/vladmandic/automatic
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
:...skipping...
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
user.name=David
user.email=[REDACTED]
core.editor="Z:\Program Files\Sublime Text 3\sublime_text.exe" -w
safe.directory=X:/Program Files/Stable Diffusion/stable-diffusion-main
safe.directory=X:/Program Files/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai
color.ui=false
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=https://github.com/vladmandic/automatic
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
submodule.extensions-builtin/a1111-sd-webui-lycoris.active=true
submodule.extensions-builtin/a1111-sd-webui-lycoris.url=https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris
submodule.extensions-builtin/clip-interrogator-ext.active=true
submodule.extensions-builtin/clip-interrogator-ext.url=https://github.com/pharmapsychotic/clip-interrogator-ext.git
submodule.extensions-builtin/multidiffusion-upscaler-for-automatic1111.active=true
submodule.extensions-builtin/multidiffusion-upscaler-for-automatic1111.url=https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111
submodule.extensions-builtin/sd-dynamic-thresholding.active=true
submodule.extensions-builtin/sd-dynamic-thresholding.url=https://github.com/mcmonkeyprojects/sd-dynamic-thresholding
submodule.extensions-builtin/sd-extension-aesthetic-scorer.active=true
submodule.extensions-builtin/sd-extension-aesthetic-scorer.url=https://github.com/vladmandic/sd-extension-aesthetic-scorer
submodule.extensions-builtin/sd-extension-steps-animation.active=true
submodule.extensions-builtin/sd-extension-steps-animation.url=https://github.com/vladmandic/sd-extension-steps-animation
submodule.extensions-builtin/sd-extension-system-info.active=true
submodule.extensions-builtin/sd-extension-system-info.url=https://github.com/vladmandic/sd-extension-system-info
submodule.extensions-builtin/sd-webui-controlnet.active=true
submodule.extensions-builtin/sd-webui-controlnet.url=https://github.com/Mikubill/sd-webui-controlnet
submodule.extensions-builtin/sd-webui-model-converter.active=true
submodule.extensions-builtin/sd-webui-model-converter.url=https://github.com/Akegarasu/sd-webui-model-converter
submodule.extensions-builtin/seed_travel.active=true
submodule.extensions-builtin/seed_travel.url=https://github.com/yownas/seed_travel
submodule.extensions-builtin/stable-diffusion-webui-images-browser.active=true
submodule.extensions-builtin/stable-diffusion-webui-images-browser.url=https://github.com/AlUlkesh/stable-diffusion-webui-images-browser
submodule.extensions-builtin/stable-diffusion-webui-rembg.active=true
submodule.extensions-builtin/stable-diffusion-webui-rembg.url=https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg
submodule.modules/lora.active=true

P.S. I have also tried removing my Powershell profile settings just in case and nothing changed, could it possibly be a me issue with a font or something?

vladmandic commented 1 year ago

issue is between git <-> powershell <-> terminal so that either git or powershell set terminal info/capabilities to something that is not color compatible so you get printed ANSI sequences instead.

i see you're using powershell under old cmd.exe terminal. since you're already running windows 11, i definitely suggest to set new microsoft's terminal app as default terminal app and run powershell in that terminal.

DarkVamprism commented 1 year ago

Thank you for all your help, I will close the issue as I assume it is just my side and the crashing side stopped and I dont know how to reproduce it.