Книга Deep Dive into SGLang, Volume I Yin Yang

Deep Dive into SGLang, Volume I

Runtime, Scheduling, Memory, and Decoding

Автор: Yin Yang
Език: Английски език
Корици: С меки корици
Издател: Independently published
Наличност: Външен склад
Изпращаме след 14-21 дни
27.49 53.76 лв
Deep Dive into SGLang, Volume I explains SGLang's runtime request path as a set of algorithms, data...

Информация за книгата

Автор
Език
Английски език
Корици
Книга - С меки корици
Издадена
2026
страници
544
EAN
9798182198233
Enbook ID
52994207
Издател
Теглоt
1247
Размери
216 x 280 x 28

Пълно описание

Deep Dive into SGLang, Volume I explains SGLang's runtime request path as a set of algorithms, data structures, and systems tradeoffs.

This volume focuses on the core inference-serving loop: tokenization, admission, prefill and decode scheduling, prefix lookup, KV-cache allocation, forward execution, sampling, streaming, and cleanup. Instead of treating SGLang as a catalog of commands, it builds a working model of the runtime state that makes modern LLM serving possible.

Volume I covers:

  • The inference serving problem and request lifecycle
  • Transformer inference cost models
  • SGLang's runtime as a distributed state machine
  • Continuous batching and chunked prefill
  • KV-cache memory management
  • RadixAttention and prefix reuse
  • Hierarchical caching
  • Attention backends and forward batches
  • Model architecture registration
  • Sampling and logits processing
  • Structured outputs, reasoning parsers, and tool-call parsing
  • Speculative decoding
  • Diffusion language models and blockwise decoding

Each chapter explains the systems problem before implementation details, then ties technical claims back to SGLang source files, tests, or benchmark artifacts. The book is written for readers who already know basic transformer and GPU-systems vocabulary and want a deeper, source-grounded understanding of how a production LLM serving runtime is organized.

This is Volume I of Deep Dive into SGLang. Volume II continues into quantization, distributed serving, kernels, hardware backends, benchmarking, correctness, multimodal serving, diffusion inference, and technical extension.

Independent explanatory guide. Not affiliated with or endorsed by the SGLang project.