You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)
#517
Open
Synchanx opened this issue
Dec 23, 2024
· 0 comments
can some one help to resolve this??
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple --disable-model-loading-ram-optimization
Traceback (most recent call last):
File "/content/volatile-concentration-localux/launch.py", line 50, in
main()
File "/content/volatile-concentration-localux/launch.py", line 46, in main
start()
File "/content/volatile-concentration-localux/modules/launch_utils.py", line 460, in start
import webui
File "/content/volatile-concentration-localux/webui.py", line 13, in
initialize.imports()
File "/content/volatile-concentration-localux/modules/initialize.py", line 16, in imports
import pytorch_lightning # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init.py", line 28, in
from pytorch_lightning.callbacks.pruning import ModelPruning
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/pruning.py", line 31, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/init.py", line 16, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/module.py", line 47, in
from pytorch_lightning.loggers import Logger
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/init.py", line 22, in
from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/wandb.py", line 36, in
import wandb
File "/usr/local/lib/python3.10/dist-packages/wandb/init.py", line 21, in
from wandb import sdk as wandb_sdk
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/init.py", line 28, in
from .wandb_init import _attach, init
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_init.py", line 39, in
from . import wandb_login, wandb_setup
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_login.py", line 19, in
from .wandb_settings import Settings
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_settings.py", line 25, in
from pydantic import (
ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
Colab cell output
Model majicmix_realistic was chosen. It'll be downloaded soon. Continue scroll down and wait for the webui to be loaded.Closing server running on port: 7861Gathering aria2c code from /content/camendurus/stable/majicmix_realistic_webui_colab.ipynb...50 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?)Cloning into 'gperftools'...remote: Enumerating objects: 7713, done.remote: Counting objects: 100% (2985/2985), done.remote: Compressing objects: 100% (314/314), done.remote: Total 7713 (delta 2714), reused 2671 (delta 2671), pack-reused 4728 (from 1)Receiving objects: 100% (7713/7713), 4.23 MiB | 9.37 MiB/s, done.Resolving deltas: 100% (6164/6164), done./content/gperftoolsenv: CXXFLAGS=-std=c++14building libtcmalloc_minimal.so.4, please wait...env: LD_PRELOAD=/content/libtcmalloc_minimal.so.4/contentGathering code from /content/camendurus/stable/majicmix_realistic_webui_colab.ipynb...apt -y install -qq aria2 libcairo2-dev pkg-config python3-devWARNING: apt does not have a stable CLI interface. Use with caution in scripts.python3-dev is already the newest version (3.10.6-1~22.04.1).python3-dev set to manually installed.The following packages were automatically installed and are no longer required: libbz2-dev libpkgconf3 libreadline-devUse 'apt autoremove' to remove them.The following additional packages will be installed: libaria2-0 libblkid-dev libblkid1 libc-ares2 libcairo-script-interpreter2 libffi-dev libglib2.0-dev libglib2.0-dev-bin libice-dev liblzo2-2 libmount-dev libmount1 libpixman-1-dev libselinux1-dev libsepol-dev libsm-dev libxcb-render0-dev libxcb-shm0-devSuggested packages: libcairo2-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin | libgdk-pixbuf2.0-dev libxml2-utils libice-doc cryptsetup-bin libsm-docThe following packages will be REMOVED: pkgconf r-base-devThe following NEW packages will be installed: aria2 libaria2-0 libblkid-dev libc-ares2 libcairo-script-interpreter2 libcairo2-dev libffi-dev libglib2.0-dev libglib2.0-dev-bin libice-dev liblzo2-2 libmount-dev libpixman-1-dev libselinux1-dev libsepol-dev libsm-dev libxcb-render0-dev libxcb-shm0-dev pkg-configThe following packages will be upgraded: libblkid1 libmount12 upgraded, 19 newly installed, 2 to remove and 48 not upgraded.Need to get 5,629 kB of archives.After this operation, 25.2 MB of additional disk space will be used.(Reading database ... (Reading database ... 100%(Reading database ... 123634 files and directories currently installed.)Removing r-base-dev (4.4.2-1.2204.0) ...dpkg: pkgconf: dependency problems, but removing anyway as you requested: libsndfile1-dev:amd64 depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed. libopencv-dev depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed. libmkl-dev:amd64 depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed. libjack-dev depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed. libgphoto2-dev:amd64 depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed. libfontconfig-dev:amd64 depends on pkg-config; however: Package pkg-config is not installed. Package pkgconf which provides pkg-config is to be removed.Removing pkgconf (1.8.0-1) ...Removing 'diversion of /usr/bin/pkg-config to /usr/bin/pkg-config.real by pkgconf'Removing 'diversion of /usr/share/aclocal/pkg.m4 to /usr/share/aclocal/pkg.real.m4 by pkgconf'Removing 'diversion of /usr/share/man/man1/pkg-config.1.gz to /usr/share/man/man1/pkg-config.real.1.gz by pkgconf'Removing 'diversion of /usr/share/pkg-config-crosswrapper to /usr/share/pkg-config-crosswrapper.real by pkgconf'Selecting previously unselected package pkg-config.(Reading database ... (Reading database ... 100%(Reading database ... 123610 files and directories currently installed.)Preparing to unpack .../pkg-config_0.29.2-1ubuntu3_amd64.deb ...Unpacking pkg-config (0.29.2-1ubuntu3) ...Preparing to unpack .../libblkid1_2.37.2-4ubuntu3.4_amd64.deb ...Unpacking libblkid1:amd64 (2.37.2-4ubuntu3.4) over (2.37.2-4ubuntu3) ...Setting up libblkid1:amd64 (2.37.2-4ubuntu3.4) ...(Reading database ... (Reading database ... 100%(Reading database ... 123625 files and directories currently installed.)Preparing to unpack .../libmount1_2.37.2-4ubuntu3.4_amd64.deb ...Unpacking libmount1:amd64 (2.37.2-4ubuntu3.4) over (2.37.2-4ubuntu3) ...Setting up libmount1:amd64 (2.37.2-4ubuntu3.4) ...Selecting previously unselected package libc-ares2:amd64.(Reading database ... (Reading database ... 100%(Reading database ... 123625 files and directories currently installed.)Preparing to unpack .../00-libc-ares2_1.18.1-1ubuntu0.22.04.3_amd64.deb ...Unpacking libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...Selecting previously unselected package libaria2-0:amd64.Preparing to unpack .../01-libaria2-0_1.36.0-1_amd64.deb ...Unpacking libaria2-0:amd64 (1.36.0-1) ...Selecting previously unselected package aria2.Preparing to unpack .../02-aria2_1.36.0-1_amd64.deb ...Unpacking aria2 (1.36.0-1) ...Selecting previously unselected package liblzo2-2:amd64.Preparing to unpack .../03-liblzo2-2_2.10-2build3_amd64.deb ...Unpacking liblzo2-2:amd64 (2.10-2build3) ...Selecting previously unselected package libcairo-script-interpreter2:amd64.Preparing to unpack .../04-libcairo-script-interpreter2_1.16.0-5ubuntu2_amd64.deb ...Unpacking libcairo-script-interpreter2:amd64 (1.16.0-5ubuntu2) ...Selecting previously unselected package libice-dev:amd64.Preparing to unpack .../05-libice-dev_2%3a1.0.10-1build2_amd64.deb ...Unpacking libice-dev:amd64 (2:1.0.10-1build2) ...Selecting previously unselected package libsm-dev:amd64.Preparing to unpack .../06-libsm-dev_2%3a1.2.3-1build2_amd64.deb ...Unpacking libsm-dev:amd64 (2:1.2.3-1build2) ...Selecting previously unselected package libpixman-1-dev:amd64.Preparing to unpack .../07-libpixman-1-dev_0.40.0-1ubuntu0.22.04.1_amd64.deb ...Unpacking libpixman-1-dev:amd64 (0.40.0-1ubuntu0.22.04.1) ...Selecting previously unselected package libxcb-render0-dev:amd64.Preparing to unpack .../08-libxcb-render0-dev_1.14-3ubuntu3_amd64.deb ...Unpacking libxcb-render0-dev:amd64 (1.14-3ubuntu3) ...Selecting previously unselected package libxcb-shm0-dev:amd64.Preparing to unpack .../09-libxcb-shm0-dev_1.14-3ubuntu3_amd64.deb ...Unpacking libxcb-shm0-dev:amd64 (1.14-3ubuntu3) ...Selecting previously unselected package libffi-dev:amd64.Preparing to unpack .../10-libffi-dev_3.4.2-4_amd64.deb ...Unpacking libffi-dev:amd64 (3.4.2-4) ...Selecting previously unselected package libglib2.0-dev-bin.Preparing to unpack .../11-libglib2.0-dev-bin_2.72.4-0ubuntu2.4_amd64.deb ...Unpacking libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ...Selecting previously unselected package libblkid-dev:amd64.Preparing to unpack .../12-libblkid-dev_2.37.2-4ubuntu3.4_amd64.deb ...Unpacking libblkid-dev:amd64 (2.37.2-4ubuntu3.4) ...Selecting previously unselected package libsepol-dev:amd64.Preparing to unpack .../13-libsepol-dev_3.3-1build1_amd64.deb ...Unpacking libsepol-dev:amd64 (3.3-1build1) ...Selecting previously unselected package libselinux1-dev:amd64.Preparing to unpack .../14-libselinux1-dev_3.3-1build2_amd64.deb ...Unpacking libselinux1-dev:amd64 (3.3-1build2) ...Selecting previously unselected package libmount-dev:amd64.Preparing to unpack .../15-libmount-dev_2.37.2-4ubuntu3.4_amd64.deb ...Unpacking libmount-dev:amd64 (2.37.2-4ubuntu3.4) ...Selecting previously unselected package libglib2.0-dev:amd64.Preparing to unpack .../16-libglib2.0-dev_2.72.4-0ubuntu2.4_amd64.deb ...Unpacking libglib2.0-dev:amd64 (2.72.4-0ubuntu2.4) ...Selecting previously unselected package libcairo2-dev:amd64.Preparing to unpack .../17-libcairo2-dev_1.16.0-5ubuntu2_amd64.deb ...Unpacking libcairo2-dev:amd64 (1.16.0-5ubuntu2) ...Setting up libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ...Setting up libblkid-dev:amd64 (2.37.2-4ubuntu3.4) ...Setting up libpixman-1-dev:amd64 (0.40.0-1ubuntu0.22.04.1) ...Setting up libice-dev:amd64 (2:1.0.10-1build2) ...Setting up libsm-dev:amd64 (2:1.2.3-1build2) ...Setting up liblzo2-2:amd64 (2.10-2build3) ...Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...Setting up libffi-dev:amd64 (3.4.2-4) ...Setting up libxcb-shm0-dev:amd64 (1.14-3ubuntu3) ...Setting up pkg-config (0.29.2-1ubuntu3) ...Setting up libsepol-dev:amd64 (3.3-1build1) ...Setting up libxcb-render0-dev:amd64 (1.14-3ubuntu3) ...Setting up libcairo-script-interpreter2:amd64 (1.16.0-5ubuntu2) ...Setting up libaria2-0:amd64 (1.36.0-1) ...Setting up libselinux1-dev:amd64 (3.3-1build2) ...Setting up aria2 (1.36.0-1) ...Setting up libmount-dev:amd64 (2.37.2-4ubuntu3.4) ...Setting up libglib2.0-dev:amd64 (2.72.4-0ubuntu2.4) ...Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ...Processing triggers for libc-bin (2.35-0ubuntu3.4) .../sbin/ldconfig.real: /usr/local/lib/libtcm_debug.so.1 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libumf.so.0 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtcm.so.1 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libhwloc.so.15 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libur_adapter_level_zero.so.0 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libur_adapter_opencl.so.0 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link/sbin/ldconfig.real: /usr/local/lib/libur_loader.so.0 is not a symbolic linkProcessing triggers for man-db (2.10.2-1) ...Setting up libcairo2-dev:amd64 (1.16.0-5ubuntu2) ...pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 -U ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 GB 630.3 kB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 70.5 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 75.5 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 57.2 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 40.0 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 MB 11.9 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.4/96.4 kB 3.2 MB/s eta 0:00:00pip install -q xformers==0.0.20 triton==2.0.0 gradio_client==0.2.7 -U ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.1/109.1 MB 7.8 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 288.4/288.4 kB 20.4 MB/s eta 0:00:00ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gradio 3.41.2 requires gradio-client==0.5.0, but you have gradio-client 0.2.7 which is incompatible.
git clone -b v2.7 https://github.com/camenduru/stable-diffusion-webui /content/volatile-concentration-localux
Cloning into '/content/volatile-concentration-localux'...
git clone https://huggingface.co/embed/negative /content/volatile-concentration-localux/embeddings/negative
Cloning into '/content/volatile-concentration-localux/embeddings/negative'...
git clone https://huggingface.co/embed/lora /content/volatile-concentration-localux/models/Lora/positive
Cloning into '/content/volatile-concentration-localux/models/Lora/positive'...
Filtering content: 100% (3/3), 239.93 MiB | 42.08 MiB/s, done.aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth -d /content/volatile-concentration-localux/models/ESRGAN -o 4x-UltraSharp.pth
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
fe33e0|OK | 81MiB/s|/content/volatile-concentration-localux/models/ESRGAN/4x-UltraSharp.pth
Status Legend:
(OK):download completed.
wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py -O /content/volatile-concentration-localux/scripts/run_n_times.py
--2024-12-23 15:38:11-- 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/volatile-concentration-localux/scripts/run_n_times.py’
0K 100% 26.8M=0s
2024-12-23 15:38:12 (26.8 MB/s) - ‘/content/volatile-concentration-localux/scripts/run_n_times.py’ saved [533/533]
git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/volatile-concentration-localux/extensions/deforum-for-automatic1111-webui
Cloning into '/content/volatile-concentration-localux/extensions/deforum-for-automatic1111-webui'...
git clone https://github.com/camenduru/stable-diffusion-webui-images-browser /content/volatile-concentration-localux/extensions/stable-diffusion-webui-images-browser
Cloning into '/content/volatile-concentration-localux/extensions/stable-diffusion-webui-images-browser'...
git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/volatile-concentration-localux/extensions/stable-diffusion-webui-huggingface
Cloning into '/content/volatile-concentration-localux/extensions/stable-diffusion-webui-huggingface'...
git clone https://github.com/camenduru/sd-civitai-browser /content/volatile-concentration-localux/extensions/sd-civitai-browser
Cloning into '/content/volatile-concentration-localux/extensions/sd-civitai-browser'...
git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/volatile-concentration-localux/extensions/sd-webui-additional-networks
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-additional-networks'...
git clone https://github.com/Mikubill/sd-webui-controlnet /content/volatile-concentration-localux/extensions/sd-webui-controlnet
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-controlnet'...
git clone https://github.com/fkunn1326/openpose-editor /content/volatile-concentration-localux/extensions/openpose-editor
Cloning into '/content/volatile-concentration-localux/extensions/openpose-editor'...
git clone https://github.com/jexom/sd-webui-depth-lib /content/volatile-concentration-localux/extensions/sd-webui-depth-lib
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-depth-lib'...
git clone https://github.com/hnmr293/posex /content/volatile-concentration-localux/extensions/posex
Cloning into '/content/volatile-concentration-localux/extensions/posex'...
git clone https://github.com/nonnonstop/sd-webui-3d-open-pose-editor /content/volatile-concentration-localux/extensions/sd-webui-3d-open-pose-editor
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-3d-open-pose-editor'...
git clone https://github.com/camenduru/sd-webui-tunnels /content/volatile-concentration-localux/extensions/sd-webui-tunnels
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-tunnels'...
git clone https://github.com/etherealxx/batchlinks-webui /content/volatile-concentration-localux/extensions/batchlinks-webui
Cloning into '/content/volatile-concentration-localux/extensions/batchlinks-webui'...
git clone https://github.com/camenduru/stable-diffusion-webui-catppuccin /content/volatile-concentration-localux/extensions/stable-diffusion-webui-catppuccin
Cloning into '/content/volatile-concentration-localux/extensions/stable-diffusion-webui-catppuccin'...
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg /content/volatile-concentration-localux/extensions/stable-diffusion-webui-rembg
Cloning into '/content/volatile-concentration-localux/extensions/stable-diffusion-webui-rembg'...
git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot /content/volatile-concentration-localux/extensions/stable-diffusion-webui-two-shot
Cloning into '/content/volatile-concentration-localux/extensions/stable-diffusion-webui-two-shot'...
git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper /content/volatile-concentration-localux/extensions/sd-webui-aspect-ratio-helper
Cloning into '/content/volatile-concentration-localux/extensions/sd-webui-aspect-ratio-helper'...
git clone https://github.com/tjm35/asymmetric-tiling-sd-webui /content/volatile-concentration-localux/extensions/asymmetric-tiling-sd-webui
Cloning into '/content/volatile-concentration-localux/extensions/asymmetric-tiling-sd-webui'...
git reset --hard
HEAD is now at cf2772fa Merge branch 'release_candidate'
git -C /content/volatile-concentration-localux/repositories/stable-diffusion-stability-ai reset --hard
fatal: cannot change to '/content/volatile-concentration-localux/repositories/stable-diffusion-stability-ai': No such file or directory
sed -i -e '''/from modules import launch_utils/a\\import os''' /content/volatile-concentration-localux/launch.py
sed -i -e '''/ prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/volatile-concentration-localux/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/volatile-concentration-localux/launch.py
sed -i -e 's/\\[\"sd_model_checkpoint\"\\]/\\[\"sd_model_checkpoint\",\"sd_vae\",\"CLIP_stop_at_last_layers\"\\]/g' /content/volatile-concentration-localux/modules/shared.py
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/majicmix-realistic/resolve/main/majicmixRealistic_v4.safetensors -d /content/volatile-concentration-localux/models/Stable-diffusion -o majicmixRealistic_v4.safetensors
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
154023|OK | 180MiB/s|/content/volatile-concentration-localux/models/Stable-diffusion/majicmixRealistic_v4.safetensors
Status Legend:
(OK):download completed.
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -d /content/volatile-concentration-localux/models/Stable-diffusion -o majicmixRealistic_v4.vae.pt
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
84dd14|OK | 246MiB/s|/content/volatile-concentration-localux/models/Stable-diffusion/majicmixRealistic_v4.vae.pt
Status Legend:
(OK):download completed.
/content/volatile-concentration-localux
launching the webui...
fatal: No names found, cannot describe anything.
Python 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0]
Version: 1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Installing clip
Installing open_clip
Cloning Stable Diffusion into /content/volatile-concentration-localux/repositories/stable-diffusion-stability-ai...
Cloning into '/content/volatile-concentration-localux/repositories/stable-diffusion-stability-ai'...
remote: Enumerating objects: 580, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 580 (delta 0), reused 0 (delta 0), pack-reused 578 (from 2)
Receiving objects: 100% (580/580), 73.44 MiB | 30.74 MiB/s, done.
Resolving deltas: 100% (283/283), done.
Cloning Stable Diffusion XL into /content/volatile-concentration-localux/repositories/generative-models...
Cloning into '/content/volatile-concentration-localux/repositories/generative-models'...
remote: Enumerating objects: 1064, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 1064 (delta 35), reused 29 (delta 29), pack-reused 1007 (from 3)
Receiving objects: 100% (1064/1064), 53.61 MiB | 20.91 MiB/s, done.
Resolving deltas: 100% (545/545), done.
Cloning K-diffusion into /content/volatile-concentration-localux/repositories/k-diffusion...
Cloning into '/content/volatile-concentration-localux/repositories/k-diffusion'...
remote: Enumerating objects: 1345, done.
remote: Counting objects: 100% (646/646), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 1345 (delta 604), reused 561 (delta 560), pack-reused 699 (from 1)
Receiving objects: 100% (1345/1345), 239.07 KiB | 1.25 MiB/s, done.
Resolving deltas: 100% (944/944), done.
Cloning CodeFormer into /content/volatile-concentration-localux/repositories/CodeFormer...
Cloning into '/content/volatile-concentration-localux/repositories/CodeFormer'...
remote: Enumerating objects: 614, done.
remote: Counting objects: 100% (298/298), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 614 (delta 209), reused 183 (delta 183), pack-reused 316 (from 2)
Receiving objects: 100% (614/614), 17.31 MiB | 19.42 MiB/s, done.
Resolving deltas: 100% (297/297), done.
Cloning BLIP into /content/volatile-concentration-localux/repositories/BLIP...
Cloning into '/content/volatile-concentration-localux/repositories/BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 277 (delta 145), reused 137 (delta 137), pack-reused 94 (from 1)
Receiving objects: 100% (277/277), 7.04 MiB | 12.91 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Installing requirements for CodeFormer
Installing requirements
Downloading pose_landmark_full.tflite...
Downloading pose_web.binarypb...
Downloading pose_solution_packed_assets.data...
Downloading pose_solution_simd_wasm_bin.wasm...
Downloading pose_solution_packed_assets_loader.js...
Downloading pose_solution_simd_wasm_bin.js...
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing pycloudflared
Installing rembg
Installing onnxruntime for REMBG extension
Installing pymatting for REMBG extension
Installing sd-webui-controlnet requirement: fvcore
Installing sd-webui-controlnet requirement: mediapipe
Installing sd-webui-controlnet requirement: svglib
Installing sd-webui-controlnet requirement: changing albumentations version from 1.4.20 to 1.4.3
Installing sd-webui-controlnet requirement: changing pydantic version from 1.10.19 to 1.10.17
Installing sd-webui-controlnet requirement: changing controlnet_aux version from None to 0.0.9
ControlNet init warning: Unable to install insightface automatically. Please try run `pip install insightface` manually.
Installing sd-webui-controlnet requirement: handrefinerportable
Installing sd-webui-controlnet requirement: depth_anything
Installing sd-webui-controlnet requirement: depth_anything_v2
Installing sd-webui-controlnet requirement: dsine
Installing requirements for CivitAI Browser
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple --disable-model-loading-ram-optimization
Traceback (most recent call last):
File "/content/volatile-concentration-localux/launch.py", line 50, in<module>main()
File "/content/volatile-concentration-localux/launch.py", line 46, in main
start()
File "/content/volatile-concentration-localux/modules/launch_utils.py", line 460, in start
import webui
File "/content/volatile-concentration-localux/webui.py", line 13, in<module>initialize.imports()
File "/content/volatile-concentration-localux/modules/initialize.py", line 16, in imports
import pytorch_lightning # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/__init__.py", line 35, in<module>
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/__init__.py", line 28, in<module>
from pytorch_lightning.callbacks.pruning import ModelPruning
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/pruning.py", line 31, in<module>
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/__init__.py", line 16, in<module>
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/module.py", line 47, in<module>
from pytorch_lightning.loggers import Logger
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/__init__.py", line 22, in<module>
from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/wandb.py", line 36, in<module>
import wandb
File "/usr/local/lib/python3.10/dist-packages/wandb/__init__.py", line 21, in<module>
from wandb import sdk as wandb_sdk
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/__init__.py", line 28, in<module>
from .wandb_init import _attach, init
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_init.py", line 39, in<module>
from . import wandb_login, wandb_setup
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_login.py", line 19, in<module>
from .wandb_settings import Settings
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_settings.py", line 25, in<module>
from pydantic import (
ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)
Which colab and model(s) were you using when the error occurred?
What happened?
can some one help to resolve this??
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple --disable-model-loading-ram-optimization
Traceback (most recent call last):
File "/content/volatile-concentration-localux/launch.py", line 50, in
main()
File "/content/volatile-concentration-localux/launch.py", line 46, in main
start()
File "/content/volatile-concentration-localux/modules/launch_utils.py", line 460, in start
import webui
File "/content/volatile-concentration-localux/webui.py", line 13, in
initialize.imports()
File "/content/volatile-concentration-localux/modules/initialize.py", line 16, in imports
import pytorch_lightning # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init.py", line 28, in
from pytorch_lightning.callbacks.pruning import ModelPruning
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/pruning.py", line 31, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/init.py", line 16, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/module.py", line 47, in
from pytorch_lightning.loggers import Logger
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/init.py", line 22, in
from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/wandb.py", line 36, in
import wandb
File "/usr/local/lib/python3.10/dist-packages/wandb/init.py", line 21, in
from wandb import sdk as wandb_sdk
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/init.py", line 28, in
from .wandb_init import _attach, init
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_init.py", line 39, in
from . import wandb_login, wandb_setup
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_login.py", line 19, in
from .wandb_settings import Settings
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_settings.py", line 25, in
from pydantic import (
ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
Colab cell output
Which colab and model(s) were you using when the error occurred?
https://colab.research.google.com/github/etherealxx/volatile-concentration-localux-colab/blob/main/volatile_concentration_localux_colab.ipynb
Which Public WebUI Colab URL were you using when the error occurred?
gradio.live
If you used HiRes mode when the error occurred, please provide the Hires info
No response
The text was updated successfully, but these errors were encountered: