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.61k stars 413 forks source link

[Issue]: --data_dir argument throws errors #1065

Closed Lalimec closed 1 year ago

Lalimec commented 1 year ago

Issue Description

I am trying to use all the extentions installed on my a1111 by changing the data_dir but it throws some errors on launch. Am I doing it wrong, is there something more I should be doing?

Or is it the same deal as this one? #591


(vlad2) ubuntu@ip-172-31-37-133:~/vlad-webui$ bash webui.sh
Create and activate python venv
Launching launch.py...
20:40:42-527428 INFO     Starting SD.Next
20:40:42-530717 INFO     Python 3.10.11 on Linux
20:40:42-543232 INFO     Version: 314a9bf6 Thu May 18 14:55:43 2023 -0400
20:40:42-755023 INFO     Latest published version:
                         fef49279f8d835ad87cb06d97b7c4921388476e5
                         2023-05-18T19:41:52Z
20:40:42-756179 INFO     Setting environment tuning
20:40:42-757044 INFO     nVidia CUDA toolkit detected
20:40:43-914493 INFO     Torch 2.0.1+cu118
20:40:44-043076 INFO     Torch backend: nVidia CUDA 11.8 cuDNN 8700
20:40:44-065013 INFO     Torch detected GPU: NVIDIA A10G VRAM 22564 Arch (8, 6)
                         Cores 80
20:40:44-066704 INFO     Verifying requirements
20:40:44-084068 INFO     Installing packages
20:40:44-094272 INFO     No changes detected: Quick launch active
20:40:44-095438 INFO     Running extension preloading
20:40:44-096203 INFO     Server arguments: ['--data-dir',
                         '/home/ubuntu/stable-diffusion-webui/', '--listen',
                         '--theme', 'dark', '--disable-safe-unpickle',
                         '--cors-origins', 'http://localhost:9999',
                         '--cors-origins', 'https://www.painthua.com']
No module 'xformers'. Proceeding without it.
20:40:48-140605 INFO     Libraries loaded
20:40:48-150070 INFO     Available VAEs:
                         /home/ubuntu/stable-diffusion-webui/models/VAE 5
20:40:48-151083 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/clip-int
                         errogator-ext
20:40:48-151958 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/multidif
                         fusion-upscaler-for-automatic1111
20:40:48-152837 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/sd-webui
                         -controlnet
20:40:48-153693 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-images-browser
20:40:48-250927 INFO     Available models:
                         /home/ubuntu/stable-diffusion-webui/models/Stable-diffu
                         sion 165
20:40:49-304594 INFO     Setting Torch parameters: dtype=torch.float16
                         vae=torch.float16 unet=torch.float16
Loading weights: /home/ubuntu/stable-diffusion-webui/models/Stable-diffusion/t…
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
20:40:50-058124 INFO     Model created from config:
                         /home/ubuntu/vlad-webui/configs/v1-inference.yaml
Loading weights: /home/ubuntu/stable-diffusion-webui/models/VAE/vae-ft-mse-840…
20:40:51-123820 INFO     Applying scaled dot product cross attention
                         optimization
20:40:51-146600 INFO     Embeddings loaded: 0 []
20:40:51-153575 INFO     Model loaded in 1.9s (load=0.2s create=0.6s apply=0.4s
                         vae=0.4s move=0.2s)
20:40:51-353537 INFO     Model load finished: {'ram': {'used': 9.52, 'total':
                         31.01}, 'gpu': {'used': 2.32, 'total': 22.03},
                         'retries': 0, 'oom': 0}
ControlNet v1.1.174
ControlNet v1.1.174
Image Browser: ImageReward is not installed, cannot be used.
20:40:52-290815 INFO     Libraries loaded
20:40:52-579764 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/sd-dynam
                         ic-prompts/scripts/dynamic_prompting.py:
                         ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│                                                                              │
│                           ... 1 frames hidden ...                            │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/sd-dynamic-prompts/scripts/dy │
│ namic_prompting.py:3 in <module>                                             │
│                                                                              │
│   2                                                                          │
│ ❱ 3 from sd_dynamic_prompts.dynamic_prompting import Script                  │
│   4                                                                          │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/sd-dynamic-prompts/sd_dynamic │
│ _prompts/dynamic_prompting.py:8 in <module>                                  │
│                                                                              │
│     7                                                                        │
│ ❱   8 import dynamicprompts                                                  │
│     9 import gradio as gr                                                    │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'dynamicprompts'
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
20:40:53-048548 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/sd_dream
                         booth_extension/scripts/main.py: ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│                                                                              │
│                           ... 1 frames hidden ...                            │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/sd_dreambooth_extension/scrip │
│ ts/main.py:51 in <module>                                                    │
│                                                                              │
│     50 )                                                                     │
│ ❱   51 from dreambooth.webhook import save_and_test_webhook                  │
│     52 from helpers.log_parser import LogParser                              │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/sd_dreambooth_extension/dream │
│ booth/webhook.py:6 in <module>                                               │
│                                                                              │
│     5                                                                        │
│ ❱   6 import discord_webhook                                                 │
│     7 from PIL import Image                                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'discord_webhook'
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
20:40:53-171950 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-depthmap-script/scripts/depthmap.py:
                         ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│ in _call_with_frames_removed:241                                             │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/stable-diffusion-webui-depthm │
