~/talk

Differentiable Programming in C++

Talkat CppCon 2021 · on Tuesday, 2021-10-26· at 07:45· Online B, online· [machine-learning]
links:none on file
links:none on file
slides:none on file

Claims that integrating automatic differentiation into the compiler yields concrete speed and compatibility wins: two implementations — Clad (AST-level) and Enzyme (LLVM IR) — produce gradients from real C++ and other front ends, Enzyme achieves about 4.2x speedup over a reference pipeline on a mixed ML/scientific suite, and compiler-level AD enables differentiating arbitrary GPU kernels and supports OpenMP and MPI. The approach avoids rewriting code, reduces maintenance, and is actively pushed toward standardization via SG19.

AI-written summary · about

  1. 0:00Speakers
  2. 0:15What is this talk about?
  3. 0:25Outline
  4. 2:29How fast he ran? What does that even mean?
  5. 3:26Measuring the rate of change
  6. 5:13Derivatives: measure the rate of change
  7. 6:55The longer the distance the more parameters
  8. 9:41Computing Derivatives
  9. 11:26Numerical Differentiation
  10. 14:28Automatic and Symbolic Differentiation
  11. 16:40AD. Algorithm Decomposition
  12. 17:42AD. Chain Rule
  13. 19:14AD step-by-step. Forward Mode
  14. 20:18AD step-by-step. Reverse Mode
  15. 21:38AD Control Flow
  16. 23:10AD. Cheap Gradient Principle
  17. 23:42Uses of AD outside of Deep Learning
  18. 24:23Deep Learning & Automatic Differentiation
  19. 24:58Backpropagation
  20. 27:17Differentiable Programming
  21. 30:50C++ Automatic Differentiation Wish List
  22. 32:42Existing AD Approaches (2/3)
  23. 38:42Implementation of AD in Clang/LLVM
  24. 40:03Case Study 1: Clad - AD of Clang AST
  25. 43:00Clad Key Insights
  26. 43:27Existing Automatic Differentiation Pipelines
  27. 45:33Vector Normalization: LICM then AD
  28. 46:20Vector Normalization: AD, then LICM
  29. 47:17Optimization & Automatic Differentiation
  30. 48:11Case Study 2: Enzyme - AD of LLVM IR
  31. 49:27Enzyme Evaluation
  32. 50:41Speedup of Enzyme
  33. 53:12Key . Enzyme Insights
  34. 54:12Overall AD Compiler Insights
  35. 56:24Standardization Efforts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.