<?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>Sglang on Chi's Blog</title><link>https://zhangchitc.com/tags/sglang/</link><description>Recent content in Sglang on Chi's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 05 Nov 2026 21:06:48 +0800</lastBuildDate><atom:link href="https://zhangchitc.com/tags/sglang/index.xml" rel="self" type="application/rss+xml"/><item><title>How Continuous Batching Enables High-Concurrency LLM Inference</title><link>https://zhangchitc.com/posts/continuous-batching/</link><pubDate>Fri, 09 Oct 2026 16:23:00 +0800</pubDate><guid>https://zhangchitc.com/posts/continuous-batching/</guid><description>Naive batching holds every slot until the longest request finishes. Continuous batching swaps requests in and out at every forward step, which means packing prefill and decode tokens into one flat input and splitting attention back out per request with a cu_seqlens boundary table.</description></item><item><title>RadixAttention: How SGLang Reuses the KV Cache Across Requests</title><link>https://zhangchitc.com/posts/radix-attention/</link><pubDate>Sat, 26 Sep 2026 20:12:00 +0800</pubDate><guid>https://zhangchitc.com/posts/radix-attention/</guid><description>SGLang keeps the KV cache in a radix tree: edges hold runs of tokens, nodes hold the GPU slot indices where their KV lives. We walk through the slot pool, TreeNode, inserting and splitting nodes, LRU eviction, and four requests that fill the pool and force an eviction.</description></item></channel></rss>