│ ap-script/scripts/depthmap.py:22 in <module>                                 │
│                                                                              │
│     21 from skimage.transform import resize                                  │
│ ❱   22 from trimesh import transformations                                   │
│     23                                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'trimesh'
20:40:53-500183 ERROR    Theme download error accessing HuggingFace
20:40:53-501243 INFO     Loading UI theme: Default
*Deforum ControlNet support: enabled*
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
20:40:55-588440 INFO     Local URL: http://localhost:7860/
20:40:55-589487 INFO     API Docs: http://localhost:7860/docs
20:40:55-590284 INFO     Initializing middleware
20:40:56-238602 INFO     Startup time: 12.1s (torch=2.2s gradio=1.3s
                         libraries=0.6s models=0.1s codeformer=0.1s scripts=4.8s
                         opts onchange=0.3s ui=1.5s start=0.6s scripts
                         app_started_callback=0.1s checkpoint=0.6s)
20:40:56-240517 INFO     Memory used: 7.68 total: 31.01

### Version Platform Description

Version: 314a9bf6 Thu May 18 14:55:43 2023 -0400
Lalimec commented 1 year ago

some got fixed with update but i there is an issue with the depth one i guess.

(vlad2) ubuntu@ip-172-31-37-133:~/vlad-webui$ bash webui.sh --upgrade
Create and activate python venv
Launching launch.py...
22:24:56-610890 INFO     Starting SD.Next
22:24:56-614368 INFO     Python 3.10.11 on Linux
22:24:56-627355 INFO     Version: fef49279 Thu May 18 15:41:52 2023 -0400
22:24:56-842227 INFO     Setting environment tuning
22:24:56-843368 INFO     nVidia CUDA toolkit detected
22:24:58-004480 INFO     Torch 2.0.1+cu118
22:24:58-149344 INFO     Torch backend: nVidia CUDA 11.8 cuDNN 8700
22:24:58-170960 INFO     Torch detected GPU: NVIDIA A10G VRAM 22564 Arch (8, 6)
                         Cores 80
22:24:58-172707 INFO     Verifying requirements
22:24:58-185751 WARNING  Package wrong version: tqdm 4.64.1 required 4.65.0
22:24:58-186640 INFO     Installing package: tqdm==4.65.0
22:25:00-419863 WARNING  Package wrong version: diffusers 0.14.0 required 0.16.1
22:25:00-421033 INFO     Installing package: diffusers==0.16.1
22:25:03-032445 WARNING  Package wrong version: numpy 1.23.5 required 1.24.3
22:25:03-033453 INFO     Installing package: numpy==1.24.3
22:25:07-139113 INFO     Installing packages
22:25:07-146901 INFO     Running setup
22:25:07-147863 INFO     Installing repositories
22:25:07-176422 INFO     Installing submodules
22:25:07-773002 INFO     Updating submodules
22:25:27-253288 INFO     Extension installed packages: sd_dreambooth_extension
                         ['tqdm==4.64.1', 'numpy==1.23.5', 'diffusers==0.14.0']
22:25:34-883988 INFO     Extensions enabled: ['stable-diffusion-webui-rembg',
                         'ScuNET', 'a1111-sd-webui-lycoris', 'Lora',
                         'clip-interrogator-ext',
                         'multidiffusion-upscaler-for-automatic1111', 'LDSR',
                         'sd-webui-controlnet', 'sd-webui-model-converter',
                         'sd-extension-system-info', 'sd-dynamic-thresholding',
                         'prompt-bracket-checker', 'SwinIR',
                         'stable-diffusion-webui-images-browser',
                         'Abysz-LAB-Ext',
                         'Stable-Diffusion-Webui-Civitai-Helper',
                         'stable-diffusion-webui-anti-burn',
                         'sd_dreambooth_extension',
                         'stable-diffusion-webui-state', 'sd-dynamic-prompts',
                         'canvas-zoom', 'put extensions here.txt',
                         'sd-webui-additional-networks',
                         'stable-diffusion-webui-depthmap-script',
                         'deforum-for-automatic1111-webui',
                         'sd-webui-regional-prompter', 'sdweb-merge-board',
                         'OneButtonPrompt',
                         'Hypernetwork-MonkeyPatch-Extension',
                         'SD-CN-Animation']
22:25:34-886497 WARNING  Extensions duplicates: ['clip-interrogator-ext',
                         'multidiffusion-upscaler-for-automatic1111',
                         'sd-webui-controlnet',
                         'stable-diffusion-webui-images-browser']
22:25:34-887480 INFO     Updating Wiki
22:25:35-090141 INFO     Running extension preloading
22:25:35-091114 INFO     Server arguments: ['--upgrade', '--insecure',
                         '--data-dir', '/home/ubuntu/stable-diffusion-webui/',
                         '--listen', '--theme', 'dark',
                         '--disable-safe-unpickle', '--cors-origins',
                         'http://localhost:9999', '--cors-origins',
                         'https://www.painthua.com']
No module 'xformers'. Proceeding without it.
22:25:39-256175 INFO     Libraries loaded
22:25:39-265684 INFO     Available VAEs:
                         /home/ubuntu/stable-diffusion-webui/models/VAE 5
22:25:39-266745 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/clip-int
                         errogator-ext
22:25:39-267647 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/multidif
                         fusion-upscaler-for-automatic1111
22:25:39-268521 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/sd-webui
                         -controlnet
