paper-with-me

Papers

HQ-DiT: Efficient Diffusion Transformer with FP4 Hybrid Quantization

2024-05-30 · Wenxuan Liu, Sai Qian Zhang

Diffusion Transformers (DiTs) have recently gained substantial attention in both industrial and academic fields for their superior visual generation capabilities, outperforming traditional diffusion models that use U-Net. However,the enhanced performance of DiTs also comes with high parameter counts and implementation costs, seriously restricting their use on resource-limited devices such as mobile phones. To address these challenges, we introduce the Hybrid Floating-point Quantization for DiT(HQ-DiT), an efficient post-training quantization method that utilizes 4-bit floating-point (FP) precision on both weights and activations for DiT inference. Compared to fixed-point quantization (e.g., INT8), FP quantization, complemented by our proposed clipping range selection mechanism, naturally aligns with the data distribution within DiT, resulting in a minimal quantization error. Furthermore, HQ-DiT also implements a universal identity mathematical transform to mitigate the serious quantization error caused by the outliers. The experimental results demonstrate that DiT can achieve extremely low-precision quantization (i.e., 4 bits) with negligible impact on performance. Our approach marks the first instance where both weights and activations in DiTs are quantized to just 4 bits, with only a 0.12 increase in sFID on ImageNet.

📄 PDF Abstract BibTeX arXiv:2405.19751

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Concatenated Skip Connection A Concatenated Skip Connection is a type of skip connection that seeks to reuse features by concatenating them to new layers, allowing more information to be retained from…
Max Pooling Max Pooling is a pooling operation that calculates the maximum value for patches of a feature map, and uses it to create a downsampled (pooled) feature map. It is usually…
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
U-Net 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

M$^2$-ViT: Accelerating Hybrid Vision Transformers with Two-Level Mixed Quantization

2024-10-10 · Yanbiao Liang, Huihong Shi, Zhongfeng Wang

Although Vision Transformers (ViTs) have achieved significant success, their intensive computations and substantial memory overheads challenge their deployment on edge devices. To address this, efficient ViTs have emerge…

Efficient ViTsQuantization

Q-HyViT: Post-Training Quantization of Hybrid Vision Transformers with Bridge Block Reconstruction for IoT Systems

2023-03-22 · Jemin Lee, Yongin Kwon, Sihyeong Park, Misun Yu 외

Recently, vision transformers (ViTs) have superseded convolutional neural networks in numerous applications, including classification, detection, and segmentation. However, the high computational requirements of ViTs hin…

Quantization

ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation

2024-06-04 · Tianchen Zhao, Tongcheng Fang, Enshu Liu, Rui Wan 외

Diffusion transformers (DiTs) have exhibited remarkable performance in visual generation tasks, such as generating realistic images or videos based on textual instructions. However, larger model sizes and multi-frame pro…

QuantizationVideo Generation

Hardware-Friendly Static Quantization Method for Video Diffusion Transformers

2025-02-20 · Sanghyun Yi, Qingfeng Liu, Mostafa El-Khamy

Diffusion Transformers for video generation have gained significant research interest since the impressive performance of SORA. Efficient deployment of such generative-AI models on GPUs has been demonstrated with dynamic…

QuantizationVideo GenerationVisual Question Answering (VQA)

ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers

2025-12-03 · Feice Huang, Zuliang Han, Xing Zhou, Yihuang Chen 외 arxiv

Diffusion transformers have demonstrated strong capabilities in generating high-quality images. However, as model size increases, the growing memory footprint and inference latency pose significant challenges for practic…