Installing Stable Diffusion on Google Cloud#
Open Github: camenduru/stable-diffusion-webui-colab: stable diffusion webui colab (github.com)
Select the "drive" branch
After entering the "drive" branch, hold down CTRL and click "Open in Colab"
After opening Colab, select "Copy to Drive"
Then, open Google Drive and you will see a copy of "install.ipynb"
Double-click the copy of "install.ipynb" to enter the editing page, and then click the "Run" button
A prompt for "Connect to Google Drive" will appear later, follow the instructions to authorize the connection
The installation process will take about 7-8 minutes and occupy 12GB of space, but it took me 12 minutes
Go back to Github, hold down CTRL and click the second link
Then click "Copy to Drive" and click 'Run'
Then click "RAM Disk" on the right side and "Change runtime type" to check if GPU is allocated
After a long run of more than ten minutes, finally see the access address, click the link to open the Stable Diffusion interface
Then you can start generating images