~/talk

Magical NumPy with JAX

Talkat PyCon US 2021 · 2021-05-14..05-15· [machine-learning, python]
slides:none on file

Claim: write idiomatic NumPy and get autodiff, JIT and parallelism without learning a new array library. Demos use the NumPy‑compatible JAX API with vmap, lax.scan, prng keys, plus grad and jit to compose transforms; notebooks show loopless message‑passing, Gaussian random walks, deterministic RNG and exercises with solutions on Binder. One adoption note: a reported >100× speedup on a real model vs TensorFlow 1.x. Code runs and composes; exercises reveal the functional style and where state must be made explicit.

AI-written summary · about

  1. 0:00Start
  2. 0:29The Format of the Tutorial
  3. 6:19What Exactly Is Jax
  4. 8:12Prerequisite Knowledge
  5. 9:30Jupiter Notebooks
  6. 11:19Exercises in Jupiter Notebooks
  7. 14:26Loopless Loops
  8. 14:48Semantics of Vmap
  9. 17:20Sum
  10. 18:12Change the in-Axis Argument of Vmap
  11. 26:33Automatic Differentiation
  12. 47:52Message Passing
  13. 52:42Loopless Loops Exercise 3
  14. 1:10:42Semantics of Lacks Scan
  15. 1:11:34Cumulative Sum
  16. 1:13:02Exercises
  17. 1:49:05Notebook on Deterministic Randomness
  18. 1:52:41Gaussian Random Block
  19. 1:56:42Deterministic Randomness
  20. 1:57:01Deterministic Randomness Notebook
  21. 2:17:01Compilation
~/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.