<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>TTFT on Pratik Patre</title>
    <link>https://pbpatre.github.io/tags/ttft/</link>
    <description>Recent content in TTFT on Pratik Patre</description>
    <image>
      <title>Pratik Patre</title>
      <url>https://pbpatre.github.io/images/og-image.jpg</url>
      <link>https://pbpatre.github.io/images/og-image.jpg</link>
    </image>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 20 Mar 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://pbpatre.github.io/tags/ttft/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Prefill vs Decode: The GPU Scheduling Trade-off in LLM Inference</title>
      <link>https://pbpatre.github.io/deep-ml-systems/prefill-vs-decode-gpu-scheduling/</link>
      <pubDate>Wed, 20 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://pbpatre.github.io/deep-ml-systems/prefill-vs-decode-gpu-scheduling/</guid>
      <description>A 50-token chat question should prefill in 2 ms. In bimodal production traffic, P99 TTFT spikes to 56 ms — a 216% penalty from a single long RAG request arriving one millisecond earlier. The GPU scheduler is forced to choose between responsiveness and throughput, and uniform benchmarks hide the collision entirely.</description>
    </item>
  </channel>
</rss>