22:25:39-269385 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-images-browser
22:25:39-565387 INFO     Available models:
                         /home/ubuntu/stable-diffusion-webui/models/Stable-diffu
                         sion 165
22:25:40-685510 INFO     Setting Torch parameters: dtype=torch.float16
                         vae=torch.float16 unet=torch.float16
Loading weights: /home/ubuntu/stable-diffusion-webui/models/Stable-diffusion/t…
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
22:25:41-238833 INFO     Model created from config:
                         /home/ubuntu/vlad-webui/configs/v1-inference.yaml
Loading weights: /home/ubuntu/stable-diffusion-webui/models/VAE/vae-ft-mse-840…
22:25:42-342501 INFO     Applying scaled dot product cross attention
                         optimization
22:25:42-365654 INFO     Embeddings loaded: 0 []
22:25:42-372705 INFO     Model loaded in 1.7s (load=0.2s create=0.4s apply=0.4s
                         vae=0.5s move=0.2s)
22:25:42-584044 INFO     Model load finished: {'ram': {'used': 9.54, 'total':
                         31.01}, 'gpu': {'used': 2.32, 'total': 22.03},
                         'retries': 0, 'oom': 0}
ControlNet v1.1.174
ControlNet v1.1.174
Image Browser: ImageReward is not installed, cannot be used.
22:25:43-635543 INFO     Libraries loaded
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
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
22:25:44-681525 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-depthmap-script/scripts/depthmap.py:
                         ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│ in _call_with_frames_removed:241                                             │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/stable-diffusion-webui-depthm │
│ ap-script/scripts/depthmap.py:41 in <module>                                 │
│                                                                              │
│     40                                                                       │
│ ❱   41 from stereoimage_generation import create_stereoimages                │
│     42                                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'stereoimage_generation'
22:25:45-015600 ERROR    Theme download error accessing HuggingFace
22:25:45-017185 INFO     Loading UI theme: Default
LAB
*Deforum ControlNet support: enabled*
22:25:46-501611 INFO     Available models:
                         /home/ubuntu/stable-diffusion-webui/models/Stable-diffu
                         sion 165
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
22:25:47-638192 INFO     Local URL: http://localhost:7860/
22:25:47-639258 INFO     API Docs: http://localhost:7860/docs
22:25:47-640013 INFO     Initializing middleware
22:25:48-364688 INFO     Startup time: 13.3s (torch=2.4s gradio=1.4s
                         libraries=0.4s models=0.3s codeformer=0.1s scripts=5.2s
                         opts onchange=0.2s ui=2.3s start=0.3s scripts
                         app_started_callback=0.1s checkpoint=0.6s)
22:25:48-366675 INFO     Memory used: 7.72 total: 31.01
vladmandic commented 1 year ago

yeah, i don't think data-dir is appended as prefix everywhere it should be, there will be a lot of digging around to fix it in all cases.

Lalimec commented 1 year ago

another interesting case is, even though i've already downloaded additional model while using a1111, your repo seems to redownload them. Or does it just reads the file?

image

vladmandic commented 1 year ago

i just posted an update. following data is now fully relative to data-dir:

extensions/
outputs/
models/
train/
styles.csv
cache.json.lock
cache.json
config.json
ui-config.json
params.txt
Lalimec commented 1 year ago

gunna check it out thanks 👍

Lalimec commented 1 year ago

clean venv and getting these errors. i have no idea wth it started to give me cuda errors again.

(vlad2) ubuntu@ip-172-31-37-133:~/vlad-webui$ bash webui.sh --upgrade
Create and activate python venv
Launching launch.py...
23:23:53-321440 INFO     Starting SD.Next
23:23:53-324712 INFO     Python 3.10.11 on Linux
23:23:53-337804 INFO     Version: 794b23cc Fri May 19 16:56:08 2023 -0400
23:23:53-344813 INFO     Setting environment tuning
23:23:53-345915 INFO     nVidia CUDA toolkit detected
23:23:53-346711 INFO     Installing package: torch torchvision --index-url
                         https://download.pytorch.org/whl/cu118
23:25:26-815257 INFO     Torch 2.0.1+cu118
/home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:107: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 803: system has unsupported display driver / cuda driver combination (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:109.)
  return torch._C._cuda_getDeviceCount() > 0
