Skip to content

Hades32/banana-upsample

Repository files navigation

banana-sd-base

Multiple Stable Diffusion models, pipelines, schedulers in a repo. Use them all in a single dev image, or set the variables to deploy with a specific permutation.

"One repo to rule them all" :)

Usage:

TODO, see sd-mui source. But note HF_AUTH_TOKEN in Dockerfile, DOWNLOAD_VARS.py and APP_VARS.py. docker build -t banana-sd --build-arg HF_AUTH_TOKEN=$HF_AUTH_TOKEN . git fetch upstream && git merge upstream/main --no-edit && git push

Original Template README follows

🍌 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.2%
  • Dockerfile 5.8%