Install and use stable-diffusion-webui

AI painting is very popular recently, give it a try

1. Download from github and run according to the tutorial

https://github.com/AUTOMATIC1111/stable-diffusion-webui

Insert image description here

2. When installing python, you forgot to check the box to add environment variables and add them yourself (restart to take effect)

Or delete python and reinstall it. You can find the python shortcut in the start menu and delete the corresponding source folder.

Insert image description here

3. After adding the environment variable, clean tmp and re-run venv

Insert image description here

4. An error is reported when running, pip cannot be upgraded, and the package cannot be downloaded.

Close circumvention software
Insert image description here

5. Run webui-user.bat again and wait for the download to complete.

Insert image description here

6.import torch; assert torch.cuda.is_available()

‘Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check’"

1. Check the driver
nvidia-smi. If there is no response, it means there is no driver. If there is a driver, it may be too small.

Insert image description here
Solution:
Reference:
https://www.bilibili.com/read/cv19044189
https://blog.csdn.net/Sean_Asu/article/details/129053512

Timeout error

Insert image description here
I choose to give up and recommend using the integration package

Integrated package (recommended)

address

So fragrant

I wish you all the freedom of loess
Insert image description here

Guess you like

Origin blog.csdn.net/euphorias/article/details/129111872