stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
/content env: TF_CPP_MIN_LOG_LEVEL=1 51 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?) env: LD_PRELOAD=/content/libtcmalloc_minimal.so.4 ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. libcairo2-dev is already the newest version (1.16.0-5ubuntu2). pkg-config is already the newest version (0.29.2-1ubuntu3). aria2 is already the newest version (1.36.0-1). python3-dev is already the newest version (3.10.6-1~22.04.1). 0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path 'stable-diffusion-webui' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/embeddings/negative' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/models/Lora/positive' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 555fe1|OK | 0B/s|/content/stable-diffusion-webui/models/ESRGAN/4x-UltraSharp.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. --2024-09-06 05:59:24-- https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 533 [text/plain] Saving to: ‘/content/stable-diffusion-webui/scripts/run_n_times.py’
/content/stable-dif 100%[===================>] 533 --.-KB/s in 0s
2024-09-06 05:59:24 (37.4 MB/s) - ‘/content/stable-diffusion-webui/scripts/run_n_times.py’ saved [533/533]
ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-civitai-browser' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-additional-networks' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-controlnet' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/openpose-editor' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-depth-lib' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/posex' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-3d-open-pose-editor' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-tunnels' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/batchlinks-webui' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-catppuccin' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-rembg' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/sd-webui-aspect-ratio-helper' already exists and is not an empty directory. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: destination path '/content/stable-diffusion-webui/extensions/asymmetric-tiling-sd-webui' already exists and is not an empty directory. /content/stable-diffusion-webui ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. HEAD is now at f865d3e1 add changelog for 1.4.1 ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. HEAD is now at cf1d67a Update modelcard.md ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 1024ca|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11e_sd15_ip2p_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 347dcb|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11e_sd15_shuffle_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= cd5f42|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_canny_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= ca2576|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11f1p_sd15_depth_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= a48655|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_inpaint_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= dfb597|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_lineart_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= f22a80|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_mlsd_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 397dc5|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_normalbae_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 708b46|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_openpose_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 7637f7|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_scribble_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= f6a8a9|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_seg_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= e6d27f|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_softedge_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= aa348b|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15s2_lineart_anime_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 8ac149|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11f1e_sd15_tile_fp16.safetensors
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 05a30c|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11e_sd15_ip2p_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 28a747|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11e_sd15_shuffle_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 3e8f60|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_canny_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= c2b50d|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11f1p_sd15_depth_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= e2c962|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_inpaint_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 7dcf73|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_lineart_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 45d18d|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_mlsd_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= b58cf9|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_normalbae_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= f50a20|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_openpose_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 035707|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_scribble_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 7dc879|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_seg_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 732b82|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_softedge_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 59c20b|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15s2_lineart_anime_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 57d782|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11f1e_sd15_tile_fp16.yaml
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 5215f9|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_style_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= b3f046|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_sketch_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= ee8964|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_seg_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= bebf0f|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_openpose_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 28d091|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_keypose_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 9a2864|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_depth_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= c2538a|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_color_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 3feadd|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_canny_sd14v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= e5199d|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_canny_sd15v2.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= aae782|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_depth_sd15v2.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 3bc04e|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_sketch_sd15v2.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 986c25|OK | 0B/s|/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_zoedepth_sd15v1.pth
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 8fea2c|OK | 0B/s|/content/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
Status Legend: (OK):download completed. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored. fatal: No names found, cannot describe anything. Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] Version: ## 1.4.1 Commit hash: f865d3e11647dfd6c7b2cdf90dde24680e58acd8 Installing requirements
ControlNet init warning: Unable to install insightface automatically. Please try run pip install insightface manually.
ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
2024-09-06 05:59:58.551432: 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
2024-09-06 05:59:58.589830: 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
2024-09-06 05:59:58.600425: 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
2024-09-06 06:00:00.268915: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 40, in
Steps to reproduce the problem
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'
What should have happened?
1
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
1
Console logs
1
Additional information
No response
Same error
same here
first off i found 2 other issues on this:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13840#issue-1976515263 https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13847#issue-1977112050
2nd, i used chat gpt to solve this issue 3rd, it seems to have noticed that you are in a collab or linux setting so this is specifically for that, but windows systems should be similar
The error you're encountering:
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
occurs due to a mismatch between the versions of the httpx and httpcore libraries installed in your environment. This mismatch leads to incompatibility issues, causing the TypeError you see when Gradio tries to import these libraries.
Additionally, the repeated error messages:
ERROR: ld.so: object '/content/libtcmalloc_minimal.so.4' from LD_PRELOAD cannot be preloaded (file too short): ignored.
indicate that the libtcmalloc_minimal.so.4 file is either corrupted, empty, or missing. This library is used for performance optimization but isn't critical for running the web UI.
Here's how you can resolve these issues:
1. Fix the TypeError by Installing Compatible Versions of httpx and httpcore
To resolve the TypeError, you need to ensure that the versions of httpx and httpcore are compatible. The httpx library version 0.24.1 is compatible with httpcore version 0.17.x.
Steps:
-
For Google Colab Users:
Add the following lines to your Colab notebook before starting the web UI:
!pip install httpx==0.24.1 httpcore==0.17.3 -
For Local Installations:
Open your terminal or command prompt and run:
pip install httpx==0.24.1 httpcore==0.17.3
Explanation:
- httpx
0.24.1requires httpcore0.17.x. Installing these specific versions ensures compatibility. - By specifying the versions, you prevent your package manager from installing incompatible updates that might cause similar issues.
2. Resolve the libtcmalloc_minimal.so.4 Preload Errors
The repeated preload errors suggest that the libtcmalloc_minimal.so.4 file is either corrupted or empty.
Options:
Option A: Reinstall libtcmalloc_minimal.so.4
-
For Google Colab Users:
Run the following command in a new cell:
!apt-get install google-perftools -y -
For Local Installations:
Install Google Perftools using your package manager. For Debian-based systems:
sudo apt-get install google-perftools -y
i do not know what option B does, its just a recommendation from chatgpt and i do not know where it got this information
Option B: Remove the LD_PRELOAD Environment Variable
If you don't need libtcmalloc, you can unset the LD_PRELOAD environment variable.
-
For Google Colab Users:
%env LD_PRELOAD= -
For Local Installations:
In your terminal:
unset LD_PRELOAD
Explanation:
- Reinstalling ensures that
libtcmalloc_minimal.so.4is correctly installed and not empty. - Unsetting
LD_PRELOADtells the system not to preload the library, which avoids the error if the library is unnecessary for your use case.
3. Update Gradio (Optional but Recommended)
Updating Gradio can also help resolve compatibility issues.
-
For Both Colab and Local Installations:
pip install --upgrade gradio
4. Restart Your Environment
After making these changes, it's a good idea to restart your runtime or kernel to ensure all changes take effect.
-
In Colab:
- Click on
Runtime>Restart runtime.
- Click on
-
In Local Environments:
- Close and reopen your terminal or restart your Python environment.
Summary of Steps
-
Install compatible versions of
httpxandhttpcore:pip install httpx==0.24.1 httpcore==0.17.3 -
Address the
libtcmalloc_minimal.so.4errors by either reinstalling the library or unsettingLD_PRELOAD. -
Optionally, update Gradio:
pip install --upgrade gradio -
Restart your environment to apply the changes.
Additional Information
- Why This Happens: Incompatibilities between library versions are common when dependencies update at different rates. Always ensure that the libraries you use are compatible, especially in projects with many dependencies like Stable Diffusion.
- Preventing Future Issues: Consider using a virtual environment to manage your Python packages. Tools like
venvorcondacan help isolate your project's dependencies, preventing version conflicts.
By following these steps, you should be able to resolve the TypeError and get the Stable Diffusion web UI running smoothly