Stable Diffusion 3.5 on serverless infrastructure like AWS Lambda
This guide will demonstrate using Stable Diffusion 3.5 on serverless infrastructure.
Prerequisites
- uv - for Python dependency management
- The Nitric CLI
- (optional) An AWS account
Project setup
Let's start by creating a new project using Nitric's python starter template.
nitric new stable-diffusion py-startercd stable-diffusion
Next, let's install the base dependencies, then add the extra dependencies we need specifically for loading the language model.
# Install the base dependenciesuv sync
Last updated on Dec 16, 2024