TensorX
返回文献探索

Paper · arXiv 2412.18653

1.58-bit FLUX

Chenglin Yang, Celong Liu, Xueqing Deng, Dongwon Kim, Xing Mei, Xiaohui Shen, Liang-Chieh Chen

88 upvotesDecember 24, 2024arXiv 预印本
AI 摘要

1.58-bit quantization of the FLUX.1-dev text-to-image model achieves comparable generation quality with reduced storage and inference overhead using self-supervised methods.

quantizingself-supervisioncustom kernelGenEvalT2I Compbench

Abstract

We present 1.58-bit FLUX, the first successful approach to quantizing the state-of-the-art text-to-image generation model, FLUX.1-dev, using 1.58-bit weights (i.e., values in {-1, 0, +1}) while maintaining comparable performance for generating 1024 x 1024 images. Notably, our quantization method operates without access to image data, relying solely on self-supervision from the FLUX.1-dev model. Additionally, we develop a custom kernel optimized for 1.58-bit operations, achieving a 7.7x reduction in model storage, a 5.1x reduction in inference memory, and improved inference latency. Extensive evaluations on the GenEval and T2I Compbench benchmarks demonstrate the effectiveness of 1.58-bit FLUX in maintaining generation quality while significantly enhancing computational efficiency.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号