#187 · Primary category: Inference & Local Deploy
distrifuser
[CVPR 2024 Highlight] DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models
Project last updated:12/02/24
GitHub Stars
728
Forks
34
Contributors
1
License
MIT
Why we included this project
DistriFusion tackles a specific pain point: high-resolution diffusion models like SDXL are slow on a single GPU, and the usual fix, retraining, is a big lift. Instead it spreads the work across several GPUs by splitting the image into patches, one per device, and reusing activations from the previous denoising step to hide the communication cost. That yields near-linear speedups without a visible quality hit, and the gains grow as resolution climbs. The code mirrors the Hugging Face diffusers API, so you swap in a DistriSDXLPipeline, set a DistriConfig, and launch with torchrun rather than rewriting your generation pipeline. It was a CVPR 2024 highlight, and NVIDIA folding the approach into TensorRT-LLM, with ColossalAI also supporting it, suggests the technique holds up beyond this reference implementation. If you already run multi-GPU PyTorch, this is about the least disruptive way to speed up diffusion inference.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.