stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Centos 7 docker 20.10.14, image: ubuntu20.04 - circular import caused core dump
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
When I run: python3 -u webui.py --listen --port 7860 --xformers It core dumped. And I noticed that in modules/sd_vae.py, it imports sd_models, and in modules/sd_models.py it imports sd_vae
Steps to reproduce the problem
from modules import sd_vae Segmentation fault (core dumped)
What should have happened?
Should start normally
Commit where the problem happens
0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
python3 -u webui.py --listen --port 7860 --xformers
List of extensions
No
Console logs
root@b3f1e02a2b24:/stable-diffusion-webui# python3 -u webui.py --listen --port 7860 --xformers
Segmentation fault (core dumped)
Additional information
Centos 7 docker 20.10.14, image: ubuntu20.04 with cuda:11.6.0-cudnn8, python 3.10 (installed via conda )
PS: If I put these two lines before import sd_vae from modules import paths import ldm.modules.encoders.modules Core dump disappeared