• bitcoinBitcoin(BTC)$79,789.000.11%
  • ethereumEthereum(ETH)$2,506.992.13%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$760.554.58%
  • rippleXRP(XRP)$1.421.12%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$105.422.97%
  • tronTRON(TRX)$0.3337820.19%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.061.59%
  • zcashZcash(ZEC)$1,178.4916.29%
  • HyperliquidHyperliquid(HYPE)$86.432.52%
  • dogecoinDogecoin(DOGE)$0.0912566.45%
  • RainRain(RAIN)$0.0171434.36%
  • moneroMonero(XMR)$550.943.42%
  • USDSUSDS(USDS)$1.00-0.02%
  • chainlinkChainlink(LINK)$12.274.63%
  • whitebitWhiteBIT Coin(WBT)$73.590.52%
  • leo-tokenLEO Token(LEO)$9.331.01%
  • cardanoCardano(ADA)$0.2203203.26%
  • stellarStellar(XLM)$0.1861231.54%
  • bitcoin-cashBitcoin Cash(BCH)$261.093.73%
  • daiDai(DAI)$1.000.00%
  • uniswapUniswap(UNI)$7.0612.58%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • CantonCanton(CC)$0.1099971.47%
  • USD1USD1(USD1)$1.000.00%
  • litecoinLitecoin(LTC)$54.210.99%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.420.06%
  • hedera-hashgraphHedera(HBAR)$0.0810931.26%
  • avalanche-2Avalanche(AVAX)$7.672.79%
  • suiSui(SUI)$0.801.77%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • shiba-inuShiba Inu(SHIB)$0.0000051.29%
  • nearNEAR Protocol(NEAR)$2.27-0.33%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0568261.25%
  • tether-goldTether Gold(XAUT)$4,424.60-0.05%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.13-0.07%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$114.304.19%
  • BittensorBittensor(TAO)$236.140.51%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.29%
  • AsterAster(ASTER)$0.797.55%
  • aaveAave(AAVE)$135.714.20%
  • mantleMantle(MNT)$0.593.34%
  • pax-goldPAX Gold(PAXG)$4,430.87-0.07%
  • OndoOndo(ONDO)$0.3747090.61%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056812-0.06%
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

Is It Safe To Leave Your Phone’s Bluetooth Running All The Time?

Apple iTunes Still Exists, But Not The Way It Used To

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

Is It Safe To Leave Your Phone’s Bluetooth Running All The Time?
AI & Technology

Is It Safe To Leave Your Phone’s Bluetooth Running All The Time?

September 5, 2026
Apple iTunes Still Exists, But Not The Way It Used To
AI & Technology

Apple iTunes Still Exists, But Not The Way It Used To

September 5, 2026
Is The Steam Deck Still Worth It In 2026?
AI & Technology

Is The Steam Deck Still Worth It In 2026?

September 5, 2026
How To Find Your MacBook’s Diagnostic Menu
AI & Technology

How To Find Your MacBook’s Diagnostic Menu

September 5, 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
WWE’s Bella Twins prepare for SummerSlam match with Minnesota quiz

WWE’s Bella Twins prepare for SummerSlam match with Minnesota quiz

August 31, 2026
Tesla’s Cybercab Is Under Federal Investigation Almost Immediately After Hitting The Streets

Tesla’s Cybercab Is Under Federal Investigation Almost Immediately After Hitting The Streets

September 4, 2026
Tracking Jeremy Grantham's GMO Capital Portfolio – Q2 2026 Update

Tracking Jeremy Grantham's GMO Capital Portfolio – Q2 2026 Update

September 2, 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!