Distributed backend AI pipeline server
Top 80.9% on sourcepulse
DFserver is a distributed backend AI pipeline server designed for building self-hosted GPU clusters to run Stable Diffusion and other AI image generation models. It targets users who want to leverage shared or personal GPU resources for AI tasks, with aspirations for large-scale production deployment and flexible pipeline extensions.
How It Works
DFserver employs a distributed architecture using RabbitMQ for task queuing. A Discord bot acts as the user interface, accepting prompts and publishing tasks to RabbitMQ. AI workers, running on GPU-equipped machines, consume these tasks, process them using models like Stable Diffusion or Real-ESRGAN, and publish results back to RabbitMQ. A dedicated process worker then retrieves these results and sends them to the user via Discord. This decoupled design allows for scalable worker deployment and pipeline extensibility.
Quick Start & Requirements
make linux-amd64
(or linux-arm64
).configs/config.toml
for server settings. AI workers need their respective .ini
configuration files../dist/linux_amd64/dfserver --confpath=./configs
or use docker compose up -d
. AI workers are run via python worker.py <worker_type>
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is in active development with several items marked as TODO, including multi-GPU worker support and mask/inpaint functionality. The lack of a specified license is a significant caveat for adoption.
2 years ago
1+ week