Skip to content

Oneirocom/docker-diffusers-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍌 Banana Serverless

This repo gives a basic framework for serving Stable Diffusion in production using simple HTTP servers.

Quickstart:

  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. Install the Banana Github App to your new repo.

  3. Login in to the Banana Dashboard and setup your account by saving your payment details and linking your Github.

  4. 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

  2. Push that repo to main.

From then onward, any pushes to the default repo branch (usually "main" or "master") trigger Banana to build and deploy your server, using the Dockerfile. Throughout the build we'll sprinkle in some secret sauce to make your server extra snappy 🔥

It'll then be deployed on our Serverless GPU cluster and callable with any of our serverside SDKs:

You can monitor buildtime and runtime logs by clicking the logs button in the model view on the Banana Dashboard


Use Banana for scale.

About

Diffusers / Stable Diffusion in docker with a REST API, supporting various models, pipelines & schedulers.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 86.9%
  • Dockerfile 7.8%
  • Shell 5.3%