From the course: Generative AI Imaging Tools for Developers
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Running Stable Diffusion on Google Colab
From the course: Generative AI Imaging Tools for Developers
Running Stable Diffusion on Google Colab
- [Instructor] So far, we've been experimenting with models that are considered diffusion models. Diffusion models are models that start with noise and slowly reduce that noise until they have a clean image. Now, HuggingFace, which is a hub for all things AI, has a library for working with diffusers called Diffusers. Here we are at HuggingFace and I'm going to navigate to text-to-image, and I have some code examples here that are pretty straightforward. Now, the great thing is I can open these in a Google Colab. Google Colab is a notebook environment that lets you put some pretty powerful compute power under your Python code for free or for just a few bucks. Now, I'm going to go ahead and select a different runtime. Now, getting access to all the runtimes may require paying a few extra dollars in order to get the advanced version of Colab. So I'm going to select A100 GPU and save. Now, you want to make sure you review this code before you run it, since it's going to have access to…