Back to System Design Mind Map
中文·English
🏗️ System DesignID: diffusion-model-pipeline-slicing

Diffusion Pipeline Slicing & Placement

扩散模型切片与多 GPU 拓扑放置
🎯Core Definition
Diffusion Model Pipeline Slicing & Multi-GPU Topology Placement distributes large-scale generative models (SDXL, Flux.1, SD3, DiT video generators) across heterogeneous GPU clusters by decomposing distinct functional sub-networks onto tailored hardware: 1) Text Encoders (CLIP ViT-L + T5-XXL, high VRAM 10GB\sim 10\text{GB} but low compute, single forward pass); 2) Denoising Backbone (UNet / MM-DiT, 3B-12B parameters, executing 20-50 iterative denoising steps consuming >90%>90\% compute); 3) VAE Image/Video Decoder (single pass post-processing, high resolution VRAM spikes); placing shared Text Encoders on host CPU/cost-effective GPUs while sharding the heavy DiT backbone via Tensor/Pipeline Parallelism and utilizing Tiled VAE decoders maximizes multi-GPU utilization.
💡Use Cases
Production SDXL / Flux.1 image generation farms, 4K high-resolution rendering pipelines, and Sora-scale DiT video services.
Key Problems Solved
Loading multi-component models (T5-XXL + 12B DiT + VAE) onto a single GPU causes catastrophic OOM crashes; pipeline slicing decouples single-pass encoders from iterative denoising loops, eliminating compute idle time.
🎯5 High-Frequency Exam Points
1
Diagram the multi-GPU placement topology and inter-GPU communication across Text Encoder, DiT Denoising Loop, and VAE Decoder?
2
Analyze Sequential CPU Offloading mechanisms (swapping sub-models between host RAM and VRAM) and its latency trade-offs?
3
Explain how Tiled VAE decoding partitions large latent spaces into overlapping patches with boundary blending to prevent VRAM spikes?
4
How to apply Tensor Parallelism (TP=2/4) and Sequence Parallelism to scale large DiT backbones across NVLink-interconnected GPUs?
5
Design a dynamic multi-tenant LoRA serving architecture hot-swapping customized adapter weights onto a shared base DiT model in VRAM?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "Diffusion Pipeline Slicing & Placement"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardAsync Task Queue & Decoupled StateNext CardDiffusion Step Distillation & Acceleration

🔗 More System Design Knowledge Cards

RecSys Multi-Stage Funnel & 50ms SLADSSM Two-Tower RetrievalYouTube DNN Candidate GenerationPre-Ranking Lightweight Architecture