AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142k stars 26.83k forks source link

[Bug]:Installed new extension, the tab doesn't show. That's it. #11079

Closed roseyyy2022ai closed 1 year ago

roseyyy2022ai commented 1 year ago

Is there an existing issue for this?

What happened?

Trying to install SD-CN-animation. Is there an extension limit in SD or something?? This has never happenned b4 but it just won't show up. I tried restarting, reinstalling, multiple methods. Still it's just like this: image No extension related errors in the command line really, apparently. Anyone else experiencing this? Maybe with other extensions also?

Steps to reproduce the problem

  1. Install SD-CN-animation
  2. Start the webui.
  3. The tab isn't there.

What should have happened?

The webui should've started up and shown the new extension's tab next to the "train" tab.

Commit where the problem happens

commit: 91c8d0dc

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Linux, Other/Cloud

What device are you running WebUI on?

Other GPUs

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access --gradio-queue --api --remotemoe

List of extensions

Image Browser, ControlNet 1.1

Console logs

Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access --gradio-queue --api --remotemoe
2023-06-07 16:14:30.858087: 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-06-07 16:14:32.321299: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
Moving 0 files to the new cache system
0it [00:00, ?it/s]
ERROR: ld.so: object 'libtcmalloc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libtcmalloc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Error loading script: base_ui.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 229, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "/content/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/content/stable-diffusion-webui/extensions/SD-CN-Animation/scripts/base_ui.py", line 12, in <module>
    from modules.ui import create_override_settings_dropdown
ImportError: cannot import name 'create_override_settings_dropdown' from 'modules.ui' (/content/stable-diffusion-webui/modules/ui.py)

2023-06-07 16:14:38,954 - ControlNet - INFO - ControlNet v1.1.219
ControlNet preprocessor location: /content/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-06-07 16:14:39,244 - ControlNet - INFO - ControlNet v1.1.219
remote.moe detected, trying to connect...
ERROR: ld.so: object 'libtcmalloc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Warning: Permanently added 'remote.moe,159.69.126.209' (ECDSA) to the list of known hosts.
Civitai: API loaded
Calculating sha256 for /content/stable-diffusion-webui/models/Stable-diffusion/ChilloutMix-ni-fp16.safetensors: 59ffe2243a25c9fe137d590eb3c5c3d3273f1b4c86252da11bbdc9568773da0c
Loading weights [59ffe2243a] from /content/stable-diffusion-webui/models/Stable-diffusion/ChilloutMix-ni-fp16.safetensors
Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Downloading (…)olve/main/vocab.json: 100% 961k/961k [00:00<00:00, 79.4MB/s]
Downloading (…)olve/main/merges.txt: 100% 525k/525k [00:00<00:00, 236MB/s]
Downloading (…)cial_tokens_map.json: 100% 389/389 [00:00<00:00, 3.21MB/s]
Downloading (…)okenizer_config.json: 100% 905/905 [00:00<00:00, 7.78MB/s]
Downloading (…)lve/main/config.json: 100% 4.52k/4.52k [00:00<00:00, 24.6MB/s]
Applying xformers cross attention optimization.
Error loading embedding eyeLora_eyesV10.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 205, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 171, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding bad_prompt_version2.pt:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 205, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 156, in load_from_file
    data = torch.load(path, map_location="cpu")
  File "/content/stable-diffusion-webui/modules/safe.py", line 106, in load
    return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)
  File "/content/stable-diffusion-webui/modules/safe.py", line 151, in load_with_extra
    return unsafe_torch_load(filename, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 795, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1002, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '<'.

Error loading embedding bad-image-v2-39000.pt:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 205, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 156, in load_from_file
    data = torch.load(path, map_location="cpu")
  File "/content/stable-diffusion-webui/modules/safe.py", line 106, in load
    return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)
  File "/content/stable-diffusion-webui/modules/safe.py", line 151, in load_with_extra
    return unsafe_torch_load(filename, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 795, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1002, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '<'.

Textual inversion embeddings loaded(1): CyberRealistic_Negative-neg
Textual inversion embeddings skipped(1): midjourney
Model loaded in 29.7s (calculate hash: 7.7s, load weights from disk: 0.3s, create model: 1.2s, apply weights to model: 9.4s, apply half(): 1.6s, load VAE: 7.8s, move model to device: 0.7s, load textual inversion embeddings: 0.9s).
Checkpoint ChilloutMix-ni-fp16.safetensors [59ffe2243a] not found; loading fallback ChilloutMix-ni-fp16.safetensors [59ffe2243a]
Running on local URL:  http://127.0.0.1:7860/
Running on public URL: https://5d139b78-d7c7-4feb.gradio.live/
Running on public URL (recommended): http://a4hhd2tcsvwy6a2go67auu4ux47z5rjlnrp7vc4dekkhys7slcoq.remote.moe/

Additional information

No response

w-e-w commented 1 year ago

why are you still using a webui from January update

roseyyy2022ai commented 1 year ago

Oh. well I've set this up on the cloud so idk.... Also I'm kind of a newbie. The code just says: !git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui Which is supposed to clone the latest version of the UI....? How do I update it then?

roseyyy2022ai commented 1 year ago

Oh. well I've set this up on the cloud so idk.... Also I'm kind of a newbie. The code just says: !git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui Which is supposed to clone the latest version of the UI....? How do I update it then?

ahahaha nvm i figured it out, that was kinda embarassing 😅

roseyyy2022ai commented 1 year ago

Oh. well I've set this up on the cloud so idk.... Also I'm kind of a newbie. The code just says: !git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui Which is supposed to clone the latest version of the UI....? How do I update it then?

ahahaha nvm i figured it out, that was kinda embarassing 😅

Everything works now lmao