Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Araso

Members
  • Joined

  • Last visited

Everything posted by Araso

  1. @Max-SDU and @HealthCareUSA: This thread is for container support more than anything, whereas your issues seems to be to do with the WebUI. Also, @Max-SDU, you do not mention which front end you're using when you see this error. Either way, doing a quick search for the term: NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs Finds me this as the first result on the Automatic1111 Github where there's lots of mention of deleting the venv and reinstalling. Maybe try that first and if that's not enough to solve your problems, try opening an issue on the relevant Github. In fact, at the first sign of trouble I've got myself into the habit of deleting the venv before anything else. Yes, it takes a while but it's not a step that you can discount since it can fix a lot from one version to another. Also, have you tried WebUI Forge? It's much more memory efficient than standard A1111 (you do need a decent amount of RAM though) and it has other bug fixes and optimisations as well.
  2. @Holaf What are the differences between these versions: TAG latest Last pushed 17 hours ago by holaflenain 430293c40eb5 TAG 3.1.0 Last pushed 16 hours ago by holaflenain 07cbd209f7e3 TAG test Last pushed 20 hours ago by holaflenain 381488f205f3 Which should I switch to? Are the changes you made in :test now in :latest or :3.1.0 and :test is deprecated now? Usually, :latest and the highest numbered version are one and the same. Why are :latest and :3.1.0 not the same? I don't know which to go for.
  3. I found another problem, except this time it was user error - sort of. At some point between when I last updated and tested things and made the post above, you'd pushed out another update. However, I hadn't seen any notification of a new update. Just a short while ago I noticed there was an update for the container and when I went to look at Docker Hub, I see that it was pushed 14 hours ago. So all today I've been using an out of date version. The moral of this story is that I will have to manually check for updates before I even start the container each time. The good news is that you have, indeed, fixed the file saving location. When I posted above, I was referring to the older version. This new version is correctly saving everything in the right place. So that's fixed. The bad news is in a log file so long I won't post it here in a code block because there are so many lines of it. So I'll attach it to avoid a huge wall of text. It's not even the whole of the log because so much shoots past the log window I can't catch it all and most of it disappears. On the plus side: Everything I use still seems to work, somehow... All the standard things plus ReActor is what I've been using. The end of the attached log says: ERROR: Could not build wheels for insightface, onnx, which is required to install pyproject.toml-based projects Problems with insightface being installed was what I had before when I was trying to use InstantID. It isn't affecting ReActor from what I can tell so far, which is good. However, this error is a thing that's happening after a few full stops and starts of the container, so it's not a one-off. The only way to get a full log would be if you could send log output to disk. Maybe rotate the last three logs or something? log.txt
  4. Ah. Changelogs would be useful. I still have DOCKER_MODS installing bc - so I can now take that out. Good to know. I've added a parameter to my file (parameters.txt) which is now not in the file read by Forge any more (parameters.forge.txt) so now I need to add it in the Forge file and revert it in the A1111 file. On my side, it's still saving to: appdata/stable-diffusion/02-sd-webui/forge/output/ My first thought is I'd need to wipe out: appdata/stable-diffusion/02-sd-webui/conda-env/ But what's in there is not configuration files. So I'd want to be looking at some of those. In which file is this value changed and what has it been changed to? Unless it's a change within one of the .sh files inside the container itself, in which case why isn't it working since I updated to the new :test tag version? Maybe I'll delete the container and start again just for my own peace of mind.
  5. @Holaf I see there's been a new :test tag which I've updated to. I'm seeing this in the log: *** Cannot import xformers Traceback (most recent call last): File "/config/02-sd-webui/forge/modules/sd_hijack_optimizations.py", line 160, in <module> import xformers.ops File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/__init__.py", line 8, in <module> from .fmha import ( File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/fmha/__init__.py", line 10, in <module> from . import attn_bias, cutlass, decoder, flash, small_k, triton, triton_splitk File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/fmha/triton_splitk.py", line 21, in <module> if TYPE_CHECKING or _has_triton21(): ^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/common.py", line 192, in _has_triton21 if not _has_a_version_of_triton(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/common.py", line 176, in _has_a_version_of_triton import triton # noqa: F401 ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/__init__.py", line 20, in <module> from .compiler import compile, CompilationError File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/__init__.py", line 1, in <module> from .compiler import CompiledKernel, compile, instance_descriptor File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/compiler.py", line 27, in <module> from .code_generator import ast_to_ttir File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/code_generator.py", line 8, in <module> from .. import language File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/__init__.py", line 4, in <module> from . import math File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/math.py", line 4, in <module> from . import core File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/core.py", line 1375, in <module> @jit ^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 542, in jit return decorator(fn) ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 534, in decorator return JITFunction( ^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 433, in __init__ self.run = self._make_launcher() ^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 388, in _make_launcher scope = {"version_key": version_key(), ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 120, in version_key ptxas = path_to_ptxas()[0] ^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/backend.py", line 114, in path_to_ptxas result = subprocess.check_output([ptxas_bin, "--version"], stderr=subprocess.STDOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 1953, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: '/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/../third_party/cuda/bin/ptxas' --- *** Error loading script: preprocessor_marigold.py Traceback (most recent call last): File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 710, in _get_module return importlib.import_module("." + module_name, self.__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/loaders/unet.py", line 27, in <module> from ..models.embeddings import ImageProjection, MLPProjection, Resampler File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/models/embeddings.py", line 23, in <module> from .attention_processor import Attention File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/models/attention_processor.py", line 32, in <module> import xformers.ops File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/__init__.py", line 8, in <module> from .fmha import ( File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/fmha/__init__.py", line 10, in <module> from . import attn_bias, cutlass, decoder, flash, small_k, triton, triton_splitk File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/fmha/triton_splitk.py", line 21, in <module> if TYPE_CHECKING or _has_triton21(): ^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/common.py", line 192, in _has_triton21 if not _has_a_version_of_triton(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/xformers/ops/common.py", line 176, in _has_a_version_of_triton import triton # noqa: F401 ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/__init__.py", line 20, in <module> from .compiler import compile, CompilationError File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/__init__.py", line 1, in <module> from .compiler import CompiledKernel, compile, instance_descriptor File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/compiler.py", line 27, in <module> from .code_generator import ast_to_ttir File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/compiler/code_generator.py", line 8, in <module> from .. import language File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/__init__.py", line 4, in <module> from . import math File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/math.py", line 4, in <module> from . import core File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/language/core.py", line 1375, in <module> @jit ^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 542, in jit return decorator(fn) ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 534, in decorator return JITFunction( ^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 433, in __init__ self.run = self._make_launcher() ^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 388, in _make_launcher scope = {"version_key": version_key(), ^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/runtime/jit.py", line 120, in version_key ptxas = path_to_ptxas()[0] ^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/backend.py", line 114, in path_to_ptxas result = subprocess.check_output([ptxas_bin, "--version"], stderr=subprocess.STDOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/config/02-sd-webui/conda-env/lib/python3.11/subprocess.py", line 1953, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: '/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/../third_party/cuda/bin/ptxas' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 710, in _get_module return importlib.import_module("." + module_name, self.__name__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/models/unet_2d_condition.py", line 22, in <module> from ..loaders import UNet2DConditionLoadersMixin File "<frozen importlib._bootstrap>", line 1229, in _handle_fromlist File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 700, in __getattr__ module = self._get_module(self._class_to_module[name]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 712, in _get_module raise RuntimeError( RuntimeError: Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback): [Errno 13] Permission denied: '/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/../third_party/cuda/bin/ptxas' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/02-sd-webui/forge/modules/scripts.py", line 544, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/forge/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/forge/extensions-builtin/forge_preprocessor_marigold/scripts/preprocessor_marigold.py", line 10, in <module> from marigold.model.marigold_pipeline import MarigoldPipeline File "/config/02-sd-webui/forge/extensions-builtin/forge_preprocessor_marigold/marigold/model/marigold_pipeline.py", line 9, in <module> from diffusers import ( File "<frozen importlib._bootstrap>", line 1229, in _handle_fromlist File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 701, in __getattr__ value = getattr(module, name) ^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 700, in __getattr__ module = self._get_module(self._class_to_module[name]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/conda-env/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 712, in _get_module raise RuntimeError( RuntimeError: Failed to import diffusers.models.unet_2d_condition because of the following error (look up to see its traceback): Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback): [Errno 13] Permission denied: '/config/02-sd-webui/conda-env/lib/python3.11/site-packages/triton/common/../third_party/cuda/bin/ptxas' I'm not sure what this affects but I've run a quick generate and I got my results. This is with a straight-up generation of a simple positive prompt and no negative. I'll be using it some more with more complex things in a bit so whatever the above is - maybe it affects something else like ControlNet or whatever. Any chance of a changelog? Edit: What is the 'Holaf_tests' tag for?
  6. Wonder no more... Due to this Github issue being closed a short time ago and the fact that every time Forge boots it pulls every new version up to the minute, the time taken to generate with ReActor selected has now been massively reduced. A test on the same batch size is now down to 36 or so seconds. The only caveat is that in ReActor, under Restore Face, GFPGAN must be selected - CodeFormer is still just as slow. There are always pros and cons with bleeding edge software. There's still a CPU spike though, so it's not exactly running on the GPU but I'll take it..
  7. I've installed the :test tag and have indeed been testing it. Other than the running on the CPU issue, I've found only three minor issues: 1. Starting Forge does not read from parameters.forge.txt In the log I see this: Launching Web UI with arguments: --listen --port 9000 --enable-insecure-extension-access --medvram --xformers --api Arg --medvram is removed in Forge. Now memory management is fully automatic and you do not need any command flags. Please just remove this flag. In extreme cases, if you want to force previous lowvram/medvram behaviors, please use --always-offload-from-vram The contents of parameters.txt: # Web + Network --listen --port 9000 # options --enable-insecure-extension-access --medvram --xformers --api #--no-half-vae #--disable-nan-check #--update-all-extensions #--reinstall-xformers #--reinstall-torch The contents of parameters.forge.txt: # Web + Network --listen --port 9000 # options --enable-insecure-extension-access --xformers --api --cuda-malloc --cuda-stream #--no-half-vae #--disable-nan-check #--update-all-extensions #--reinstall-xformers #--reinstall-torch So it looks like Forge is reading parameters.txt rather than parameters.forge.txt. Although I think Forge simply ignores this line, I can remove it in parameters.txt but then if I want to use standard A1111, I might need it to be there. Or if I want to add something specific only for when I run Forge, it'll be there for both versions which could be problematic. 2. I figured out why Forge isn't saving its outputs. It's because I was wrong and it actually is but it's saving them in an unexpected location. All versions (A1111, ComfyUI, etc.) send their outputs to: appdata/stable-diffusion/outputs/ Except for Forge, which sends its outputs to: appdata/stable-diffusion/02-sd-webui/forge/output/ How can I change this to make Forge save somewhere inside of this location?: appdata/stable-diffusion/outputs/ 3. I'm still seeing this when I start Forge: webui.sh: line 246: bc: command not found webui.sh: line 246: [: -eq: unary operator expected I've been reading: https://docs.linuxserver.io/general/container-customization/ https://github.com/linuxserver/docker-mods/tree/universal-package-install?tab=readme-ov-file Essentially, what I've done is add some variables to the template: - DOCKER_MODS=linuxserver/mods:universal-package-install - INSTALL_PACKAGES=bc Which gives me this in the log: **** Adding bc to OS package install list **** [mod-init] **** Installing all mod packages **** Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy/main Sources [1,668 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy/restricted Sources [28.2 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy/universe Sources [22.0 MB] Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse Sources [361 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB] Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,792 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Sources [21.8 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main Sources [595 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe Sources [398 kB] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Sources [70.1 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [50.4 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,907 kB] Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,343 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,786 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy-security/universe Sources [231 kB] Get:21 http://archive.ubuntu.com/ubuntu jammy-security/main Sources [316 kB] Get:22 http://archive.ubuntu.com/ubuntu jammy-security/multiverse Sources [12.1 kB] Get:23 http://archive.ubuntu.com/ubuntu jammy-security/restricted Sources [65.9 kB] Get:24 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,070 kB] Get:25 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,502 kB] Get:26 http://archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,859 kB] Get:27 http://archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.6 kB] Fetched 55.5 MB in 12s (4,745 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: bc 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded. Need to get 87.6 kB of archives. After this operation, 220 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 bc amd64 1.07.1-3build1 [87.6 kB] Fetched 87.6 kB in 16s (5,319 B/s) Selecting previously unselected package bc. (Reading database ... 49023 files and directories currently installed.) Preparing to unpack .../bc_1.07.1-3build1_amd64.deb ... Unpacking bc (1.07.1-3build1) ... Setting up bc (1.07.1-3build1) ... [custom-init] No custom files found, skipping... Done! So bc is installed and the error is gone. I know this is only a small thing and it didn't appear to really affect anything but I do prefer to not see errors in my logs. I've run some generations to see what the speeds are. If I run with and without ReActor, I get 21s without ReActor and 1m10s with it. I used exactly the same amount in a batch. It's not scientifically down to the exact seed or anything but it wouldn't make any difference here anyway. I wonder how much difference there would be if it could run on the GPU. I have nothing to compare it with since I only tried to use ReActor after I had my previous problems with InstantID and I've only been able to use it with this :test tagged version. So, at least for me, there are really only minor issues if you don't count: 2024-02-26 02:09:53.027799529 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory 2024-02-26 02:10:32.154622901 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory 2024-02-26 02:10:33.533160219 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory 2024-02-26 02:10:34.076110107 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory 2024-02-26 02:10:34.562393148 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory I'm happier than I was before because even if something does have to run on the CPU - at least it runs. Cheers! I've only tested Forge so far - not standard A1111. I think you might be suggesting the above errors don't happen in A1111 so I'll get to testing that when I can. Also: If you push this to :latest, will you announce it? Otherwise I might be stuck on :test forever.
  8. I read the past few posts, specifically about WebUI Forge and the custom scripts directory and from there I found the Github repo with sd-webui-forge.sh in it. So I put that in the right place, set the template to boot from it and soon I had WebUI Forge installed. A slight issue during every bootup of this script: webui.sh: line 246: bc: command not found webui.sh: line 246: [: -eq: unary operator expected This doesn't appear to affect anything. It runs fine regardless. The second issue is the main one for me. I installed WebUI Forge because I'd read articles and watched videos about it and that it was much more memory efficient than Automatic1111. Plus it has bug fixes and some built-in extensions that A1111 doesn't have. One of those is built-in version of Photomaker. This is similar to InstantID so I thought I'd try it and... It was... fine? It worked without issue and did the job to a point but it's still not what I'm after - that's still InstantID because when I had it working before it was near flawless. However, if I show a bit more of that log: ################################################################ Launching launch.py... ################################################################ glibc version is 2.35 Check TCMalloc: libtcmalloc_minimal.so.4 webui.sh: line 246: bc: command not found webui.sh: line 246: [: -eq: unary operator expected libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:53:32) [GCC 12.3.0] Version: f0.0.14v1.8.0rc-latest-184-g43c9e3b5 Commit hash: 43c9e3b5ce1642073c7a9684e36b45489eeb4a49 Legacy Preprocessor init warning: Unable to install insightface automatically. Please try run `pip install insightface` manually. So insightface is not installed, which is necessary for InstantID to work. For completeness, if I try to use InstantID regardless: Traceback (most recent call last): File "/config/00-custom/sd-webui-forge/stable-diffusion-webui-forge/extensions-builtin/sd_forge_ipadapter/lib_ipadapter/IPAdapterPlus.py", line 560, in load_insight_face from insightface.app import FaceAnalysis ModuleNotFoundError: No module named 'insightface' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/env/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper response = f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/lib_controlnet/controlnet_ui/controlnet_ui_group.py", line 847, in run_annotator result = preprocessor( ^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/stable-diffusion-webui-forge/extensions-builtin/sd_forge_ipadapter/scripts/forge_ipadapter.py", line 77, in __call__ insightface=self.load_insightface(), ^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/stable-diffusion-webui-forge/extensions-builtin/sd_forge_ipadapter/scripts/forge_ipadapter.py", line 71, in load_insightface self.cached_insightface = opInsightFaceLoader(name='antelopev2')[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/00-custom/sd-webui-forge/stable-diffusion-webui-forge/extensions-builtin/sd_forge_ipadapter/lib_ipadapter/IPAdapterPlus.py", line 562, in load_insight_face raise Exception(e) Exception: No module named 'insightface' Like everything else, searching for a way around this is geared toward Windows, WSL, Linux or Mac - nothing for Docker. It's beyond me how I would go about activating a venv in a container and pip installing something that way. So I'm kinda stuck. Even if I did get insightface installed in WebUI Forge, I would still be stuck with my previous problem because: glibc version is 2.35 I will say, though, that even though Stable Diffusion is fast moving and things could change at any moment - WebUI Forge seems to be the way to go right now. The memory efficiency is so much better than standard A1111. Edit, I found another bug with WebUI Forge: It doesn't save images after generation. I can save images manually one-by-one (they go to log/images) but there is only ever a preview, meaning everything is lost upon a new generation.
  9. I'm having a real struggle trying to get either InstantID or ReActor to work in Automatic1111. Log when attempting to use InstantID: ################################################################ Launching launch.py... ################################################################ Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] Version: v1.7.0 Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e Launching Web UI with arguments: --listen --port 9000 --enable-insecure-extension-access --medvram --xformers --api Civitai Helper: Get Custom Model Folder [-] ADetailer initialized. version: 24.1.2, num models: 9 CivitAI Browser+: Aria2 RPC started ControlNet preprocessor location: /config/02-sd-webui/webui/extensions/sd-webui-controlnet/annotator/downloads 2024-02-17 22:17:30,284 - ControlNet - INFO - ControlNet v1.1.440 2024-02-17 22:17:30,475 - ControlNet - INFO - ControlNet v1.1.440 WARNING ⚠️ user config directory '/home/abc/.config/Ultralytics' is not writeable, defaulting to '/tmp' or CWD.Alternatively you can define a YOLO_CONFIG_DIR environment variable for this path. Loading weights [4726d3bab1] from /config/02-sd-webui/webui/models/Stable-diffusion/sdxlturbo/dreamshaperXL_v2TurboDpmppSDE.safetensors 2024-02-17 22:17:33,538 - AnimateDiff - INFO - Injecting LCM to UI. 2024-02-17 22:17:34,314 - AnimateDiff - INFO - Hacking i2i-batch. 2024-02-17 22:17:34,359 - ControlNet - INFO - ControlNet UI callback registered. Civitai Helper: Set Proxy: Creating model from config: /config/02-sd-webui/webui/repositories/generative-models/configs/inference/sd_xl_base.yaml Running on local URL: http://0.0.0.0:9000 To create a public link, set `share=True` in `launch()`. Startup time: 84.7s (prepare environment: 20.1s, import torch: 15.3s, import gradio: 3.0s, setup paths: 4.2s, initialize shared: 0.5s, other imports: 2.1s, setup codeformer: 0.6s, setup gfpgan: 0.1s, list SD models: 0.1s, load scripts: 34.0s, create ui: 3.8s, gradio launch: 0.6s). Applying attention optimization: xformers... done. Model loaded in 6.9s (load weights from disk: 1.4s, create model: 0.4s, apply weights to model: 4.6s, calculate empty prompt: 0.4s). 2024-02-17 22:19:59,112 - ControlNet - INFO - Preview Resolution = 512 Traceback (most recent call last): File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper response = f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/controlnet_ui/controlnet_ui_group.py", line 1013, in run_annotator result, is_image = preprocessor( ^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/utils.py", line 80, in decorated_func return cached_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/utils.py", line 64, in cached_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/global_state.py", line 37, in unified_preprocessor return preprocessor_modules[preprocessor_name](*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/processor.py", line 801, in run_model_instant_id self.load_model() File "/config/02-sd-webui/webui/extensions/sd-webui-controlnet/scripts/processor.py", line 739, in load_model from insightface.app import FaceAnalysis File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/__init__.py", line 18, in <module> from . import app File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/__init__.py", line 2, in <module> from .mask_renderer import * File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/mask_renderer.py", line 8, in <module> from ..thirdparty import face3d File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/__init__.py", line 3, in <module> from . import mesh File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/__init__.py", line 9, in <module> from .cython import mesh_core_cython ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-311-x86_64-linux-gnu.so) Log when attempting to use ReActor: ################################################################ Launching launch.py... ################################################################ Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] Version: v1.7.0 Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e CUDA 11.8 Launching Web UI with arguments: --listen --port 9000 --enable-insecure-extension-access --medvram --xformers --api Civitai Helper: Get Custom Model Folder [-] ADetailer initialized. version: 24.1.2, num models: 9 CivitAI Browser+: Aria2 RPC started ControlNet preprocessor location: /config/02-sd-webui/webui/extensions/sd-webui-controlnet/annotator/downloads 2024-02-17 22:27:16,501 - ControlNet - INFO - ControlNet v1.1.440 2024-02-17 22:27:16,690 - ControlNet - INFO - ControlNet v1.1.440 WARNING ⚠️ user config directory '/home/abc/.config/Ultralytics' is not writeable, defaulting to '/tmp' or CWD.Alternatively you can define a YOLO_CONFIG_DIR environment variable for this path. *** Error loading script: console_log_patch.py Traceback (most recent call last): File "/config/02-sd-webui/webui/modules/scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/console_log_patch.py", line 4, in <module> import insightface File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/__init__.py", line 18, in <module> from . import app File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/__init__.py", line 2, in <module> from .mask_renderer import * File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/mask_renderer.py", line 8, in <module> from ..thirdparty import face3d File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/__init__.py", line 3, in <module> from . import mesh File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/__init__.py", line 9, in <module> from .cython import mesh_core_cython ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-311-x86_64-linux-gnu.so) --- *** Error loading script: reactor_api.py Traceback (most recent call last): File "/config/02-sd-webui/webui/modules/scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/reactor_api.py", line 17, in <module> from scripts.reactor_swapper import EnhancementOptions, swap_face, DetectionOptions File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/reactor_swapper.py", line 11, in <module> import insightface File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/__init__.py", line 18, in <module> from . import app File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/__init__.py", line 2, in <module> from .mask_renderer import * File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/mask_renderer.py", line 8, in <module> from ..thirdparty import face3d File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/__init__.py", line 3, in <module> from . import mesh File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/__init__.py", line 9, in <module> from .cython import mesh_core_cython ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-311-x86_64-linux-gnu.so) --- *** Error loading script: reactor_faceswap.py Traceback (most recent call last): File "/config/02-sd-webui/webui/modules/scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py", line 18, in <module> from reactor_ui import ( File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/reactor_ui/__init__.py", line 2, in <module> import reactor_ui.reactor_tools_ui as ui_tools File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/reactor_ui/reactor_tools_ui.py", line 2, in <module> from scripts.reactor_swapper import build_face_model, blend_faces File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/reactor_swapper.py", line 11, in <module> import insightface File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/__init__.py", line 18, in <module> from . import app File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/__init__.py", line 2, in <module> from .mask_renderer import * File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/mask_renderer.py", line 8, in <module> from ..thirdparty import face3d File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/__init__.py", line 3, in <module> from . import mesh File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/__init__.py", line 9, in <module> from .cython import mesh_core_cython ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-311-x86_64-linux-gnu.so) --- *** Error loading script: reactor_swapper.py Traceback (most recent call last): File "/config/02-sd-webui/webui/modules/scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/02-sd-webui/webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/02-sd-webui/webui/extensions/sd-webui-reactor/scripts/reactor_swapper.py", line 11, in <module> import insightface File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/__init__.py", line 18, in <module> from . import app File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/__init__.py", line 2, in <module> from .mask_renderer import * File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/app/mask_renderer.py", line 8, in <module> from ..thirdparty import face3d File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/__init__.py", line 3, in <module> from . import mesh File "/config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/__init__.py", line 9, in <module> from .cython import mesh_core_cython ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /config/02-sd-webui/webui/venv/lib/python3.11/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-311-x86_64-linux-gnu.so) --- 22:27:20 - ReActor - STATUS - Running v0.7.0-a1 on Device: CUDA Loading weights [4726d3bab1] from /config/02-sd-webui/webui/models/Stable-diffusion/sdxlturbo/dreamshaperXL_v2TurboDpmppSDE.safetensors 2024-02-17 22:27:21,571 - AnimateDiff - INFO - Injecting LCM to UI. 2024-02-17 22:27:22,412 - AnimateDiff - INFO - Hacking i2i-batch. 2024-02-17 22:27:22,458 - ControlNet - INFO - ControlNet UI callback registered. Civitai Helper: Set Proxy: Creating model from config: /config/02-sd-webui/webui/repositories/generative-models/configs/inference/sd_xl_base.yaml Running on local URL: http://0.0.0.0:9000 To create a public link, set `share=True` in `launch()`. Startup time: 85.3s (prepare environment: 26.2s, import torch: 15.4s, import gradio: 3.1s, setup paths: 4.5s, initialize shared: 0.5s, other imports: 2.2s, setup codeformer: 0.6s, setup gfpgan: 0.1s, list SD models: 0.1s, load scripts: 27.9s, create ui: 3.7s, gradio launch: 0.6s). Applying attention optimization: xformers... done. Model loaded in 6.7s (load weights from disk: 1.4s, create model: 0.5s, apply weights to model: 3.3s, calculate empty prompt: 1.5s). The error with both of these is: ImportError: /home/abc/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found When I console into the container and run: strings /home/abc/miniconda3/bin/../lib/libstdc++.so.6 | grep GLIBCXX I get: root@1dd670cc5061:/# strings /home/abc/miniconda3/bin/../lib/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_3.4.29 GLIBCXX_DEBUG_MESSAGE_LENGTH _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@@GLIBCXX_3.4.5 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw@GLIBCXX_3.4 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5 GLIBCXX_3.4.21 GLIBCXX_3.4.9 _ZSt10adopt_lock@@GLIBCXX_3.4.11 GLIBCXX_3.4.10 GLIBCXX_3.4.16 GLIBCXX_3.4.1 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@GLIBCXX_3.4 GLIBCXX_3.4.28 _ZNSs7_M_copyEPcPKcm@GLIBCXX_3.4 GLIBCXX_3.4.25 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@@GLIBCXX_3.4.5 _ZNSs7_M_moveEPcPKcm@@GLIBCXX_3.4.5 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@@GLIBCXX_3.4.5 _ZNSs4_Rep26_M_set_length_and_sharableEm@GLIBCXX_3.4 _ZSt10defer_lock@@GLIBCXX_3.4.11 _ZN10__gnu_norm15_List_node_base4swapERS0_S1_@@GLIBCXX_3.4 _ZNSs9_M_assignEPcmc@@GLIBCXX_3.4.5 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@@GLIBCXX_3.4.5 _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm@GLIBCXX_3.4 GLIBCXX_3.4.24 _ZNVSt9__atomic011atomic_flag12test_and_setESt12memory_order@@GLIBCXX_3.4.11 GLIBCXX_3.4.20 _ZNSt11char_traitsIwE2eqERKwS2_@@GLIBCXX_3.4.5 GLIBCXX_3.4.12 _ZNSi6ignoreEv@@GLIBCXX_3.4.5 GLIBCXX_3.4.2 _ZNSt11char_traitsIcE2eqERKcS2_@@GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.15 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5 _ZNSs9_M_assignEPcmc@GLIBCXX_3.4 GLIBCXX_3.4.19 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv@GLIBCXX_3.4 GLIBCXX_3.4.27 _ZN10__gnu_norm15_List_node_base7reverseEv@@GLIBCXX_3.4 _ZN10__gnu_norm15_List_node_base4hookEPS0_@@GLIBCXX_3.4 _ZNSt11char_traitsIwE2eqERKwS2_@GLIBCXX_3.4 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm@GLIBCXX_3.4 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm@@GLIBCXX_3.4.5 GLIBCXX_3.4.23 GLIBCXX_3.4.3 GLIBCXX_3.4.7 _ZNSi6ignoreEl@@GLIBCXX_3.4.5 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw@@GLIBCXX_3.4.5 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@GLIBCXX_3.4 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm@@GLIBCXX_3.4.5 GLIBCXX_3.4.18 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@GLIBCXX_3.4 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl@@GLIBCXX_3.4.5 _ZSt15future_category@@GLIBCXX_3.4.14 _ZNSi6ignoreEl@GLIBCXX_3.4 GLIBCXX_3.4.29 _ZNSt11char_traitsIcE2eqERKcS2_@GLIBCXX_3.4 _ZNKSs15_M_check_lengthEmmPKc@GLIBCXX_3.4 _ZN10__gnu_norm15_List_node_base8transferEPS0_S1_@@GLIBCXX_3.4 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw@GLIBCXX_3.4 _ZNVSt9__atomic011atomic_flag5clearESt12memory_order@@GLIBCXX_3.4.11 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4 _ZNSs7_M_moveEPcPKcm@GLIBCXX_3.4 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl@GLIBCXX_3.4 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw@@GLIBCXX_3.4.5 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@GLIBCXX_3.4 _ZNKSs11_M_disjunctEPKc@@GLIBCXX_3.4.5 _ZN10__gnu_norm15_List_node_base6unhookEv@@GLIBCXX_3.4 GLIBCXX_3.4.22 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv@@GLIBCXX_3.4.5 _ZNSi6ignoreEv@GLIBCXX_3.4 _ZNSs7_M_copyEPcPKcm@@GLIBCXX_3.4.5 GLIBCXX_3.4.8 GLIBCXX_3.4.13 _ZSt11try_to_lock@@GLIBCXX_3.4.11 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5 GLIBCXX_3.4.17 GLIBCXX_3.4.4 _ZNKSs15_M_check_lengthEmmPKc@@GLIBCXX_3.4.5 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4 _ZNSs4_Rep26_M_set_length_and_sharableEm@@GLIBCXX_3.4.5 GLIBCXX_3.4.26 _ZNKSs11_M_disjunctEPKc@GLIBCXX_3.4 root@1dd670cc5061:/# When I run: strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX I get: root@1dd670cc5061:/# strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_3.4.29 GLIBCXX_3.4.30 GLIBCXX_DEBUG_MESSAGE_LENGTH root@1dd670cc5061:/# So GLIBCXX_3.4.32 is not available. However, I've recently had to wipe out this container but I've had this container installed in the past. I think I first installed it around late November/early December. During this time, I have InstantID installed and working with no errors. I have no logs from this time because - why would I? It was just working. I don't understand how it worked just a week ago and now, with a clean install - it just won't. I also see this container has only been updated less than a week ago so I thought it could be that. So I pulled an older tag and tested. I tried another. Neither the :latest tag, nor any other will let InstantID or ReActor run without this GLIBCXX_3.4.30 error. I've tried any number of ways to fix this. Basically do a search for 'GLIBCXX_3.4.32 not found' and attempt any of the fixes, like symbolic links or even outright replacing the files. I've even messed around with trying to set 'LD_LIBRARY_PATH'. I just cannot get this to work. I can't find a way to update GCC inside the container either. The only thing that looks promising is from here which says: sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install --only-upgrade libstdc++6 So how does one add a ppa to a linuxserver base image? I can't even specify a lower version of insightface as they don't make it available. I'm truly stuck which is doubly annoying because it did actually work for me before. I will say that everything else I use in Automatic1111 works perfectly fine. Also, I'm running on unRAID v6.12.6 and installed this container from CA. I can't be the only one who is wanting to use InstantID or ReActor. Anyone else have it working or not working? Any fix for this?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.