• bitcoinBitcoin(BTC)$77,343.00-3.38%
  • ethereumEthereum(ETH)$2,222.37-4.03%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$701.78-5.45%
  • rippleXRP(XRP)$1.25-3.19%
  • usd-coinUSDC(USDC)$1.000.03%
  • solanaSolana(SOL)$96.34-3.72%
  • tronTRON(TRX)$0.3347131.10%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.07%
  • HyperliquidHyperliquid(HYPE)$91.5515.59%
  • zcashZcash(ZEC)$1,248.69-0.31%
  • dogecoinDogecoin(DOGE)$0.075330-3.36%
  • moneroMonero(XMR)$588.38-1.79%
  • USDSUSDS(USDS)$1.000.28%
  • whitebitWhiteBIT Coin(WBT)$74.08-3.59%
  • leo-tokenLEO Token(LEO)$9.41-0.36%
  • chainlinkChainlink(LINK)$10.99-4.12%
  • cardanoCardano(ADA)$0.192442-3.39%
  • stellarStellar(XLM)$0.164267-2.55%
  • nearNEAR Protocol(NEAR)$4.33-0.43%
  • bitcoin-cashBitcoin Cash(BCH)$280.300.42%
  • RainRain(RAIN)$0.006711-2.63%
  • daiDai(DAI)$1.000.06%
  • Ethena USDeEthena USDe(USDE)$1.00-0.06%
  • litecoinLitecoin(LTC)$55.17-3.61%
  • uniswapUniswap(UNI)$6.75-3.83%
  • USD1USD1(USD1)$1.00-0.06%
  • avalanche-2Avalanche(AVAX)$8.48-2.58%
  • CantonCanton(CC)$0.094135-2.65%
  • suiSui(SUI)$0.88-3.20%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.17-3.25%
  • tether-goldTether Gold(XAUT)$3,978.46-1.17%
  • hedera-hashgraphHedera(HBAR)$0.071236-3.44%
  • Global DollarGlobal Dollar(USDG)$1.000.05%
  • paypal-usdPayPal USD(PYUSD)$1.000.21%
  • quant-networkQuant(QNT)$196.121.95%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.82%
  • BittensorBittensor(TAO)$232.14-6.51%
  • crypto-com-chainCronos(CRO)$0.051212-3.61%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • EthenaEthena(ENA)$0.189931-3.82%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.05%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$111.170.31%
  • MemeCoreMemeCore(M)$1.01-4.75%
  • BitwayBitway(BTW)$1.50-17.53%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-0.67%
  • aaveAave(AAVE)$124.30-4.66%
  • OndoOndo(ONDO)$0.388056-4.93%
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

Meet vLLM: An Open-Source Machine Learning Library for Fast LLM Inference and Serving

September 17, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet vLLM: An Open-Source Machine Learning Library for Fast LLM Inference and Serving
ShareShareShareShareShare

Large language models (LLMs) have an ever-greater impact on how daily lives and careers are changing because they make possible new applications like programming assistants and universal chatbots. However, the operation of these applications comes at a substantial cost due to the significant hardware accelerator requirements, such as GPUs. Recent studies show that handling an LLM request can be expensive, up to ten times higher than a traditional keyword search. So, there is a growing need to boost the throughput of LLM serving systems to minimize the per-request expenses.

Performing high throughput serving of large language models (LLMs) requires batching sufficiently many requests at a time and the existing systems. 

However, existing systems need help because the key-value cache (KV cache) memory for each request is huge and can grow and shrink dynamically. It needs to be managed carefully, or when managed inefficiently, fragmentation and redundant duplication can greatly save this RAM, reducing the batch size.

The researchers have suggested PagedAttention, an attention algorithm inspired by the traditional virtual memory and paging techniques in operating systems, as a solution to this problem. To further reduce memory utilization, the researchers have also deployed vLLM. This LLM serving system provides almost zero waste in KV cache memory and flexible sharing of KV cache within and between requests.

vLLM utilizes PagedAttention to manage attention keys and values. By delivering up to 24 times more throughput than HuggingFace Transformers without requiring any changes to the model architecture, vLLM equipped with PagedAttention redefines the current state of the art in LLM serving.

Unlike conventional attention algorithms, they permit continuous key and value storage in non-contiguous memory space. PagedAttention divides each sequence’s KV cache into blocks, each with the keys and values for a predetermined amount of tokens. These blocks are efficiently identified by the PagedAttention kernel during the attention computation. As the blocks do not necessarily need to be contiguous, the keys and values can be managed flexibly.  

Memory leakage happens only in the ultimate block of a sequence within PagedAttention. In practical usage, this leads to effective memory utilization, with just a minimal 4% inefficiency. This enhancement in memory efficiency enables greater GPU utilization.

Also, PagedAttention has another key advantage of efficient memory sharing. PageAttention’s memory-sharing function considerably decreases the additional memory required for sampling techniques like parallel sampling and beam search. It can result in a speed gain of up to 2.2 times while reducing their memory utilization by up to 55%. This enhancement makes these sample techniques useful and effective for Large Language Model (LLM) services.

The researchers studied the accuracy of this system. They found that with the same amount of delay as cutting-edge systems like FasterTransformer and Orca, vLLM increases the throughput of well-known LLMs by 2-4. Larger models, more intricate decoding algorithms, and longer sequences result in a more noticeable improvement.


Check out the Paper, Github, and Reference Article. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 30k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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


YOU MAY ALSO LIKE

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI

General Motors Agrees To Pay $220 Million To Settle Multi-State Data Privacy Lawsuit

Rachit Ranjan is a consulting intern at MarktechPost . He is currently pursuing his B.Tech from Indian Institute of Technology(IIT) Patna . He is actively shaping his career in the field of Artificial Intelligence and Data Science and is passionate and dedicated for exploring these fields.


🚀 The end of project management by humans (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI
AI & Technology

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI

October 30, 2026
General Motors Agrees To Pay 0 Million To Settle Multi-State Data Privacy Lawsuit
AI & Technology

General Motors Agrees To Pay $220 Million To Settle Multi-State Data Privacy Lawsuit

October 30, 2026
Edge0 Releases Audio8-TTS-Realistic, a 0.6B Voice Cloning TTS Model
AI & Technology

Edge0 Releases Audio8-TTS-Realistic, a 0.6B Voice Cloning TTS Model

October 30, 2026
Microsoft Offers Buyouts to 60,000 Employees
AI & Technology

Microsoft Offers Buyouts to 60,000 Employees

October 30, 2026
Next Post
Why Greycroft Is Investing in Optimus Ride

Why Greycroft Is Investing in Optimus Ride

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Rays steal Game 4 from Brewers in extras to stay alive in World Series – ESPN

Rays steal Game 4 from Brewers in extras to stay alive in World Series – ESPN

October 28, 2026
SK Hynix after earnings Opportunity or trap? Apple near all-time highs: Opportunity or trap?

SK Hynix after earnings Opportunity or trap? Apple near all-time highs: Opportunity or trap?

October 28, 2026
Meta Makes Share Deal to Keep Zuckerberg in California

Meta Makes Share Deal to Keep Zuckerberg in California

October 25, 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!