Article complete

Together AI Launches FlashAttention-3, Achieves 75% GPU Utilisation with NVIDIA H100

One of the standout features of FlashAttention-3 is its compatibility with FP8 precision, enabling operations at nearly 1.2 PFLOPS while maintaining competitive accuracy levels.

Illustration comparing A100 and H100 architectures, highlighting improvements in throughput and GPU utilization.

Key takeaways

  • Launch FlashAttention-3 enhances Transformer efficiency with up to 75% GPU utilization on NVIDIA H100.
  • Achieve nearly 1.2 PFLOPS performance using FP8 precision while maintaining competitive accuracy levels.
  • Utilize asynchrony and low-precision computing to expedite attention operations significantly.
  • Reduce memory footprint and operational costs for large-scale AI deployments with improved processing speeds.
  • Facilitate handling of longer inputs in large language models, crucial for advanced applications.

Takeaways drafted with AI from the article text.

In a bid to enhance the efficiency of Transformer architectures, Together AI has introduced FlashAttention-3, building upon its predecessors' success in accelerating attention mechanisms. 

Developed by a collaborative effort including Colfax Research, Meta, NVIDIA, and Princeton University's Together AI, FlashAttention-3 incorporates novel approaches to maximize GPU performance on the latest Hopper architecture.

https://twitter.com/togethercompute/status/1811470367363596436

The core innovation lies in leveraging asynchrony and low-precision computing to expedite attention operations. 

By overlapping computation and data movement through warp-specialisation and interleave techniques, FlashAttention-3 achieves up to 75% utilisation of the H100 GPU's theoretical FLOPS capability. This represents a significant enhancement over FlashAttention-2, which utilised only 35% of similar resources on previous-generation hardware.

https://twitter.com/_philschmid/status/1811478894865699183

One of the standout features of FlashAttention-3 is its compatibility with FP8 precision, enabling operations at nearly 1.2 PFLOPS while maintaining competitive accuracy levels. This advancement not only accelerates processing speed—up to 2 times faster than previous iterations—but also reduces memory footprint, potentially lowering operational costs for large-scale AI deployments.

Moreover, the implementation of FlashAttention-3 facilitates the handling of longer contextual inputs in large language models (LLMs), crucial for applications demanding extensive text comprehension and generation capabilities.

By minimizing memory reads and writes through optimized tiling and softmax rescaling, the algorithm achieves up to 4 times faster execution times compared to traditional methods.

The introduction of new hardware features like WGMMA and TMA on Hopper GPUs further amplifies FlashAttention-3's performance gains. These enhancements enable efficient data transfer and processing, ensuring that both matrix multiplication (GEMM) and softmax operations proceed concurrently, thus maximizing computational throughput.

Overall, FlashAttention-3 represents a significant leap forward in optimizing attention mechanisms for Transformer-based architectures. Its adoption promises not only enhanced computational efficiency and cost-effectiveness but also broader capabilities in handling complex AI tasks requiring extended contextual analysis. The release of 

FlashAttention-3 underscores ongoing efforts to push the boundaries of AI model training and inference, catering to the growing demands of modern computing applications.

For more detailed insights and technical specifications, the research paper and implementation are available on GitHub, offering a comprehensive overview of the methodology and benchmarks achieved by FlashAttention-3.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

About the author

Senior Technology Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.