23:25:26-818089 INFO     Installing package: tensorflow==2.12.0
23:25:59-369190 INFO     Verifying requirements
23:25:59-371350 INFO     Installing package: addict
23:26:00-020264 INFO     Installing package: aenum
23:26:00-781837 INFO     Installing package: aiohttp
23:26:02-744204 INFO     Installing package: anyio
23:26:03-559771 INFO     Installing package: appdirs
23:26:04-252482 INFO     Installing package: astunparse
23:26:04-927792 INFO     Installing package: bitsandbytes
23:26:07-689570 INFO     Installing package: blendmodes
23:26:08-447176 INFO     Installing package: clean-fid
23:26:09-321072 INFO     Installing package: easydev
23:26:10-339231 INFO     Installing package: extcolors
23:26:11-227442 INFO     Installing package: facexlib
23:26:18-921523 INFO     Installing package: filetype
23:26:19-745241 INFO     Installing package: font-roboto
23:26:20-573930 INFO     Installing package: fonts
23:26:21-435346 INFO     Installing package: future
23:26:22-708123 INFO     Installing package: gdown
23:26:24-200937 INFO     Installing package: gfpgan
23:26:31-018213 INFO     Installing package: GitPython
23:26:32-366941 INFO     Installing package: httpcore
23:26:33-391371 INFO     Installing package: inflection
23:26:34-299743 INFO     Installing package: jsonmerge
23:26:35-452994 INFO     Installing package: kornia
23:26:36-753460 INFO     Installing package: lark
23:26:37-875656 INFO     Installing package: lmdb
23:26:38-894228 INFO     Installing package: lpips
23:26:39-869154 INFO     Installing package: omegaconf
23:26:40-991404 INFO     Installing package: open-clip-torch
23:26:44-453718 INFO     Installing package: opencv-contrib-python
23:26:47-009003 INFO     Installing package: piexif
23:26:48-102445 INFO     Installing package: Pillow
23:26:49-928972 INFO     Installing package: psutil
23:26:51-242507 INFO     Installing package: pyyaml
23:26:52-354069 INFO     Installing package: realesrgan
23:26:53-653134 INFO     Installing package: resize-right
23:26:54-728247 INFO     Installing package: rich
23:26:55-859892 INFO     Installing package: safetensors
23:26:56-979405 INFO     Installing package: scipy
23:26:58-189056 INFO     Installing package: tb_nightly
23:26:59-773247 INFO     Installing package: toml
23:27:00-880450 INFO     Installing package: torchdiffeq
23:27:01-984127 INFO     Installing package: torchsde
23:27:03-328075 INFO     Installing package: voluptuous
23:27:04-428061 INFO     Installing package: yapf
23:27:05-503330 INFO     Installing package: scikit-image
23:27:06-664184 INFO     Installing package: basicsr
23:27:07-862830 INFO     Installing package: compel
23:27:13-896177 INFO     Installing package: requests==2.30.0
23:27:15-478277 INFO     Installing package: tqdm==4.65.0
23:27:17-051550 INFO     Installing package: accelerate==0.18.0
23:27:18-743570 INFO     Installing package: opencv-python==4.7.0.72
23:27:20-419755 INFO     Installing package: diffusers==0.16.1
23:27:21-984266 INFO     Installing package: einops==0.4.1
23:27:23-535545 INFO     Installing package: gradio==3.31.0
23:27:32-022841 INFO     Installing package: numexpr==2.8.4
23:27:33-835078 INFO     Installing package: numpy==1.24.3
23:27:37-594186 INFO     Installing package: numba==0.57.0
23:27:39-452812 INFO     Installing package: pandas==1.5.3
23:27:44-859971 INFO     Installing package: protobuf==3.20.3
23:27:46-738849 INFO     Installing package: pytorch_lightning==1.9.4
23:27:49-302743 INFO     Installing package: transformers==4.26.1
23:27:54-977430 INFO     Installing package: timm==0.6.13
23:27:57-168827 INFO     Installing package: tomesd==0.1.2
23:27:59-003500 INFO     Installing package: urllib3==1.26.15
23:28:00-875274 INFO     Installing package: onnxruntime==1.14.0
23:28:03-141593 INFO     Installing packages
23:28:03-142631 INFO     Installing package:
                         git+https://github.com/openai/CLIP.git@d50d76daa670286d
                         d6cacf3bcd80b5e4823fc8e1
23:28:07-164424 INFO     Running setup
23:28:07-165373 INFO     Installing repositories
23:28:07-194389 INFO     Installing submodules
23:28:07-790740 INFO     Updating submodules
23:28:14-874290 INFO     Extension installed packages:
                         stable-diffusion-webui-rembg ['platformdirs==3.5.1',
                         'rembg==2.0.30', 'pooch==1.7.0', 'PyMatting==1.1.8']
23:28:18-060790 INFO     Extension installed packages: clip-interrogator-ext
                         ['clip-interrogator==0.5.4', 'timm==0.4.12',
                         'fairscale==0.4.4', 'blip-ci==0.0.3']
23:28:27-310413 INFO     Extension installed packages: sd-webui-controlnet
                         ['lxml==4.9.2', 'reportlab==4.0.0', 'pycparser==2.21',
                         'portalocker==2.7.0', 'freetype-py==2.3.0',
                         'pycairo==1.23.0', 'cffi==1.15.1', 'svglib==1.5.1',
                         'tinycss2==1.2.1', 'mediapipe==0.10.0',
                         'tabulate==0.9.0', 'cssselect2==0.7.0',
                         'webencodings==0.5.1', 'sounddevice==0.4.6',
                         'rlPyCairo==0.2.0', 'iopath==0.1.9', 'yacs==0.1.8',
                         'fvcore==0.1.5.post20221221']
23:28:30-436241 INFO     Extension installed packages:
                         stable-diffusion-webui-images-browser
                         ['Send2Trash==1.8.2']
23:28:42-444257 INFO     Extension installed packages: sd_dreambooth_extension
                         ['Pillow==9.4.0', 'tqdm==4.64.1',
                         'tensorboard==2.12.0', 'numpy==1.23.5',
                         'tensorboard-plugin-wit==1.8.1', 'dadaptation==1.5',
                         'discord-webhook==1.1.0', 'fastapi==0.94.1',
                         'bitsandbytes==0.35.4', 'starlette==0.26.1',
                         'diffusers==0.14.0', 'google-auth-oauthlib==0.4.6',
                         'lion-pytorch==0.0.8']
