Appendix F. Source and Reproducibility Ledger
This edition distinguishes principles, implementation observations, and measurements. A repository path proves that code exists at a snapshot; it does not prove production readiness or performance on every platform.
Edition snapshot
| Source | Revision or date | Role |
|---|---|---|
| vLLM | 5cecfc01375052698823fc401e31518fb32a981e | implementation study |
| SGLang | e161bd1265a0082478b7f1c09f224a52d315dc71 | implementation study |
| Manuscript | August 23, 2026 | claim cutoff |
| Inference Engineering, Philip Kiely | supplied 259-page PDF, modified January 29, 2026 | editorial comparison only |
The supplied book informed the coverage audit and standards for approachability. Its prose, diagrams, examples, analogies, and chapter sequence were not reused.
Primary systems papers
- Ashish Vaswani et al., Attention Is All You Need, 2017.
- Woosuk Kwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention, 2023.
- Lianmin Zheng et al., SGLang: Efficient Execution of Structured Language Model Programs, 2023.
- Gyeong-In Yu et al., Orca: A Distributed Serving System for Transformer-Based Generative Models, OSDI 2022.
- Amey Agrawal et al., Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve, 2024.
- Yinmin Zhong et al., DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving, 2024.
- Pratyush Patel et al., Splitwise: Efficient Generative LLM Inference Using Phase Splitting, 2023.
- Ruoyu Qin et al., Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving, 2024.
- Lijie Liu et al., Preble: Efficient Distributed Prompt Scheduling for LLM Serving, 2024.
Kernels, execution, and decoding
- Tri Dao et al., FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness, 2022.
- NVIDIA, CUDA Programming Guide: CUDA Graphs.
- PyTorch,
torch.compilereference. - Yaniv Leviathan, Matan Kalman, and Yossi Matias, Fast Inference from Transformers via Speculative Decoding, 2022.
- Guangxuan Xiao et al., SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models, 2022.
Adapter serving
- Ying Sheng et al., S-LoRA: Serving Thousands of Concurrent LoRA Adapters, 2023.
- Chen Liang et al., Punica: Multi-Tenant LoRA Serving, 2023.
- Edward J. Hu et al., LoRA: Low-Rank Adaptation of Large Language Models, 2021.
Parallel and MoE systems
- Mohammad Shoeybi et al., Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism, 2019.
- Deepak Narayanan et al., Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM, 2021.
- DeepSeek, DeepEP, official expert-parallel communication implementation.
Media and post-training
- Xinyin Ma, Gongfan Fang, and Xinchao Wang, DeepCache: Accelerating Diffusion Models for Free, 2023.
- Feng Liu et al., Timestep Embedding Tells: It’s Time to Cache for Video Diffusion Model, 2024.
- Wei Fu et al., AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning, 2025.
- Shuo-yiin Chang et al., Joint Endpointing and Decoding with End-to-End Models, 2019.
- Loïc Barrault et al., Seamless: Multilingual Expressive and Streaming Speech Translation, 2023.
Standards and operating references
- NVIDIA, DCGM: Topology and NVLink, for distinguishing topology inventory, link state, and measured traffic.
- MLCommons, MLPerf Inference documentation, for scenario, accuracy, and run-rule discipline.
- OpenTelemetry, Semantic conventions, for consistent trace, metric, log, and resource naming.
- NIST, AI Risk Management Framework and Generative AI Profile.
- OWASP, Top 10 for LLM Applications.
Official implementation documentation
- vLLM documentation, including architecture, cache, parallelism, disaggregation, compilation, multimodal, and training integration guides.
- vLLM architecture overview.
- vLLM batch invariance and pooling models.
- SGLang documentation, including attention backends, distributed serving, observability, post-training, and diffusion.
- SGLang deterministic inference, reasoning parsers, embeddings, and prefill/decode disaggregation.
- SGLang Diffusion.
Documentation can describe a release different from the pinned source snapshot. When the two conflict, the manuscript either describes the pinned code or marks the behavior as release-dependent.
Publication tooling
Block diagrams use a purpose-built SVG renderer, with
Dagre 3.1.1 providing
directed-graph coordinates. Dagre and its license are vendored into the book
(assets/vendor/), so diagrams render offline and are not affected by CDN
changes. The book controls block dimensions, label wrapping, connectors,
decision shapes, and responsive reflow; the diagram definitions remain
readable as text if the client-side renderer cannot load.
Body, interface, and code typefaces (Literata, Inter, JetBrains Mono) are also
vendored as subsets. Diagram definitions remain readable as text if the
client-side renderer cannot load.
Implementation map by chapter
| Chapters | vLLM paths | SGLang paths |
|---|---|---|
| 1, 5 | vllm/v1/engine, vllm/v1/executor, vllm/v1/worker | srt/managers, srt/model_executor |
| 6 | vllm/v1/core/sched/scheduler.py | srt/managers/scheduler.py, overlap_utils.py |
| 7, 16 | vllm/v1/core/kv_cache_manager.py, distributed/kv_transfer | srt/mem_cache/radix_cache.py, hiradix_cache.py |
| 8 | vllm/v1/attention/backends, quantized and MoE kernels | srt/layers/attention, kernels |
| 9 | vllm/compilation, vllm/v1/cudagraph_dispatcher.py | srt/model_executor/runner_backend, srt/compilation |
| 10 | model_executor/layers/quantization | srt/layers/quantization |
| 11 | vllm/v1/spec_decode | srt/speculative |
| 12 | vllm/lora, vllm/v1/core/sched (adapter-aware paths) | srt/lora, adapter manager paths |
| 13, 14 | distributed/parallel_state.py, distributed/eplb | srt/distributed, srt/eplb |
| 15 | distributed/kv_transfer/kv_connector | srt/disaggregation |
| 17 | request router and KV-event paths | router, scheduler, and cache-affinity paths |
| 18 | scheduler encoder cache, distributed/ec_transfer | multimodal managers and encode disaggregation |
| 19 | diffusion model and runner paths | multimodal_gen/runtime |
| 20 | sleep and weight-transfer paths | scheduler and model-runner weight updaters |
| 21 | reasoning parser and request-state paths | reasoning parsers and session managers |
| 22 | entrypoints, parser, structured_output | srt/entrypoints, srt/constrained |
| 23, 24, Appendix I | benchmark and metrics packages, /metrics endpoint | benchmark, metrics, tracing, simulator, and /get_server_info |
Reproducibility status
This manuscript explains how to design experiments but does not claim new performance results. Numeric results cited from papers remain the authors’ results under their published setups. Future editions should attach original benchmark cards, traces, commands, and raw data here, with each claim marked:
- proposed — experiment designed but not run;
- reproduced — run with public artifacts;
- reviewed — independently checked;
- superseded — retained for history but replaced by newer evidence.