~/talk

JAX: accelerated machine learning research via composable function transformations in Python

Talkat SPLASH 2020 REBASE · 2020-11-16..11-23· [machine-learning, python]
github:mj1856
slides:none on file

JAX claims Python+NumPy code runs on accelerators by tracing pure functions and applying composable transformations: jit via XLA compiles whole programs and fuses elementwise ops (demo 5k×5k matmul ≈12 ms vs CPU ~200 ms), vmap for per-example gradients vectorizes batch plumbing so one-line per-example grads and kernel gram matrices are fast, and pmap across 8 TPU cores shards arrays and runs eight 5k×5k multiplies in parallel. The system composes grad, jvp/vjp, vmap, jit, pmap (used in MLPerf scale runs) and is practical enough to build neural-ODE regularization and DP workflows.

AI-written summary · about

  1. 0:00Start
  2. 2:06Motivating JAX
  3. 31:50Transforming and staging Python functions
  4. 33:57Step 1: Python function + JAX IR
  5. 39:13Step 2: transform jaxpr
  6. 41:38Why researchers like JAX
  7. 43:12Limitations
  8. 44:54MLPerf 2020 Results
~/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.