23:28:48-053050 INFO     Extension installed packages: sd-dynamic-prompts
                         ['thinc==8.1.10', 'smart-open==6.3.0', 'spacy==3.5.3',
                         'langcodes==3.3.0', 'spacy-legacy==3.0.12',
                         'preshed==3.0.8', 'srsly==2.4.6', 'catalogue==2.0.8',
                         'cymem==2.0.7', 'Send2Trash==1.8.0', 'wasabi==1.1.1',
                         'murmurhash==1.0.9', 'spacy-loggers==1.0.4',
                         'dynamicprompts==0.23.0', 'pathy==0.10.1',
                         'blis==0.7.9', 'typer==0.7.0', 'confection==0.0.4']
23:29:02-586855 INFO     Extension installed packages:
                         stable-diffusion-webui-depthmap-script ['hsluv==5.0.3',
                         'decorator==4.4.2', 'trimesh==3.21.7',
                         'moviepy==1.0.2', 'vispy==0.13.0',
                         'imageio-ffmpeg==0.4.8', 'transforms3d==0.4.1',
                         'proglog==0.1.10']
23:29:11-702886 INFO     Extension installed packages:
                         deforum-for-automatic1111-webui ['av==10.0.0',
                         'ipython==8.12.0', 'traitlets==5.9.0',
                         'prompt-toolkit==3.0.38', 'asttokens==2.2.1',
                         'executing==1.2.0', 'slicerator==1.1.0',
                         'jedi==0.18.2', 'parso==0.8.3', 'pickleshare==0.7.5',
                         'stack-data==0.6.2', 'PIMS==0.6.0', 'pure-eval==0.2.2',
                         'backcall==0.2.0', 'matplotlib-inline==0.1.6',
                         'py3d==0.0.89']
23:29:16-331522 INFO     Extension installed packages: SD-CN-Animation
                         ['scikit-image==0.19.2']
23:29:16-332594 INFO     Extensions enabled: ['stable-diffusion-webui-rembg',
                         'ScuNET', 'a1111-sd-webui-lycoris', 'Lora',
                         'clip-interrogator-ext',
                         'multidiffusion-upscaler-for-automatic1111', 'LDSR',
                         'sd-webui-controlnet', 'sd-webui-model-converter',
                         'sd-extension-system-info', 'sd-dynamic-thresholding',
                         'prompt-bracket-checker', 'SwinIR',
                         'stable-diffusion-webui-images-browser',
                         'Abysz-LAB-Ext',
                         'Stable-Diffusion-Webui-Civitai-Helper',
                         'stable-diffusion-webui-anti-burn',
                         'sd_dreambooth_extension',
                         'stable-diffusion-webui-state', 'sd-dynamic-prompts',
                         'canvas-zoom', 'put extensions here.txt',
                         'sd-webui-additional-networks',
                         'stable-diffusion-webui-depthmap-script',
                         'deforum-for-automatic1111-webui',
                         'sd-webui-regional-prompter', 'sdweb-merge-board',
                         'OneButtonPrompt',
                         'Hypernetwork-MonkeyPatch-Extension',
                         'SD-CN-Animation']
23:29:16-334819 WARNING  Extensions duplicates: ['clip-interrogator-ext',
                         'multidiffusion-upscaler-for-automatic1111',
                         'sd-webui-controlnet',
                         'stable-diffusion-webui-images-browser']
23:29:16-335750 INFO     Updating Wiki
23:29:16-548386 INFO     Running extension preloading
23:29:16-549479 INFO     Server arguments: ['--upgrade', '--insecure',
                         '--data-dir', '/home/ubuntu/stable-diffusion-webui/',
                         '--listen', '--theme', 'dark',
                         '--disable-safe-unpickle', '--cors-origins',
                         'http://localhost:9999', '--cors-origins',
                         'https://www.painthua.com']
No module 'xformers'. Proceeding without it.
/home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:546: UserWarning: Can't initialize NVML
  warnings.warn("Can't initialize NVML")
23:29:20-813485 INFO     Libraries loaded
23:29:20-816976 INFO     Using data path: /home/ubuntu/stable-diffusion-webui/
23:29:20-823658 INFO     Available VAEs:
                         /home/ubuntu/stable-diffusion-webui/models/VAE 5
23:29:20-824608 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/clip-int
                         errogator-ext
23:29:20-825505 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/multidif
                         fusion-upscaler-for-automatic1111
23:29:20-826358 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/sd-webui
                         -controlnet
23:29:20-827213 INFO     Skipping conflicting extension:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-images-browser
23:29:20-917879 INFO     Available models:
                         /home/ubuntu/stable-diffusion-webui/models/Stable-diffu
                         sion 160
23:29:21-968686 WARNING  Torch FP16 test failed: Forcing FP32 operations
23:29:21-969927 INFO     Setting Torch parameters: dtype=torch.float32
                         vae=torch.float32 unet=torch.float32
Loading weights: /home/ubuntu/stable-diffusion-webui/models/Stable-diffusion/_…
LatentInpaintDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.54 M params.
23:29:22-523493 INFO     Model created from config:
                         /home/ubuntu/vlad-webui/configs/v1-inpainting-inference
                         .yaml
Loading weights: /home/ubuntu/stable-diffusion-webui/models/VAE/vae-ft-mse-840…
23:29:23-181206 WARNING  Scaled dot product cross attention is not available on
                         CPU
