以下是在Linux快速部署Stable Diffusion的方法:
sudo apt install git python3 python3-pip python3-venv。git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git。python3 -m venv venv,source venv/bin/activate。pip install -r requirements.txt。wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors -O /models/Stable-diffusion/v1-5-pruned-emaonly.safetensors。./webui.sh。sudo yum update -y,sudo yum install -y git python3 python3-pip等。git clone https://github.com/CompVis/stable-diffusion.git。pip install -r requirements.txt。wget https://huggingface.co/CompVis/stable-diffusion-v1-5/resolve/main/dreambooth-v2.1.pt。python run.py --model dreambooth-v2.1.pt --port 8000。