Finding where the time and the memory actually go: a method, the roofline in practice, memory- versus compute-bound work, GPU utilisation myths, fragmentation and allocators, out-of-memory failures, benchmarking that means something, Nsight profiling, CPU and Python profiling, metrics and dashboards, and case studies.
Lessons#
| # | Lesson | Time |
|---|---|---|
| 22.a | The Performance Debugging Methodology | 90 min |
| 22.b | The Roofline Model in Practice | 60 min |
| 22.c | Memory-Bound vs Compute-Bound | 60 min |
| 22.d | GPU Utilization Is a Lie | 60 min |
| 22.e | Memory Fragmentation and Allocators | 75 min |
| 22.f | OOM: Causes and Cures | 60 min |
| 22.g | Benchmarking Inference Correctly | 90 min |
| 22.h | GPU Profiling with Nsight | 90 min |
| 22.i | CPU and Python Profiling | 60 min |
| 22.j | Metrics, Prometheus, and Dashboards | 75 min |
| 22.k | Case Studies | 90 min |
Previous: Inference Platforms · Next: Production Inference