23:29:23-197177 INFO     Embeddings loaded: 22 ['AS-Young', 'AS-Young-neg',
                         'AS-Younger', 'AshleyCipher', 'atompunkstylesd15',
                         'bad-hands-5', 'CeceGiacinti', 'cherrynobodysd15',
                         'DaphneDimakos', 'dollienobodysd15', 'EasyNegative',
                         'eonn', 'evelynnobodysd15', 'flower_style',
                         'jane_noexist', 'kristennobodysd15', 'LulaCipher',
                         'nbdy-celeste-sd15', 'nbdy-scarlet-sd15',
                         'realisticvision-negative-embedding', 'StacyHiggins',
                         'VeronicaCipher']
23:29:23-204675 INFO     Model loaded in 1.2s (load=0.1s create=0.4s apply=0.4s
                         vae=0.2s)
23:29:23-414414 INFO     Model load finished: {'ram': {'used': 9.6, 'total':
                         31.01}}
ControlNet v1.1.179
ControlNet v1.1.179
Image Browser: ImageReward is not installed, cannot be used.
23:29:40-398518 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/deforum-
                         for-automatic1111-webui/scripts/deforum.py:
                         ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│                                                                              │
│                           ... 7 frames hidden ...                            │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/deforum-for-automatic1111-web │
│ ui/scripts/deforum_helpers/src/midas/blocks.py:4 in <module>                 │
│                                                                              │
│     3                                                                        │
│ ❱   4 from .backbones.beit import (                                          │
│     5 │   _make_pretrained_beitl16_512,                                      │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/deforum-for-automatic1111-web │
│ ui/scripts/deforum_helpers/src/midas/backbones/beit.py:9 in <module>         │
│                                                                              │
│     8 from .utils import forward_adapted_unflatten, make_backbone_default    │
│ ❱   9 from timm.models.beit import gen_relative_position_index               │
│    10 from torch.utils.checkpoint import checkpoint                          │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'timm.models.beit'
23:29:40-439960 INFO     Libraries loaded
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
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
23:29:41-338327 ERROR    Module load:
                         /home/ubuntu/stable-diffusion-webui/extensions/stable-d
                         iffusion-webui-depthmap-script/scripts/depthmap.py:
                         ModuleNotFoundError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/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                                                           │
│ in _call_with_frames_removed:241                                             │
│                                                                              │
│ /home/ubuntu/stable-diffusion-webui/extensions/stable-diffusion-webui-depthm │
│ ap-script/scripts/depthmap.py:41 in <module>                                 │
│                                                                              │
│     40                                                                       │
│ ❱   41 from stereoimage_generation import create_stereoimages                │
│     42                                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'stereoimage_generation'
23:29:41-502768 INFO     Loading UI theme: name=gradio/monochrome style=Auto
LAB
23:29:43-064531 INFO     Available models:
                         /home/ubuntu/stable-diffusion-webui/models/Stable-diffu
                         sion 160
CUDA SETUP: Required library version not found: libsbitsandbytes_cpu.so. Maybe you need to compile it from source?
CUDA SETUP: Defaulting to libbitsandbytes.so...

================================================ERROR=====================================
CUDA SETUP: CUDA detection failed! Possible reasons:
1. CUDA driver not installed
2. CUDA not installed
3. You have multiple conflicting CUDA libraries
4. Required library not pre-compiled for this bitsandbytes release!
CUDA SETUP: If you compiled from source, try again with `make CUDA_VERSION=DETECTED_CUDA_VERSION` for example, `make CUDA_VERSION=113`.
================================================================================

CUDA SETUP: Problem: The main issue seems to be that the main CUDA library was not detected.
CUDA SETUP: Solution 1): Your paths are probably not up-to-date. You can update them via: sudo ldconfig.
CUDA SETUP: Solution 2): If you do not have sudo rights, you can do the following:
CUDA SETUP: Solution 2a): Find the cuda library via: find / -name libcuda.so 2>/dev/null
CUDA SETUP: Solution 2b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_2a
CUDA SETUP: Solution 2c): For a permanent solution add the export from 2b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Required library version not found: libsbitsandbytes_cpu.so. Maybe you need to compile it from source?
CUDA SETUP: Defaulting to libbitsandbytes.so...

================================================ERROR=====================================
CUDA SETUP: CUDA detection failed! Possible reasons:
1. CUDA driver not installed
2. CUDA not installed
3. You have multiple conflicting CUDA libraries
4. Required library not pre-compiled for this bitsandbytes release!
CUDA SETUP: If you compiled from source, try again with `make CUDA_VERSION=DETECTED_CUDA_VERSION` for example, `make CUDA_VERSION=113`.
================================================================================

CUDA SETUP: Problem: The main issue seems to be that the main CUDA library was not detected.
CUDA SETUP: Solution 1): Your paths are probably not up-to-date. You can update them via: sudo ldconfig.
CUDA SETUP: Solution 2): If you do not have sudo rights, you can do the following:
CUDA SETUP: Solution 2a): Find the cuda library via: find / -name libcuda.so 2>/dev/null
CUDA SETUP: Solution 2b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_2a
CUDA SETUP: Solution 2c): For a permanent solution add the export from 2b into your .bashrc file, located at ~/.bashrc
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
23:29:43-924948 INFO     Local URL: http://localhost:7860/
23:29:43-926167 INFO     API Docs: http://localhost:7860/docs
23:29:43-926927 INFO     Initializing middleware
23:29:44-814938 INFO     Startup time: 28.3s (torch=2.4s gradio=1.3s
                         libraries=0.6s models=0.1s codeformer=0.1s
                         scripts=20.4s opts onchange=0.1s ui=2.1s start=0.3s
                         scripts app_started_callback=0.1s checkpoint=0.8s)
