5. SystemTraining, Inference, and AI Infrastructure
The original training/serving/RL scope is retained. Corpus-derived runtime boundaries and survey-derived fleet, communication, and power constraints are added as explicit cross-layer topics.
5.1AI Runtime and Operating System Fundamentals65.2The Execution Chain of Device Runtime, Driver, and Firmware85.3System Metrics, Queueing, and Capacity Planning75.4Model Workloads and Resource Profiles65.5Distributed Runtime and Collective Communication85.6Data Parallelism and Parameter Sharding65.7Tensor Parallelism65.8Pipeline Parallelism65.9Sequence and Context Parallelism65.10Expert Parallelism65.11Hybrid Parallelism and Automatic Planning75.12Training Memory Management65.13Training Data and Checkpoint Pipelines65.14Training Runtime and Numerical Stability65.15Elasticity and Fault Tolerance in Large-Scale Training65.16Distributed Training Frameworks and Accelerator Backends75.17The Full Lifecycle of an Inference Request65.18Batching and Online Scheduling75.19KV Cache Allocation, Addressing, and Lifecycle65.20Prefix Cache and Multi-Tier Caching75.21Disaggregated Serving75.22Routing and Distributed Serving Scheduling65.23System Design for MoE Serving65.24Deploying and Tuning Quantized Models65.25System Support for Sparse Models and Long Context65.26System Implementation of Speculative Decoding75.27Multi-Model, Multi-Tenant, and Adapter Serving65.28Serving Frameworks, Component Ecosystem, and Device Backends95.29RL Post-Training Infrastructure75.30Training–Inference Consistency and RL Correctness75.31RL Frameworks and Source-Code Studies75.32Multimodal and Real-Time Speech Serving65.33Diffusion and Non-Autoregressive Model Systems65.34RAG, Agents, and Compound AI Systems75.35Cluster Orchestration and Production Deployment65.36Scheduling Heterogeneous Fleets and Specialized Resource Pools75.37Power/Thermal-Aware System Operation75.38Security, Privacy, and Trustworthy AI Infrastructure65.39Observability, Benchmarking, and Troubleshooting85.40Reading System Source Code and Cross-Layer End-to-End Practice8