Skip to main navigation Skip to search Skip to main content

Work-in-Progress: I-FlashAttention: Fully Integer Fused Attention for Efficient Vision Transformers

  • Sehyeon Oh
  • , Yongin Kwon
  • , Jemin Lee*
  • *Corresponding author for this work
  • University of Science and Technology UST
  • Electronics and Telecommunications Research Institute

Research output: Contribution to conference › Conference paper › peer-review

Abstract

Transformer self-attention offers strong expressiveness, but its compute and memory cost grows rapidly with longer sequences. This results in frequent off-chip memory access, which becomes a major performance bottleneck. FlashAttention reduces this by dividing the sequence into tiles, computed entirely in on-chip memory. This avoids storing intermediate tensors off-chip and alleviates memory bandwidth issues. However, tile-wise online softmax requires floating-point operations for numerical stability using max-based scaling and accumulation. We propose I-FlashAttention, an integer-only version of FlashAttention. It uses shift-based exponential approximation and integer max-tracking to perform online softmax without floating point. All steps, from INT8 GEMM to output, are fused into a single Triton kernel. I-FlashAttention is 1.08× faster than FP16 FlashAttention and 7.10× faster than I-ViT.

Original languageEnglish
Title of host publicationProceedings - 2025 International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, CASES 2025
PublisherAssociation for Computing Machinery, Inc
Pages25-26
Number of pages2
ISBN (Electronic)9798400719912
DOIs
StatePublished - 2025.11.9
Externally publishedYes
Event2025 IEEE/ACM International Conference on Compilers, Architectures and Synthesis for Embedded Systems, CASES 2025 - Taipei, Taiwan, Province of China
Duration: 2025.09.28 → 2025.10.3

Publication series

NameProceedings - 2025 International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, CASES 2025

Conference

Conference2025 IEEE/ACM International Conference on Compilers, Architectures and Synthesis for Embedded Systems, CASES 2025
Country/TerritoryTaiwan, Province of China
CityTaipei
Period25.09.28 → 25.10.3

Keywords

  • attention
  • GPU kernels
  • quantization

Fingerprint

Dive into the research topics of 'Work-in-Progress: I-FlashAttention: Fully Integer Fused Attention for Efficient Vision Transformers'. Together they form a unique fingerprint.

Cite this