• bitcoinBitcoin(BTC)$65,424.00-5.13%
  • ethereumEthereum(ETH)$1,826.59-6.22%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$587.68-7.77%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$0.95-7.40%
  • solanaSolana(SOL)$71.94-10.17%
  • tronTRON(TRX)$0.308074-1.73%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.054.33%
  • HyperliquidHyperliquid(HYPE)$64.87-10.87%
  • zcashZcash(ZEC)$849.24-11.14%
  • moneroMonero(XMR)$500.31-5.30%
  • dogecoinDogecoin(DOGE)$0.059594-9.10%
  • USDSUSDS(USDS)$1.00-0.04%
  • leo-tokenLEO Token(LEO)$9.24-0.48%
  • whitebitWhiteBIT Coin(WBT)$63.64-4.86%
  • chainlinkChainlink(LINK)$9.05-9.76%
  • cardanoCardano(ADA)$0.154030-10.34%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • stellarStellar(XLM)$0.136161-8.80%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$207.19-8.56%
  • nearNEAR Protocol(NEAR)$3.07-13.05%
  • Quantix FinanceQuantix Finance(QFI)$999.150.00%
  • litecoinLitecoin(LTC)$45.19-9.40%
  • avalanche-2Avalanche(AVAX)$7.41-12.00%
  • CantonCanton(CC)$0.080079-8.66%
  • tether-goldTether Gold(XAUT)$3,827.86-1.10%
  • USD1USD1(USD1)$1.00-0.02%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.06-5.38%
  • suiSui(SUI)$0.72-10.67%
  • uniswapUniswap(UNI)$4.88-16.73%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.04%
  • RainRain(RAIN)$0.003672-1.32%
  • hedera-hashgraphHedera(HBAR)$0.057694-8.61%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.04%
  • shiba-inuShiba Inu(SHIB)$0.000004-8.83%
  • BittensorBittensor(TAO)$192.65-11.62%
  • crypto-com-chainCronos(CRO)$0.043834-6.88%
  • quant-networkQuant(QNT)$149.51-8.61%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.04%
  • MemeCoreMemeCore(M)$0.821.13%
  • okbOKB(OKB)$85.64-10.30%
  • Falcon USDFalcon USD(USDF)$0.99-0.10%
  • pax-goldPAX Gold(PAXG)$3,825.80-1.22%
  • pepePepe(PEPE)$0.000004-12.08%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
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

Fireworks AI Introduces FireAttention: A Custom CUDA Kernel Optimized for Multi-Query Attention Models

January 21, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Fireworks AI Introduces FireAttention: A Custom CUDA Kernel Optimized for Multi-Query Attention Models
ShareShareShareShareShare

Mixture-of-Experts (MoE) is an architecture based on the “divide and conquer” principle to solve complex tasks. Multiple individual machine learning (ML) models (called experts) work individually based on their specializations to provide the most optimal results. To better understand their use cases, Mistral AI recently released Mixtral, an open-source high-quality MoE model that outperformed or matched GPT-3.5 on most standard benchmarks and was first hosted on Fireworks AI’s platform.

Although the platform demonstrated an impressive inference speed of up to 175 tokens/sec, the researchers at Fireworks AI have tried to improve the efficiency of serving MoE models without significantly impacting the quality. They have introduced a large language model (LLM) serving stack having FP16 and FP8-based FireAttention, which delivers four times better speed-up than other open-source software. FireAttention is a custom CUDA kernel that has been optimized for Multi-Query Attention Models like Mixtral and for FP16 and FP8 support in hardware. 

Quantization methods like SmoothQuant and AWQ fell short of improving the model performance, especially during generation. The main reason for that is LLM activations have non-uniform distribution, which is challenging for integer methods. On the contrary, FP8 leverages hardware support, which makes it flexible to deal with such distributions.

For evaluation, the researchers have considered a very general setup of prompt length 1K and the number of generated tokens as 50, which covers long prompt and short generation use cases. Their quality and performance study is based on the Mixtral model. They focused on language understanding and used the MMLU metric for measuring the model quality. The MMLU metric consists of enough test data examples, and the Mixtral model also performs quite well on it, allowing for easy detection of any quantization error. For assessing the latency and throughput, they used the following two metrics: token generation latency for a given number of requests/second (RPS) and total request latency for a given RPS.

The results show that the Fireworks FP16 Mixtral model implementation is superior to that of vLLM (a high-throughput and memory-efficient inference and serving engine for LLMs). Moreover, the FP8 implementation is significantly better than the already efficient FP16 one. Additionally, it reduces the model size by two times and, therefore, allows for a more efficient deployment. When it is combined with the memory bandwidth and FLOPs speed-ups, it leads to a considerable improvement (2x) of the effective requests/second. Lastly, as there is no one-size-fits-all approach regarding the performance of LLMs, different vLLM and Fireworks LLM service configurations show their strengths in different setups.

In conclusion, FireAttention FP16 and FP8 implementations provide a remarkable tradeoff for LLM in terms of accuracy and performance tradeoff. More specifically, FP8 shrinks the model size twice and improves the number of effective requests/second by the same amount, highlighting its superiority over previous quantization methods. This research paper marks a significant step in developing even more efficient serving for MoE models like Mixtral with negligible impact on quality.


YOU MAY ALSO LIKE

Samsung May Be Getting Rid Of Another One UI Feature

Cmpnd Releases dspy-wsp: Weight-Space Programming Comes to DSPy

Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.


🐝 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

Samsung May Be Getting Rid Of Another One UI Feature
AI & Technology

Samsung May Be Getting Rid Of Another One UI Feature

November 14, 2026
Cmpnd Releases dspy-wsp: Weight-Space Programming Comes to DSPy
AI & Technology

Cmpnd Releases dspy-wsp: Weight-Space Programming Comes to DSPy

November 14, 2026
Smart Glasses Could Replace Your Monitor But They Shouldn’t — Here’s Why
AI & Technology

Smart Glasses Could Replace Your Monitor But They Shouldn’t — Here’s Why

November 14, 2026
What Is the NIST AI Risk Management Framework? A Guide for AI Teams – Unite.AI
AI & Technology

What Is the NIST AI Risk Management Framework? A Guide for AI Teams – Unite.AI

November 14, 2026
Next Post
Live UFC 297 results, streaming ‘Prelims’ updates | Strickland vs. Du Plessis

Live UFC 297 results, streaming ‘Prelims’ updates | Strickland vs. Du Plessis

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Elizabeth Warren hates Wall Street — expect her to bring out the knives once she’s back in power

Elizabeth Warren hates Wall Street — expect her to bring out the knives once she’s back in power

November 8, 2026
Trump to possibly replace Hegseth, sources say

Trump to possibly replace Hegseth, sources say

November 9, 2026
Russia and Ukraine agree to prisoner swap, but little else, in U.S.-mediated talks – The Washington Post

Russia and Ukraine agree to prisoner swap, but little else, in U.S.-mediated talks – The Washington Post

November 11, 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!