Auto Setup Stable Diffusion Environment
Goal auto setup stable diffusion environment under aliyun virtual gpu instance Scripts #!/bin/bash # system apt-get update -q && apt-get -y upgrade -q # install packages apt-get -y install -q curl git jq python3 python3-pip python3-venv python3-dev tmux unzip wget zip p7zip-full nfs-client # aliyun setup nvidia driver acs-plugin-manager --exec --plugin grid_driver_install # nfs mount(fast prepare data and models) mkdir /mnt/shared mount -t nfs -o vers=3,nolock,proto=tcp,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport location.cn-guangzhou.nas.aliyuncs.com:/ /mnt/shared # download and extract stable diffusion mkdir /data && cd /data 7z x /mnt/shared/scys/sd....