Bugs and solutions in the installation and operation of stable diffusion webui

The operation of webui is actually venvcarried out in the virtual environment named, so when launch.pyrunning, you must first activate source venv/bin/activatethe virtual environment venv.

1. Error: Couldn't install gfpgan

Reason: The problem of the agent should be that the agent was hung up during installation, so there is no way to install it directly.
Solution: I feel that it should be possible to disable the proxy, but I haven't tried it. Or launch.pyadd https://ghproxy.com/the following picture to the file:
increase agent

2、NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:

Reason: xformers version problem, version 0.0.18 is suitable for pytorch2.0, and the default version of webui is 1.13.1, so it is not compatible. Can be python -m xformers.infoused to check xformersthe fit.
Solution: lower xformersthe version,pip install xformers==0.0.16

Guess you like

Origin blog.csdn.net/Huang_Fj/article/details/130105611