• bitcoinBitcoin(BTC)$80,563.000.55%
  • ethereumEthereum(ETH)$2,343.931.29%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$740.652.32%
  • rippleXRP(XRP)$1.301.83%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$101.390.95%
  • tronTRON(TRX)$0.329274-0.01%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.062.32%
  • zcashZcash(ZEC)$1,211.675.00%
  • HyperliquidHyperliquid(HYPE)$77.021.69%
  • dogecoinDogecoin(DOGE)$0.0770490.88%
  • moneroMonero(XMR)$601.22-0.95%
  • USDSUSDS(USDS)$1.00-0.02%
  • whitebitWhiteBIT Coin(WBT)$77.620.71%
  • chainlinkChainlink(LINK)$11.43-0.19%
  • leo-tokenLEO Token(LEO)$8.99-0.54%
  • cardanoCardano(ADA)$0.2052050.22%
  • RainRain(RAIN)$0.0084895.89%
  • nearNEAR Protocol(NEAR)$4.593.88%
  • stellarStellar(XLM)$0.1691980.03%
  • bitcoin-cashBitcoin Cash(BCH)$275.681.26%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • daiDai(DAI)$1.00-0.03%
  • litecoinLitecoin(LTC)$56.851.65%
  • uniswapUniswap(UNI)$6.883.44%
  • CantonCanton(CC)$0.1022472.49%
  • avalanche-2Avalanche(AVAX)$8.900.44%
  • USD1USD1(USD1)$1.00-0.02%
  • suiSui(SUI)$0.92-1.03%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.262.53%
  • hedera-hashgraphHedera(HBAR)$0.0774631.28%
  • tether-goldTether Gold(XAUT)$3,993.900.19%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • shiba-inuShiba Inu(SHIB)$0.0000050.52%
  • BittensorBittensor(TAO)$251.791.52%
  • crypto-com-chainCronos(CRO)$0.0545770.16%
  • quant-networkQuant(QNT)$187.245.42%
  • EthenaEthena(ENA)$0.2023457.99%
  • BitwayBitway(BTW)$1.66-5.51%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.01%
  • okbOKB(OKB)$107.710.17%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$136.640.72%
  • MemeCoreMemeCore(M)$0.92-4.03%
  • OndoOndo(ONDO)$0.4068510.78%
  • Pump.funPump.fun(PUMP)$0.0042912.65%
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

Perplexity Details Its GPU Embedding Stack: How Ivy, Tulip and ROSE Serve pplx-embed

September 6, 2026
in AI & Technology
Reading Time: 12 mins read
A A
Perplexity Details Its GPU Embedding Stack: How Ivy, Tulip and ROSE Serve pplx-embed
ShareShareShareShareShare

Retrieval quality in an AI search product is bounded by two things: how good the embedding model is, and how cheaply you can run it across an index. This week, Perplexity Engineering team published Fast Embeddings on GPUs, an under-the-hood account of the second — the serving infrastructure behind pplx-embed and the ranking models used across Perplexity Search, Computer and the API Platform.

Perplexity team states that embedding inference on the GPU side has largely converged across engines on mature Hopper and Blackwell hardware. The wins sit in the runtime and harness around the model: CUDA graph management, an async result-tracking abstraction, and a Rust request path.

YOU MAY ALSO LIKE

Ads Offer Netflix Flexibility: Phillips Securities’ Wang

What Features Do You Lose If You Use Apple AirPods With A Samsung Galaxy Phone?

Two traffic patterns, one engine

Perplexity frames embedding serving as two workloads. Batch embedding happens when building or re-indexing the vector database, where throughput minimizes cost. Online embedding happens at query time, where a short query must be embedded fast. Scoring sits in between: after vector search, large document batches are ranked, balancing both.

The key decision is that Perplexity did not build a separate embedding engine. Because embedding models are small Transformers, batch embedding resembles compute-bound prefill and online embedding, often a few tokens, resembles memory-bound decode. So the research team reuses the prefill and decode kernels from its LLM stack.

Ivy, Tulip and ROSE

Three services handle a request:

  • Ivy is a Rust HTTP gateway. It does the CPU-side work — JSON parsing, tokenization, input templating, batch splitting — and translates requests into a custom gRPC protocol. It also splits large-batch requests into chunks and load-balances them across replicas, which corrects the load imbalance that arises when production payloads vary in size.
  • Tulip is the inference server interface: a gRPC server built with Rust, tokio and tonic, handling scheduling and batching before dispatching to the engine.
  • ROSE (Runtime-Optimized Serving Engine) implements model inference. It is primarily Python, provides kernels, layers and model definitions, manages CUDA graphs, and exposes a step() function to Tulip.

Why the scheduler is deliberately simple

Tulip picks sequences first-come, first-served while requests accumulate. That simplicity is justified by a measurement: for small embedding models at the sequence lengths Perplexity serves, the linear cost of dense layers dominates the quadratic cost of attention. Latency is therefore roughly proportional to token count, not sequence count. Once a batch saturates the GPU, around 512 tokens on a sub-billion-parameter model, packing in more sequences does not improve efficiency.

CUDA graphs and LazyTensors

On small batches, CPU-side kernel launching can outweigh GPU execution. Perplexity builds whole-model CUDA graphs for all embedding models, capturing every launch into a single driver call. Because embedding models are small, the inflection point where GPU work exceeds launch cost arrives at batches of thousands of tokens and tens of sequences. Some attention implementations block full-model graphs by depending on dynamic host-side inputs; Perplexity upstreamed changes to FlashInfer to enable capture.

Graphs must be captured per configuration, so token counts are padded to buckets that are multiples of 64 or 256. That still yields thousands of graphs and multiple minutes of capture per model. The fix is lazy capture: each configuration gets an eager warmup run, then triggers capture and replay on its second hit. This costs p99 latency at startup but spreads minutes of eager work across hours.

The second piece is the LazyTensor, which tracks a page-locked host buffer plus a cudaMemcpyAsync and a CUDA event. Instead of step() blocking on the device, it returns a LazyTensor, letting a Rust async task wait on batch N while the CPU enqueues N+1.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Ads Offer Netflix Flexibility: Phillips Securities’ Wang
AI & Technology

Ads Offer Netflix Flexibility: Phillips Securities’ Wang

October 25, 2026
What Features Do You Lose If You Use Apple AirPods With A Samsung Galaxy Phone?
AI & Technology

What Features Do You Lose If You Use Apple AirPods With A Samsung Galaxy Phone?

October 25, 2026
Early SpaceX Investor Backs Tesla Tie-up
AI & Technology

Early SpaceX Investor Backs Tesla Tie-up

October 25, 2026
SpaceX has Blowout Quarter as Musk Floats Merger with Tesla
AI & Technology

SpaceX has Blowout Quarter as Musk Floats Merger with Tesla

October 25, 2026
Next Post
Lululemon billionaire founder Chip Wilson files for divorce after 20 years of marriage — with no prenup in place

Lululemon billionaire founder Chip Wilson files for divorce after 20 years of marriage — with no prenup in place

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Google Gemini 4 Agents Just Beat Minecraft With No Human Intervention

Google Gemini 4 Agents Just Beat Minecraft With No Human Intervention

October 19, 2026
Bears' Santos gets redemption with game-sealing FG after 'annoying' miss vs. Pats – ESPN

Bears' Santos gets redemption with game-sealing FG after 'annoying' miss vs. Pats – ESPN

October 23, 2026
Republican candidates need to “defy gravity” in Iowa

Republican candidates need to “defy gravity” in Iowa

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