ddPn08 / Radiata

Stable diffusion webui based on diffusers.
https://ddpn08.github.io/Radiata/
Apache License 2.0
984 stars 68 forks source link

AttributeError: 'FieldInfo' object has no attribute 'in_' #103

Open MeeJay opened 1 year ago

MeeJay commented 1 year ago

Describe the bug

Impossible to start Radiata using "launch-user.bat" just after a fresh git clone, exiting with this error: image

Reproduction

1) Git Clone radiata 2) Start launch-user.bat

Expected behavior

The requirements should be installed and the webui should be available

System Info

Python 3.10.11, Windows 11, latest radiata, 4070Ti and Ryzen 9 5950X

Additional context

Same issue on another system with a Epyc 7543P, a RTX A4500, a fresh Windows 11 install, Python 3.10.11 and the latest radiata.

Validations

FurkanGozukara commented 1 year ago

ye people having this issue in kohya too

must be a another freaking update of python libraries that breaks all previous things

fa0311 commented 1 year ago

I could not reproduce this issue. Can you dump the dependency version?

source venv/bin/activate # or venv\Scripts\Activate.ps1
pip list
MeeJay commented 1 year ago

I could not reproduce this issue. Can you dump the dependency version?

source venv/bin/activate # or venv\Scripts\Activate.ps1
pip list

I destroyed my Python 3.10.11 install on my main computer yesterday, trying to downgrade, so i've did a fresh install of Windows 11 on it and tried to reinstall Radiata with Python 3.10.6. It worked so I've upgraded one version by one, and got it working with 3.10.11. It looks like it's not related to python subversion, but related to something else that was on my main environement. The strange part of this issue is that I cannot get it working on my Shadow (the computer with RTX A4500 inside) and it's a fresh windows install on it, so here's the dependencies:

(venv) D:\Radiata>pip list Package Version


accelerate 0.18.0 aiofiles 23.1.0 aiohttp 3.8.5 aiosignal 1.3.1 altair 5.0.1 annotated-types 0.5.0 antlr4-python3-runtime 4.9.3 anyio 3.7.1 async-timeout 4.0.2 attrs 23.1.0 certifi 2023.7.22 charset-normalizer 3.2.0 click 8.1.6 colorama 0.4.6 colored 2.2.3 contourpy 1.1.0 cycler 0.11.0 diffusers 0.18.0 exceptiongroup 1.1.2 fastapi 0.100.0 ffmpy 0.3.1 filelock 3.12.2 fonttools 4.41.1 frozenlist 1.4.0 fsspec 2023.6.0 gradio 3.38.0 gradio_client 0.2.10 h11 0.14.0 httpcore 0.17.3 httpx 0.24.1 huggingface-hub 0.16.4 idna 3.4 importlib-metadata 6.8.0 invisible-watermark 0.2.0 Jinja2 3.1.2 jsonschema 4.18.4 jsonschema-specifications 2023.7.1 kiwisolver 1.4.4 lightning-utilities 0.9.0 linkify-it-py 2.0.2 lycoris-lora 1.8.0.dev6 markdown-it-py 2.2.0 MarkupSafe 2.1.3 matplotlib 3.7.2 mdit-py-plugins 0.3.3 mdurl 0.1.2 mpmath 1.3.0 multidict 6.0.4 mypy-extensions 1.0.0 networkx 3.1 numpy 1.25.1 omegaconf 2.3.0 opencv-python 4.8.0.74 orjson 3.9.2 packaging 23.1 pandas 2.0.3 Pillow 10.0.0 pip 23.0.1 psutil 5.9.5 pydantic 2.1.0 pydantic_core 2.4.0 pydub 0.25.1 pyparsing 3.0.9 pyre-extensions 0.0.29 python-dateutil 2.8.2 python-multipart 0.0.6 pytorch-lightning 2.0.2 pytz 2023.3 PyWavelets 1.4.1 PyYAML 6.0.1 referencing 0.30.0 regex 2023.6.3 requests 2.31.0 rpds-py 0.9.2 safetensors 0.3.1 semantic-version 2.10.0 sentencepiece 0.1.99 setuptools 65.5.0 six 1.16.0 sniffio 1.3.0 starlette 0.27.0 sympy 1.12 tokenizers 0.13.3 toml 0.10.2 toolz 0.12.0 torch 2.0.1+cu118 torchmetrics 1.0.1 torchvision 0.15.2+cu118 tqdm 4.65.0 transformers 4.28.1 typing_extensions 4.7.1 typing-inspect 0.9.0 tzdata 2023.3 uc-micro-py 1.0.2 urllib3 2.0.4 uvicorn 0.23.1 websockets 11.0.3 xformers 0.0.20 yarl 1.9.2 zipp 3.16.2

[notice] A new release of pip is available: 23.0.1 -> 23.2.1 [notice] To update, run: python.exe -m pip install --upgrade pip

On my main setup I will reinstall everything, app after app, but will start Radiata each time to try to get what's causing the issue, if it was an external app. If you are able to find what's causing the issue on the Shadow setup it'll be perfect, I prefer to avoid reinstalling it as i'll lost the Models already loaded on it's hard drive.