23:29:44-816871 INFO     Memory used: 6.11 total: 31.01

and this is with no --upgrade

(vlad2) ubuntu@ip-172-31-37-133:~/vlad-webui$ bash webui.sh
Create and activate python venv
Launching launch.py...
23:46:23-785862 INFO     Starting SD.Next
23:46:23-789173 INFO     Python 3.10.11 on Linux
23:46:23-802151 INFO     Version: 794b23cc Fri May 19 16:56:08 2023 -0400
23:46:24-026575 INFO     Setting environment tuning
23:46:24-027683 INFO     nVidia CUDA toolkit detected
23:46:25-186422 INFO     Torch 2.0.1+cu118
/home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:107: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 803: system has unsupported display driver / cuda driver combination (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:109.)
  return torch._C._cuda_getDeviceCount() > 0
23:46:25-189736 INFO     Verifying requirements
23:46:25-202416 WARNING  Package wrong version: tqdm 4.64.1 required 4.65.0
23:46:25-203304 INFO     Installing package: tqdm==4.65.0
23:46:27-389289 WARNING  Package wrong version: diffusers 0.14.0 required 0.16.1
23:46:27-390321 INFO     Installing package: diffusers==0.16.1
23:46:30-013915 WARNING  Package wrong version: numpy 1.23.5 required 1.24.3
23:46:30-014921 INFO     Installing package: numpy==1.24.3
23:46:34-128237 WARNING  Package wrong version: timm 0.4.12 required 0.6.13
23:46:34-129208 INFO     Installing package: timm==0.6.13
23:46:36-673955 INFO     Installing packages
23:46:36-686102 INFO     No changes detected: Quick launch active
23:46:36-687134 INFO     Running extension preloading
23:46:36-687878 INFO     Server arguments: ['--insecure', '--data-dir',
                         '/home/ubuntu/stable-diffusion-webui/', '--listen',
                         '--theme', 'dark', '--disable-safe-unpickle',
                         '--cors-origins', 'http://localhost:9999',
                         '--cors-origins', 'https://www.painthua.com']
