[X] The issue exists after disabling all extensions
[X] 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
[X] 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?
Fresh install gives error while starting
ImportError:
cannot import name 'Undefined' from 'pydantic.fields' (E:\StableDiffusion\stable-diffusion-webui-forge\venv\lib\site-packages\pydantic\fields.py)
Steps to reproduce the problem
Fresh clone of the repo and starting the webui.bat
What should have happened?
WegUI should start
What browsers do you use to access the UI ?
No response
Sysinfo
This gives the same error, also when dumping on the commandline
Console logs
stable-diffusion-webui-forge>webui.bat
venv "stable-diffusion-webui-forge\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: f0.0.17v1.8.0rc-latest-276-g29be1da7
Commit hash: 29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7
Launching Web UI with arguments:
Total VRAM 24576 MB, total RAM 32689 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : native
Hint: your device supports --pin-shared-memory for potential speed improvements.
Hint: your device supports --cuda-malloc for potential speed improvements.
Hint: your device supports --cuda-stream for potential speed improvements.
VAE dtype: torch.bfloat16
CUDA Stream Activated: False
------------------------------------------------------------------------------------------------------------------------
launch.py 51 <module>
main()
launch.py 47 main
start()
launch_utils.py 541 start
import webui
webui.py 19 <module>
initialize.imports()
initialize.py 35 imports
import gradio # noqa: F401
__init__.py 3 <module>
import gradio.components as components
__init__.py 1 <module>
from gradio.components.annotated_image import AnnotatedImage
annotated_image.py 13 <module>
from gradio.components.base import IOComponent, _Keywords
base.py 20 <module>
from fastapi import UploadFile
__init__.py 7 <module>
from .applications import FastAPI as FastAPI
applications.py 15 <module>
from fastapi import routing
routing.py 22 <module>
from fastapi import params
params.py 4 <module>
from pydantic.fields import FieldInfo, Undefined
ImportError:
cannot import name 'Undefined' from 'pydantic.fields' (stable-diffusion-webui-forge\venv\lib\site-packages\pydantic\fields.py)
Checklist
What happened?
Fresh install gives error while starting
ImportError: cannot import name 'Undefined' from 'pydantic.fields' (E:\StableDiffusion\stable-diffusion-webui-forge\venv\lib\site-packages\pydantic\fields.py)
Steps to reproduce the problem
Fresh clone of the repo and starting the webui.bat
What should have happened?
WegUI should start
What browsers do you use to access the UI ?
No response
Sysinfo
This gives the same error, also when dumping on the commandline
Console logs
Additional information
GPU drivers are up up to date