• bitcoinBitcoin(BTC)$80,403.00-0.69%
  • ethereumEthereum(ETH)$2,578.83-1.49%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$748.72-1.48%
  • rippleXRP(XRP)$1.38-2.29%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$108.98-2.91%
  • tronTRON(TRX)$0.3400090.54%
  • zcashZcash(ZEC)$1,453.11-4.67%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.02-1.50%
  • HyperliquidHyperliquid(HYPE)$90.87-1.63%
  • dogecoinDogecoin(DOGE)$0.085459-2.12%
  • moneroMonero(XMR)$525.78-7.09%
  • whitebitWhiteBIT Coin(WBT)$81.82-1.49%
  • USDSUSDS(USDS)$1.00-0.01%
  • RainRain(RAIN)$0.0135010.96%
  • chainlinkChainlink(LINK)$12.05-2.19%
  • cardanoCardano(ADA)$0.221147-1.98%
  • leo-tokenLEO Token(LEO)$8.89-0.05%
  • stellarStellar(XLM)$0.190600-1.59%
  • uniswapUniswap(UNI)$8.82-0.85%
  • bitcoin-cashBitcoin Cash(BCH)$247.310.16%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.01%
  • nearNEAR Protocol(NEAR)$3.49-5.05%
  • litecoinLitecoin(LTC)$57.00-1.94%
  • USD1USD1(USD1)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$9.6214.49%
  • CantonCanton(CC)$0.105562-5.39%
  • MemeCoreMemeCore(M)$1.6931.46%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.370.16%
  • hedera-hashgraphHedera(HBAR)$0.0805822.07%
  • suiSui(SUI)$0.830.32%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.57%
  • crypto-com-chainCronos(CRO)$0.058700-0.53%
  • BittensorBittensor(TAO)$252.62-0.34%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • tether-goldTether Gold(XAUT)$4,368.35-0.15%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • okbOKB(OKB)$115.70-0.56%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.22%
  • aaveAave(AAVE)$137.86-3.19%
  • AsterAster(ASTER)$0.74-3.89%
  • EthenaEthena(ENA)$0.19819413.73%
  • OndoOndo(ONDO)$0.4079081.34%
  • mantleMantle(MNT)$0.59-3.24%
  • pax-goldPAX Gold(PAXG)$4,360.14-0.19%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

FlashAttention-3 Released: Achieves Unprecedented Speed and Precision with Advanced Hardware Utilization and Low-Precision Computing

July 12, 2024
in AI & Technology
Reading Time: 4 mins read
A A
FlashAttention-3 Released: Achieves Unprecedented Speed and Precision with Advanced Hardware Utilization and Low-Precision Computing
ShareShareShareShareShare

FlashAttention-3, the latest release in the FlashAttention series, has been designed to address the inherent bottlenecks of the attention layer in Transformer architectures. These bottlenecks are crucial for the performance of large language models (LLMs) and applications requiring long-context processing.

The FlashAttention series, including its predecessors FlashAttention and FlashAttention-2, has revolutionized how attention mechanisms operate on GPUs by minimizing memory reads and writes. Most libraries have widely adopted this innovation to accelerate Transformer training and inference, significantly contributing to the dramatic increase in LLM context length in recent years. For instance, the context length has grown from 2-4K tokens in models like GPT-3 to 128K tokens in GPT-4 and even up to 1 million tokens in models such as Llama 3.

YOU MAY ALSO LIKE

How Long Can You Expect Your Old Cassette Tapes To Last?

How To Record Audio On Your iPhone

Despite these advancements, FlashAttention-2 could only achieve 35% utilization of the theoretical maximum FLOPs on the H100 GPU, highlighting a gap between potential and actual performance. FlashAttention-3 seeks to bridge this gap by leveraging new hardware capabilities in modern GPUs. Specifically, it introduces three main techniques to enhance attention speed on Hopper GPUs: exploiting the asynchrony of Tensor Cores and TMA to overlap computation and data movement, interleaving block-wise matrix multiplication and softmax operations, and utilizing incoherent processing to leverage hardware support for FP8 low-precision computations.

One of the standout features of FlashAttention-3 is its ability to exploit the asynchrony of Tensor Cores and TMA. This allows for overlapping the overall computation and data movement through warp specialization and interleaving operations. Warp specialization involves separate producer and consumer warps managing TMA and WGMMA operations. FlashAttention-3 employs inter-warpgroup and intra-warpgroup overlapping of GEMM (general matrix multiply) and softmax operations. This pingpong scheduling technique ensures that while one warpgroup performs GEMM operations, another can handle softmax calculations, thus optimizing the utilization of GPU resources.

FlashAttention-3 significantly uses low-precision FP8 computations, which double the Tensor Core throughput compared to FP16. This innovation increases computational speed and accuracy by reducing quantization error through incoherent processing. By applying the Hadamard transform with random signs to spread outliers, FlashAttention-3 effectively reduces quantization error, making it a robust solution for high-performance LLMs.

FlashAttention-3 is 1.5 to 2 times faster than FlashAttention-2 with FP16, reaching up to 740 TFLOPS, 75% of the theoretical maximum FLOPs on H100 GPUs. With FP8, FlashAttention-3 achieves close to 1.2 PFLOPS, a significant leap in performance with 2.6 times smaller error compared to baseline FP8 attention.

These advancements are underpinned by utilizing NVIDIA’s CUTLASS library, which provides powerful abstractions that allow FlashAttention-3 to harness Hopper GPUs’ capabilities. By rewriting FlashAttention to incorporate these new features, Dao AI Lab has unlocked substantial efficiency gains, enabling new model capabilities such as extended context lengths and improved inference speeds.

In conclusion, the release of FlashAttention-3 represents a paradigm shift in designing and implementing attention mechanisms in large language models. Dao AI Lab has demonstrated how targeted optimizations can lead to significant performance enhancements by closely aligning algorithmic innovations with hardware advancements. As the field continues to evolve, such breakthroughs will be crucial in pushing what is possible with large language models and their applications in various domains.


Check out the Blog, Paper, and GitHub. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. 

Join our Telegram Channel and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 46k+ ML SubReddit


Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.

🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

How Long Can You Expect Your Old Cassette Tapes To Last?
AI & Technology

How Long Can You Expect Your Old Cassette Tapes To Last?

September 20, 2026
How To Record Audio On Your iPhone
AI & Technology

How To Record Audio On Your iPhone

September 20, 2026
What Is The Difference Between Apple CarPlay And CarPlay Ultra?
AI & Technology

What Is The Difference Between Apple CarPlay And CarPlay Ultra?

September 19, 2026
OpenClaw Releases 2026.9.5 With Atomic Updates, Plugin Hot Reload, Conversation Sharing, and Expanded GPT Live
AI & Technology

OpenClaw Releases 2026.9.5 With Atomic Updates, Plugin Hot Reload, Conversation Sharing, and Expanded GPT Live

September 19, 2026
Next Post
House votes to hold AG Garland in contempt of Congress

House votes to hold AG Garland in contempt of Congress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Ondas: GATE Technologies Transforms The Profitability Timeline; Strong Buy (NASDAQ:ONDS)

Ondas: GATE Technologies Transforms The Profitability Timeline; Strong Buy (NASDAQ:ONDS)

September 16, 2026
Stay Tuned NOW Streaming Behind The Scenes! – Sept 08

Stay Tuned NOW Streaming Behind The Scenes! – Sept 08

September 15, 2026
Full speech: Trump closes out first Republican midterm convention

Full speech: Trump closes out first Republican midterm convention

September 13, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!