Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

This repo is the basic framework for training Dreambooth Stable Diffusion v2 in production on Banana's serverless GPU platform. 1-Click Deploy ready

License

Notifications You must be signed in to change notification settings

lucataco/serverless-template-stable-diffusion-v2

Repository files navigation

🍌 Banana Serverless

This repo gives a basic framework for serving Stable Diffusion v2 in production using simple HTTP servers. Does not need a Huggingface token, ready for 1-click deploy

Instant Deploy

Stable Diffusion is now available as a prebult model on Banana! See how to deploy Stable Diffusion in seconds.

Quickstart

If you want to customize beyond the prebuilt model:

Follow the quickstart guide in Banana's documentation to use this repo.

(choose "GitHub Repository" deployment method)

Additional Steps (outside of quickstart guide)

  1. Create your own private repo and copy the files from this template repo into it. You'll want a private repo so that your huggingface keys are secure.
  2. Create huggingface account to get permission to download and run Stable Diffusion text-to-image model.
  1. Edit the dockerfile in your forked repo with ENV HF_AUTH_TOKEN=your_auth_token

Helpful Links

Understand the 🍌 Serverless framework and functionality of each file within it.

Generalize this framework to deploy anything on Banana.


Use Banana for scale.

About

This repo is the basic framework for training Dreambooth Stable Diffusion v2 in production on Banana's serverless GPU platform. 1-Click Deploy ready

Topics

Resources

License

Stars

Watchers

Forks