paper-with-me

Papers

xDiT: an Inference Engine for Diffusion Transformers (DiTs) with Massive Parallelism

2024-11-04 · Jiarui Fang, Jinzhe Pan, Xibo Sun, Aoyu Li, Jiannan Wang

Diffusion models are pivotal for generating high-quality images and videos. Inspired by the success of OpenAI's Sora, the backbone of diffusion models is evolving from U-Net to Transformer, known as Diffusion Transformers (DiTs). However, generating high-quality content necessitates longer sequence lengths, exponentially increasing the computation required for the attention mechanism, and escalating DiTs inference latency. Parallel inference is essential for real-time DiTs deployments, but relying on a single parallel method is impractical due to poor scalability at large scales. This paper introduces xDiT, a comprehensive parallel inference engine for DiTs. After thoroughly investigating existing DiTs parallel approaches, xDiT chooses Sequence Parallel (SP) and PipeFusion, a novel Patch-level Pipeline Parallel method, as intra-image parallel strategies, alongside CFG parallel for inter-image parallelism. xDiT can flexibly combine these parallel approaches in a hybrid manner, offering a robust and scalable solution. Experimental results on two 8xL40 GPUs (PCIe) nodes interconnected by Ethernet and an 8xA100 (NVLink) node showcase xDiT's exceptional scalability across five state-of-the-art DiTs. Notably, we are the first to demonstrate DiTs scalability on Ethernet-connected GPU clusters. xDiT is available at https://github.com/xdit-project/xDiT.

📄 PDF Abstract BibTeX arXiv:2411.01738

Code (1)

xdit-project/xdit 공식 구현 pytorch

Tasks

GPU

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

PipeFusion: Patch-level Pipeline Parallelism for Diffusion Transformers Inference

2024-05-23 · Jiarui Fang, Jinzhe Pan, Jiannan Wang, Aoyu Li 외

This paper presents PipeFusion, an innovative parallel methodology to tackle the high latency issues associated with generating high-resolution images using diffusion transformers (DiTs) models. PipeFusion partitions ima…

FlexDiT: Dynamic Token Density Control for Diffusion Transformer

2024-12-08 · Shuning Chang, Pichao Wang, Jiasheng Tang, Yi Yang

Diffusion Transformers (DiT) deliver impressive generative performance but face prohibitive computational demands due to both the quadratic complexity of token-based self-attention and the need for extensive sampling ste…

Computational EfficiencyDenoisingImage GenerationText to Image Generation+2

Unveiling Redundancy in Diffusion Transformers (DiTs): A Systematic Study

2024-11-18 · Xibo Sun, Jiarui Fang, Aoyu Li, Jinzhe Pan

The increased model capacity of Diffusion Transformers (DiTs) and the demand for generating higher resolutions of images and videos have led to a significant rise in inference latency, impacting real-time performance adv…

Scheduling

Inferix: A Block-Diffusion based Next-Generation Inference Engine for World Simulation

2025-11-25 · Inferix Team, Tianyu Feng, Yizeng Han, Jiahao He 외 arxiv

World models serve as core simulators for fields such as agentic AI, embodied AI, and gaming, capable of generating long, physically realistic, and interactive high-quality videos. Moreover, scaling these models could un…

Video Generation

MixDiT: Accelerating Image Diffusion Transformer Inference with Mixed-Precision MX Quantization

2025-04-11 · Daeun Kim, Jinwoo Hwang, Changhun Oh, Jongse Park

Diffusion Transformer (DiT) has driven significant progress in image generation tasks. However, DiT inferencing is notoriously compute-intensive and incurs long latency even on datacenter-scale GPUs, primarily due to its…

Image GenerationQuantization