################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################ ################################################################ Running on root user ################################################################ ################################################################ Repo already cloned, using it as install directory ################################################################ ################################################################ Create and activate python venv ################################################################ ################################################################ Launching launch.py... ################################################################ glibc version is 2.35 Check TCMalloc: libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] Version: v1.10.0 Commit hash: c19d04436496ab29ddca4758a792831ae41b31de Launching Web UI with arguments: -f --port 3001 --listen --api --xformers --skip-install --enable-insecure-extension-access --no-half-vae 2025-10-12 09:07:00.913083: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered 2025-10-12 09:07:00.929013: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2025-10-12 09:07:00.933858: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2025-10-12 09:07:00.946988: I tensorflow/core/platform/cpu_feature_guard.cc:210] 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. 2025-10-12 09:07:01.795622: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT /usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/flash.py:211: FutureWarning: `torch.library.impl_abstract` was renamed to `torch.library.register_fake`. Please use that instead; we will remove `torch.library.impl_abstract` in a future version of PyTorch. @torch.library.impl_abstract("xformers_flash::flash_fwd") /usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/flash.py:344: FutureWarning: `torch.library.impl_abstract` was renamed to `torch.library.register_fake`. Please use that instead; we will remove `torch.library.impl_abstract` in a future version of PyTorch. @torch.library.impl_abstract("xformers_flash::flash_bwd") *** Error running preload() for /workspace/stable-diffusion-webui/extensions/sd-webui-adetailer/preload.py Traceback (most recent call last): File "/workspace/stable-diffusion-webui/modules/script_loading.py", line 32, in preload_extensions module.preload(parser) File "/workspace/stable-diffusion-webui/extensions/sd-webui-adetailer/preload.py", line 5, in preload parser.add_argument( File "/usr/lib/python3.10/argparse.py", line 1460, in add_argument return self._add_action(action) File "/usr/lib/python3.10/argparse.py", line 1826, in _add_action self._optionals._add_action(action) File "/usr/lib/python3.10/argparse.py", line 1662, in _add_action action = super(_ArgumentGroup, self)._add_action(action) File "/usr/lib/python3.10/argparse.py", line 1474, in _add_action self._check_conflict(action) File "/usr/lib/python3.10/argparse.py", line 1611, in _check_conflict conflict_handler(action, confl_optionals) File "/usr/lib/python3.10/argparse.py", line 1620, in _handle_conflict_error raise ArgumentError(action, message % conflict_string) argparse.ArgumentError: argument --ad-no-huggingface: conflicting option string: --ad-no-huggingface --- Additional Network extension not installed, Only hijack built-in lora LoCon Extension hijack built-in lora successfully [-] ADetailer initialized. version: 24.6.0, num models: 36 CivitAI Browser+: Aria2 RPC restarted 10/12 09:07:07 [NOTICE] IPv4 RPC: listening on TCP port 24000 10/12 09:07:07 [ERROR] IPv6 RPC: failed to bind TCP port 24000 Exception: [SocketCore.cc:312] errorCode=1 Failed to bind a socket, cause: Name or service not known CivitAI Browser+: Aria2 RPC restarted 10/12 09:07:08 [NOTICE] Emergency shutdown sequence commencing... Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 10/12 09:07:08 [ERROR] IPv4 RPC: failed to bind TCP port 24000 Exception: [SocketCore.cc:312] errorCode=1 Failed to bind a socket, cause: Address already in use 10/12 09:07:08 [ERROR] IPv6 RPC: failed to bind TCP port 24000 Exception: [SocketCore.cc:312] errorCode=1 Failed to bind a socket, cause: Name or service not known 10/12 09:07:08 [ERROR] Exception caught Exception: [DownloadEngineFactory.cc:219] errorCode=1 Failed to setup RPC server. *** Error loading script: !adetailer.py Traceback (most recent call last): File "/workspace/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/workspace/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/workspace/stable-diffusion-webui/extensions/sd-webui-adetailer/scripts/!adetailer.py", line 20, in from adetailer import ( ImportError: cannot import name 'AFTER_DETAILER' from 'adetailer' (/workspace/stable-diffusion-webui/extensions/adetailer/adetailer/__init__.py) --- ControlNet preprocessor location: /workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads 2025-10-12 09:07:09,187 - ControlNet - INFO - ControlNet v1.1.455 09:07:09 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA Civitai: API loaded Loading weights [503740025d] from /workspace/stable-diffusion-webui/models/Stable-diffusion/divingIllustrious_nijiVAE.safetensors 2025-10-12 09:07:10,968 - ControlNet - INFO - ControlNet UI callback registered. Creating model from config: /workspace/stable-diffusion-webui/repositories/generative-models/configs/inference/sd_xl_base.yaml *Deforum ControlNet support: enabled* INFO:root:Loaded ViT-bigG-14 model config. Running on local URL: http://0.0.0.0:3001 To create a public link, set `share=True` in `launch()`. IIB Database file has been successfully backed up to the backup folder. Civitai Link: Connecting to Civitai Link Server Civitai Link: Connected to Civitai Link Server Civitai: Check resources for missing info files Civitai Link: Connecting to Civitai Link Server Civitai: Check resources for missing preview images Startup time: 22.1s (prepare environment: 2.5s, import torch: 3.5s, import gradio: 1.1s, setup paths: 3.4s, initialize shared: 0.2s, other imports: 0.7s, load scripts: 5.5s, create ui: 3.2s, gradio launch: 0.2s, add APIs: 1.1s, app_started_callback: 0.7s). Civitai Link: Joined room 34e91d56a45571b1cefb306a4ed29423 Civitai Link: Presence update: SD: 1, Clients: 0Civitai Link: Joined room 34e91d56a45571b1cefb306a4ed29423 Civitai Link: Presence update: SD: 0, Clients: 0 Civitai Link: Presence update: SD: 1, Clients: 0 Civitai: Found 0 resources missing info files Civitai: No info found on Civitai Civitai: Found 4 resources missing preview images Civitai: No preview images found on Civitai Applying attention optimization: xformers... done. Model loaded in 7.0s (load weights from disk: 2.2s, create model: 2.4s, apply weights to model: 2.0s, calculate empty prompt: 0.1s).