venetanji / videosd

Multi-GPU Stable diffusion pipeline over webrtc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

videosd

A webrtc video interface to StableDiffusion pipelines. Built for https://backdropbuild.com/builds/v2/videosd

Check the youtube video below for a demo of how it works.

Videosd Demo

Live demo (1 old GPU): https://blendotron.art/

Run (dev)

docker compose up -d
docker compose exec backend-dev bash

You can also attach vscode to the dev container by browsing remotes or using the docker vscode extension. To start the server run python server.py within the container.

root# python3 server.py

Config

Set configuration in diffusert/config.yml

gpus: 4

Run the server in production mode

Edit configs/turnserver.conf

docker compose --profile production up -d

App should be running on port 80. You will need an ssl connection, for convenience you can use the certbot container or use ngrok (ngrok http 80)

About

Multi-GPU Stable diffusion pipeline over webrtc


Languages

Language:Python 82.5%Language:TypeScript 16.7%Language:JavaScript 0.6%Language:Dockerfile 0.2%Language:CSS 0.0%