jmlot

jmlot

记录分享学习过程

Install Stable Diffusion on Google Cloud.

Installing Stable Diffusion on Google Cloud#

Open Github: camenduru/stable-diffusion-webui-colab: stable diffusion webui colab (github.com)

Select the "drive" branch

image-20230418100456808

After entering the "drive" branch, hold down CTRL and click "Open in Colab"

image-20230418101238213

After opening Colab, select "Copy to Drive"

image-20230418115225559

Then, open Google Drive and you will see a copy of "install.ipynb"

image-20230418115615039

Double-click the copy of "install.ipynb" to enter the editing page, and then click the "Run" button

image-20230418115919950

A prompt for "Connect to Google Drive" will appear later, follow the instructions to authorize the connection

image-20230418120042826

The installation process will take about 7-8 minutes and occupy 12GB of space, but it took me 12 minutes

image-20230418121702148

Go back to Github, hold down CTRL and click the second link

image-20230418143641970

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

image-20230418144619436

image-20230418144658536

After a long run of more than ten minutes, finally see the access address, click the link to open the Stable Diffusion interface

image-20230418152833284

Then you can start generating images

image-20230418153115535

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.