Deep Dive into DeepSeek

Deep Dive into DeepSeek

A two-volume technical guide to DeepSeek models and the systems that run them - from DeepSeekMoE, MLA, V3, R1, V4, Coder, and Janus to serving, FlashMLA, DeepGEMM, DeepEP, DualPipe, 3FS, numerical correctness, and measured runtime evidence.

Hardcover mockup of Deep Dive into DeepSeek Volume I and Volume II

Volume I

Models, Training, and Reasoning

Volume I builds from request and cost foundations into DeepSeekMoE, MLA, V3, R1, V4, Coder, multimodal systems, OCR, and the evidence needed to compare architecture and training claims responsibly.

Volume II

Systems, Kernels, and Integration

Volume II follows requests through serving runtimes, accelerator kernels, expert-parallel communication, pipeline and storage systems, quantization, long context, replay, and measured execution.

Public excerpts

Sample Chapters

Sample chapters are released under the CC BY-NC-ND 4.0 license.

Book contents

Table of Contents

Free chapter and appendix overview slides are released under the CC BY-NC-ND 4.0 license.

Volume I

  1. DeepSeek Orientation: Requests, Execution, and Technology Lineage
  2. Inference Cost and Measurement
  3. DeepSeekMoE and Sparse Computation
  4. Multi-Head Latent Attention
  5. DeepSeek-V3 Architecture
  6. DeepSeek-V3 Pretraining
Reasoning RL Primer
  1. DeepSeek-V3 Post-Training
  2. R1-Zero and Pure RL Reasoning
  3. DeepSeek-R1
  4. DeepSeek Math and Prover
  5. DeepSeek-V3.2 and Sparse Long Context
  6. DeepSeek-V4 Architecture
  7. DeepSeek-V4 Training
  8. DeepSeek-V4 Agent Interfaces and DeepSeek Harness
  9. Engram and Conditional Memory
  10. DeepSeek Coder
  11. Multimodal Understanding and Generation: DeepSeek-VL and Janus
  12. DeepSeek-OCR and Document Compression

Appendices

  1. Evaluation Harnesses and Protocol Design
  2. DeepSeek in the Broader Lineage
  3. Source Records and Artifact Coordinates

Volume II

Volume II Quick Start
  1. Systems Foundations
  2. Serving DeepSeek Models
  3. DeepSeek-V4 Runtime and Speculative Decoding
  4. FlashMLA
  5. DeepGEMM
  6. TileKernels and TileLang Kernel Surfaces
  7. Parallelism Taxonomy for DeepSeek
  8. DeepEP
  9. Mega MoE: Fused Expert-Parallel Execution
  10. EPLB
  11. DualPipe
  12. 3FS
  13. smallpond: Distributed Dataframes, Tasks, and Dataset Publication
  14. Precision, Quantization, and Numerical Correctness
  15. Long-Context Systems
  16. System Correctness, Oracles, and Replay
  17. NVIDIA Kernels and Runtime Measurements

Appendices

  1. Source Records and Artifact Coordinates