Open hectoreccles opened 1 year ago
I have the same error, it is so annoying. A couple days before it started to become unresponsive after a couple generations but now it is limited to 1 image only lol. And terminal also doesnt throw any errors like above. If I refresh the page i get another generation. Inresting thing is if I continue using the the same method (txt2img, img2img) it can generate a couple more, however when I switct to another mode it refuses to work.
(base) ubuntu@ip-172-31-37-133:~/stable-diffusion-webui$ bash webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on ubuntu user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:58:44) [GCC 11.3.0]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
Installing requirements
No module 'xformers'. Proceeding without it.
If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Successfully installed fastapi-0.94.1 gitpython-3.1.31 google-auth-oauthlib-0.4.6 requests-2.30.0 transformers-4.26.1
Does your project take forever to startup?
Repetitive dependency installation may be the reason.
Automatic1111's base project sets strict requirements on outdated dependencies.
If an extension is using a newer version, the dependency is uninstalled and reinstalled twice every startup.
[!] xformers NOT installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.
Installing sd-dynamic-prompts requirements.txt
Installing imageio-ffmpeg requirement for depthmap script
Installing SD-CN-Animation requirement: scikit-image==0.19.2
Launching Web UI with arguments: --disable-nan-check --no-half-vae --listen --max-batch-count 16 --theme dark --enable-insecure-extension-access --disable-safe-unpickle --api --enable-console-prompts --cors-allow-origins=http://localhost:9999 --cors-allow-origins=https://www.painthua.com
2023-05-17 16:13:49.504547: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-05-17 16:13:50.162278: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
No module 'xformers'. Proceeding without it.
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: /home/ubuntu/stable-diffusion-webui/extensions/Stable-Diffusion-Webui-Civitai-Helper/setting.json
Civitai Helper: No setting file, use default
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
ControlNet v1.1.173
ControlNet v1.1.173
Loading weights [da5224a242] from /home/ubuntu/stable-diffusion-webui/models/Stable-diffusion/aZovyaRPGArtistTools_v2.safetensors
Creating model from config: /home/ubuntu/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Couldn't find VAE named vae-ft-mse-840000-ema-pruned.vae.pt; using None instead
Applying cross attention optimization (Doggettx).
Error loading embedding AS-Youngest.pt:
Traceback (most recent call last):
File "/home/ubuntu/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 210, in load_from_dir
self.load_from_file(fullfn, fn)
File "/home/ubuntu/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 161, in load_from_file
data = torch.load(path, map_location="cpu")
File "/home/ubuntu/stable-diffusion-webui/modules/safe.py", line 107, in load
return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)
File "/home/ubuntu/stable-diffusion-webui/modules/safe.py", line 152, in load_with_extra
return unsafe_torch_load(filename, *args, **kwargs)
File "/home/ubuntu/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/serialization.py", line 815, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/ubuntu/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/serialization.py", line 1033, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '{'.
Textual inversion embeddings loaded(4): AS-Young, AS-Young-neg, AS-Younger, bad-hands-5
Model loaded in 3.1s (load weights from disk: 0.2s, create model: 0.4s, apply weights to model: 0.4s, apply half(): 0.2s, load VAE: 1.5s, move model to device: 0.3s).
Image Browser: ImageReward is not installed, cannot be used.
*Deforum ControlNet support: enabled*
Running on local URL: http://0.0.0.0:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 12.5s (import torch: 2.5s, import gradio: 1.0s, import ldm: 0.5s, other imports: 0.5s, load scripts: 6.0s, create ui: 1.6s, gradio launch: 0.3s).
img2img: tttttt
100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 11.24it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 11.43it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 12.17it/s]
img2img: tttttt
100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 12.06it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 11.50it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 12.17it/s]
img2img: tttttt
100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 12.04it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 11.46it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 12.16it/s]
img2img: ssss
100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 12.04it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 11.49it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:01<00:00, 12.15it/s]
torch version 2.0.1+cu118 installed no support nvidia low 3000 an 4000 version, uninstall torch version 2.0.1 , install torch: 1.13.1+cu117
torch version 2.0.1+cu118 installed no support nvidia low 3000 an 4000 version, uninstall torch version 2.0.1 , install torch: 1.13.1+cu117
im using an ec2 instance, which is a g5 with 24gb vram. I m not sure if thats the problem.
Is there an existing issue for this?
What happened?
Currently running macOS and Brave browser. After generating the first image this appears beneath it URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> and where the image is supposed to be displayed displays a grey image icon. Originally I believed it was something to do with my python copy so I reinstalled that but still no luck. After a bit of googling I found that I need to run a certain file in my python 3.11 folder however even after running it I still am getting the same error. The issue is new previously it was fine.
Steps to reproduce the problem
What should have happened?
The second image should generate.
Commit where the problem happens
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/89f9faa63388756314e8a1d96cf86bf5e0663045
What platforms do you use to access the UI ?
MacOS
What browsers do you use to access the UI ?
Brave
Command Line Arguments
List of extensions
No
Console logs
Additional information
I have replaced my user name with User for anonymity reasons.