Replies: 1 comment 3 replies
-
check your gradio version again. ( |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This issue started yesterday (was working fine before then) when trying to launch the WebUi. No changes were made between it working and throwing this error. I've tried reinstalling gradio 3.41.2, rebuilding the venv, having it debug print*, and even bypassing the check with no luck. I also have tried running a backup copy of A1111 on another drive (and different venv) with the same error. I noticed the line number for the gradio_extensions.py changes from one error message to the next each time I launch (IE., 77, 76, 3). They all reference a problem with IOComponent. Kind of stumped right now.
*= Error printed as: gradio_extensons.py 3
original_IOComponent_init = patches.patch(name, obj=gr.components.IOComponent, field="init", replacement=IOComponent_init)
NameError:
name 'patches' is not defined
Full startup log from windows-user bat file.
H:\stable-diffusion\stable-diffusion-webui>Git pull
Already up to date.
venv "H:\stable-diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.10.1-5-ge39f14e6
Commit hash: e39f14e6a0ce7d5119f3afb37f32134e5f5b9d39
Installing requirements
Installing sd-webui-controlnet requirement: changing timm version from 0.9.16 to 0.9.5
Installing sd-webui-controlnet requirement: changing pydantic version from 2.8.2 to 1.10.17
If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth
Dreambooth revision: 45a12fe5950bf93205b6ef2b7511eb94052a241f
Checking xformers...
Checking bitsandbytes...
Checking bitsandbytes (ALL!)
Installing bitsandbytes
Successfully installed bitsandbytes-0.43.0
Checking Dreambooth requirements...
Installed version of bitsandbytes: 0.43.3
[Dreambooth] bitsandbytes v0.43.0 is already installed.
Installed version of accelerate: 0.21.0
[Dreambooth] accelerate v0.21.0 is already installed.
Installed version of dadaptation: 3.2
[Dreambooth] dadaptation v3.2 is already installed.
Installed version of diffusers: 0.29.2
[Dreambooth] diffusers v0.25.0 is already installed.
Installed version of discord-webhook: 1.3.0
[Dreambooth] discord-webhook v1.3.0 is already installed.
Installed version of fastapi: 0.104.1
[Dreambooth] fastapi is already installed.
Installed version of gitpython: 3.1.32
[Dreambooth] gitpython v3.1.40 is not installed.
Successfully installed gitpython-3.1.43
Installed version of pytorch_optimizer: 2.12.0
[Dreambooth] pytorch_optimizer v2.12.0 is already installed.
Installed version of Pillow: 9.5.0
[Dreambooth] Pillow is already installed.
Installed version of tqdm: 4.66.1
[Dreambooth] tqdm is already installed.
Installed version of tomesd: 0.1.3
[Dreambooth] tomesd v0.1.2 is already installed.
Installed version of tensorboard: 2.13.0
[Dreambooth] tensorboard v2.13.0 is already installed.
[+] torch version 2.3.1+cu121 installed.
[+] torchvision version 0.18.1+cu121 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.29.2 installed.
[+] bitsandbytes version 0.43.3 installed.
[+] xformers version 0.0.27 installed.
Launching Web UI with arguments: --xformers
launch.py 48
main()
launch.py 44 main
start()
launch_utils.py 465 start
import webui
webui.py 13
initialize.imports()
initialize.py 39 imports
from modules import processing, gradio_extensons, ui # noqa: F401
gradio_extensons.py 77
original_IOComponent_init = patches.patch(name, obj=gr.components.IOComponent, field="init", replacement=IOComponent_init)
AttributeError:
module 'gradio.components' has no attribute 'IOComponent'
Press any key to continue . . .
Beta Was this translation helpful? Give feedback.
All reactions