No module 'xformers'. Proceeding without it.
/home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:546: UserWarning: Can't initialize NVML
  warnings.warn("Can't initialize NVML")
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/ubuntu/vlad-webui/launch.py:144 in <module>                            │
│                                                                              │
│   143                                                                        │
│ ❱ 144     instance = start_server(immediate=True, server=None)               │
│   145     while True:                                                        │
│                                                                              │
│ /home/ubuntu/vlad-webui/launch.py:116 in start_server                        │
│                                                                              │
│   115     server = importlib.util.module_from_spec(module_spec)              │
│ ❱ 116     module_spec.loader.exec_module(server)                             │
│   117     if args.test:                                                      │
│ in exec_module:883                                                           │
│ in _call_with_frames_removed:241                                             │
│                                                                              │
│ /home/ubuntu/vlad-webui/webui.py:37 in <module>                              │
│                                                                              │
│    36 import ldm.modules.encoders.modules # pylint: disable=W0611,C0411      │
│ ❱  37 from modules import extra_networks, ui_extra_networks_checkpoints # py │
│    38 from modules import extra_networks_hypernet, ui_extra_networks_hyperne │
│                                                                              │
│ /home/ubuntu/vlad-webui/modules/ui_extra_networks_checkpoints.py:5 in        │
│ <module>                                                                     │
│                                                                              │
│    4                                                                         │
│ ❱  5 from modules import shared, ui_extra_networks, sd_models                │
│    6                                                                         │
│                                                                              │
│ /home/ubuntu/vlad-webui/modules/ui_extra_networks.py:10 in <module>          │
│                                                                              │
│     9 from modules import shared                                             │
│ ❱  10 from modules.images import read_info_from_image                        │
│    11 from modules.generation_parameters_copypaste import image_from_url_tex │
│                                                                              │
│ /home/ubuntu/vlad-webui/modules/images.py:17 in <module>                     │
│                                                                              │
│    16 from PIL import Image, ImageFont, ImageDraw, PngImagePlugin, ExifTags  │
│ ❱  17 from modules import sd_samplers, shared, script_callbacks, errors, pat │
│    18                                                                        │
│                                                                              │
│ /home/ubuntu/vlad-webui/modules/sd_samplers.py:1 in <module>                 │
│                                                                              │
│ ❱  1 from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared │
│    2 from modules.sd_samplers_common import samples_to_image_grid, sample_to │
│                                                                              │
│ /home/ubuntu/vlad-webui/modules/sd_samplers_kdiffusion.py:4 in <module>      │
│                                                                              │
│     3 import torch                                                           │
│ ❱   4 import k_diffusion.sampling                                            │
│     5 from modules import prompt_parser, devices, sd_samplers_common         │
│                                                                              │
│ /home/ubuntu/vlad-webui/repositories/k-diffusion/k_diffusion/__init__.py:1   │
│ in <module>                                                                  │
│                                                                              │
│ ❱ 1 from . import augmentation, config, evaluation, external, gns, layers, m │
│   2 from .layers import Denoiser                                             │
│                                                                              │
│ /home/ubuntu/vlad-webui/repositories/k-diffusion/k_diffusion/augmentation.py │
│ :6 in <module>                                                               │
│                                                                              │
│     5 import numpy as np                                                     │
│ ❱   6 from skimage import transform                                          │
│     7 import torch                                                           │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/skimage/transform/ │
│ __init__.py:4 in <module>                                                    │
│                                                                              │
│    3                               hough_circle_peaks, hough_ellipse)        │
│ ❱  4 from .radon_transform import (radon, iradon, iradon_sart,               │
│    5                               order_angles_golden_ratio)                │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/skimage/transform/ │
│ radon_transform.py:3 in <module>                                             │
│                                                                              │
│     2                                                                        │
│ ❱   3 from scipy.interpolate import interp1d                                 │
│     4 from scipy.constants import golden_ratio                               │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/interpolate/ │
│ __init__.py:167 in <module>                                                  │
│                                                                              │
│   166 """                                                                    │
│ ❱ 167 from ._interpolate import *                                            │
│   168 from ._fitpack_py import *                                             │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/interpolate/ │
│ _interpolate.py:12 in <module>                                               │
│                                                                              │
│     11                                                                       │
│ ❱   12 from . import _fitpack_py                                             │
│     13 from . import dfitpack                                                │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/interpolate/ │
│ _fitpack_py.py:10 in <module>                                                │
│                                                                              │
│     9 from . import _fitpack_impl as _impl                                   │
│ ❱  10 from ._bsplines import BSpline                                         │
│    11                                                                        │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/interpolate/ │
│ _bsplines.py:8 in <module>                                                   │
│                                                                              │
│      7                           solve, solve_banded)                        │
│ ❱    8 from scipy.optimize import minimize_scalar                            │
│      9 from . import _bspl                                                   │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/optimize/__i │
│ nit__.py:405 in <module>                                                     │
│                                                                              │
│   404 from ._optimize import *                                               │
│ ❱ 405 from ._minimize import *                                               │
│   406 from ._root import *                                                   │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/optimize/_mi │
│ nimize.py:26 in <module>                                                     │
│                                                                              │
│     25 from ._trustregion_exact import _minimize_trustregion_exact           │
│ ❱   26 from ._trustregion_constr import _minimize_trustregion_constr         │
│     27                                                                       │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/optimize/_tr │
│ ustregion_constr/__init__.py:4 in <module>                                   │
│                                                                              │
│   3                                                                          │
│ ❱ 4 from .minimize_trustregion_constr import _minimize_trustregion_constr    │
│   5                                                                          │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/optimize/_tr │
│ ustregion_constr/minimize_trustregion_constr.py:5 in <module>                │
│                                                                              │
│     4 from .._differentiable_functions import VectorFunction                 │
│ ❱   5 from .._constraints import (                                           │
│     6     NonlinearConstraint, LinearConstraint, PreparedConstraint, strict_ │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/scipy/optimize/_co │
│ nstraints.py:8 in <module>                                                   │
│                                                                              │
│     7 from warnings import warn, catch_warnings, simplefilter                │
│ ❱   8 from numpy.testing import suppress_warnings                            │
│     9 from scipy.sparse import issparse                                      │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/numpy/testing/__in │
│ it__.py:11 in <module>                                                       │
│                                                                              │
│   10 from . import _private                                                  │
│ ❱ 11 from ._private.utils import *                                           │
│   12 from ._private.utils import (_assert_valid_refcount, _gen_alignment_dat │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/numpy/testing/_pri │
│ vate/utils.py:480 in <module>                                                │
│                                                                              │
│    479                                                                       │
│ ❱  480 @np._no_nep50_warning()                                               │
│    481 def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=T │
│                                                                              │
│ /home/ubuntu/vlad-webui/venv/lib/python3.10/site-packages/numpy/__init__.py: │
│ 311 in __getattr__                                                           │
│                                                                              │
│   310         #                                                              │
│ ❱ 311         # The previous way Tester was imported also had a side effect  │
│   312         # the full `numpy.testing` namespace                           │
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: module 'numpy' has no attribute '_no_nep50_warning'
vladmandic commented 1 year ago

I am trying to use all the extentions installed on my a1111 by changing the data_dir but it throws some errors on launch. Am I doing it wrong, is there something more I should be doing?

this is not about --data-dir, this is about some extensions simply not compatible as they rely on much older version of required packages than this repo uses. and i'm not downgrading packages here to keep extensions happy. yes, i understand they may work in a1111, but a1111 uses quite older packages itself.

and regarding cuda, it says unsuported device driver - i'd do a reboot just in case.

Lalimec commented 1 year ago

im ok with some extentions being broken but cuda error came out of nowhere. And this time my cuda version is correct, 118, i didnt even do anything that could break it. Reboot also was not helpful, i will try to deal with it tomorrow.

vladmandic commented 1 year ago

CUDA initialization: Unexpected error from cudaGetDeviceCount().

this is 90% of times because nvml (device driver interface) is already loaded so when torch tries to load it, it fails. that's why reboot normally helps, but there is a way to unload/reload kernel module on the fly. and check for any other running processes.

the other 10% its really driver version issue.

check if nvidia-smi working fine