AttenPU: An Area Efficient Attention Processor with Reconfigurable FP8 Precision and Dataflow
Efficient numerical representation is crucial for deep learning accelerators, especially for large language models (LLMs). The 8-bit-floating-point (FP8) data representation achieves higher precision and fewer quantization efforts than integer, which has been proven inevitable in attention-based accelerators for LLMs. Therefore, area-efficient design techniques for FP8 play a central role in lowering LLMs chip’s budget. This paper presents AttenPU, which is built upon reconfigurable FP8 units and supports E4M3 for inference and E5M2 for training. Bidirectional dataflow is exploited to enable AttenPU to interact with FP32 coprocessor to reduce latency. The design achieves a low FP8-to-INT8 area ratio of 1.63×, an area efficiency of 193.5 GFLOPS/mm2, with an 87.05% reduction in the latency of RTX3090 GPU.
Authors
- Pu Zhou
- Wenqi Fang (ORCID: https://orcid.org/0000-0003-3347-0511)
- Yongkui Yang (ORCID: https://orcid.org/0000-0003-1159-3115)
- Anupam Chattopadhyay (ORCID: https://orcid.org/0000-0002-8818-6983)
- Zhuoyu Wu (ORCID: https://orcid.org/0000-0002-9075-7626)
- Zheng Wang (ORCID: https://orcid.org/0000-0003-2855-9570)
- Chao Chen (ORCID: https://orcid.org/0000-0001-6488-224X)
- Yike Li (ORCID: https://orcid.org/0009-0006-1140-1194)
- Q. Zheng (ORCID: https://orcid.org/0009-0001-2889-5585)
- Zhi Du (ORCID: https://orcid.org/0009-0001-2371-9144)
Institutions
- Nanyang Technological University (SG)
- Shenzhen Institutes of Advanced Technology (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Published
- 2025-06-27
- DOI
- https://doi.org/10.1145/3716368.3735201
- Citations
- 1
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.27