drawthingsai/draw-things-community
The community repository for the Draw Things app.
What it solves
This project provides the public-facing core logic for the Draw Things app, allowing users to run image generation models, samplers, and trainers outside of the main sandboxed application. It specifically enables the ability to self-host an inference server (via gRPC) so that the Draw Things app can offload heavy computation to a separate Mac or Linux machine.
How it works
The repository contains re-implementations of image generation models and data models. It offers two primary ways to interact with this code:
- CLI Tools: A
draw-things-clifor local image generation and LoRA training on macOS. - gRPC Server: A
gRPCServerCLIthat can be hosted on macOS or CUDA-capable Linux (via Docker) to act as a remote backend for the Draw Things app's "Server-Offload" feature.
Who it’s for
- Advanced Users: Those who want to generate images or train LoRAs via a command-line interface on macOS.
- Self-hosters: Users with powerful Linux servers (RTX 20xx through H100) who want to provide remote GPU power to their Draw Things app.
- Developers: Those interested in the underlying implementation of the app's models and samplers.
Highlights
- Cross-Platform Inference: Supports macOS and CUDA-accelerated Linux.
- Server-Offload: Allows the Draw Things app to connect to a self-hosted gRPC server for remote generation.
- LoRA Training: Includes a CLI for local LoRA training on macOS.
- Flexible Deployment: Provides pre-built binaries and Docker images for quick setup of the gRPC server.
Related
- Project
- Project
- Project
- Dispatch
- Project