flâneur — a map of the web's best reading

google/jax: Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

github.com · 1,352 words · saved by 1 readers

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more Quickstart | Transformations | Install guide | Neural net libraries | Change logs | Reference docs JAX is a Python library for accelerator-oriented array computation and program transformation, designed for high-performance numerical computing and large-scale machine learning. With its updated version of Autograd, JAX can automatically differentiate native Python and NumPy functions. It can differentiate through loops, branches, recursion, and closures, and it can take derivatives of derivatives of derivatives. It supports reverse-mode differentiation (a.k.a. backpropagation) via grad as well as forward-mode differentiation, and the two can be composed arbitrarily to any order. What’s new is that JAX uses XLA to compile and run your NumPy programs on GPUs and TPUs. Compilation happens under the hood by default, with library calls getting just-in-time compiled and executed. But JAX al

Explore this link on the map →

saved by

related reading