2023-01-13 09:59:40 -08:00
|
|
|
JAX: High-Performance Array Computing
|
|
|
|
=====================================
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2024-02-26 14:14:11 -08:00
|
|
|
JAX is a Python library for accelerator-oriented array computation and program transformation,
|
|
|
|
designed for high-performance numerical computing and large-scale machine learning.
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2024-02-26 10:02:02 -08:00
|
|
|
If you're looking to train neural networks, use Flax_ and start with its documentation.
|
|
|
|
Some associated tools are Optax_ and Orbax_.
|
|
|
|
For an end-to-end transformer library built on JAX, see MaxText_.
|
|
|
|
|
2023-01-13 09:59:40 -08:00
|
|
|
.. grid:: 3
|
2023-01-18 11:21:27 -08:00
|
|
|
:margin: 0
|
|
|
|
:padding: 0
|
|
|
|
:gutter: 0
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: Familiar API
|
|
|
|
:columns: 12 6 6 4
|
2023-03-01 11:02:56 -08:00
|
|
|
:class-card: sd-border-0
|
2023-01-18 11:21:27 -08:00
|
|
|
:shadow: None
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-04-19 17:52:16 +00:00
|
|
|
JAX provides a familiar NumPy-style API for ease of adoption by researchers and engineers.
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: Transformations
|
|
|
|
:columns: 12 6 6 4
|
2023-03-01 11:02:56 -08:00
|
|
|
:class-card: sd-border-0
|
2023-01-18 11:21:27 -08:00
|
|
|
:shadow: None
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
JAX includes composable function transformations for compilation, batching, automatic differentiation, and parallelization.
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: Run Anywhere
|
|
|
|
:columns: 12 6 6 4
|
2023-03-01 11:02:56 -08:00
|
|
|
:class-card: sd-border-0
|
2023-01-18 11:21:27 -08:00
|
|
|
:shadow: None
|
2023-01-13 09:59:40 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
The same code executes on multiple backends, including CPU, GPU, & TPU
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2023-01-13 09:59:40 -08:00
|
|
|
.. grid:: 3
|
2021-02-26 09:22:34 -08:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: :material-regular:`rocket_launch;2em` Getting Started
|
|
|
|
:columns: 12 6 6 4
|
|
|
|
:link: beginner-guide
|
|
|
|
:link-type: ref
|
|
|
|
:class-card: getting-started
|
2022-07-26 14:47:36 -07:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: :material-regular:`library_books;2em` User Guides
|
|
|
|
:columns: 12 6 6 4
|
|
|
|
:link: user-guides
|
|
|
|
:link-type: ref
|
|
|
|
:class-card: user-guides
|
2022-07-26 14:47:36 -07:00
|
|
|
|
2023-01-18 11:21:27 -08:00
|
|
|
.. grid-item-card:: :material-regular:`laptop_chromebook;2em` Developer Docs
|
|
|
|
:columns: 12 6 6 4
|
|
|
|
:link: contributor-guide
|
|
|
|
:link-type: ref
|
|
|
|
:class-card: developer-docs
|
2019-10-03 11:20:04 +02:00
|
|
|
|
2021-03-08 16:25:04 -08:00
|
|
|
|
2019-01-15 20:14:19 -05:00
|
|
|
.. toctree::
|
2023-01-13 09:59:40 -08:00
|
|
|
:hidden:
|
2022-11-08 14:45:58 -08:00
|
|
|
:maxdepth: 1
|
2023-01-13 09:59:40 -08:00
|
|
|
:caption: Getting Started
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2023-01-13 09:59:40 -08:00
|
|
|
installation
|
2024-04-18 13:11:25 -07:00
|
|
|
quickstart
|
2023-01-13 09:59:40 -08:00
|
|
|
notebooks/Common_Gotchas_in_JAX
|
|
|
|
faq
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2022-11-08 14:45:58 -08:00
|
|
|
.. toctree::
|
2023-01-13 09:59:40 -08:00
|
|
|
:hidden:
|
2022-11-08 14:45:58 -08:00
|
|
|
:maxdepth: 1
|
|
|
|
|
2024-04-18 13:11:25 -07:00
|
|
|
tutorials
|
2022-11-08 14:45:58 -08:00
|
|
|
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2023-01-13 09:59:40 -08:00
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
:maxdepth: 2
|
|
|
|
:caption: Further Resources
|
2019-01-15 20:14:19 -05:00
|
|
|
|
2023-01-13 09:59:40 -08:00
|
|
|
user_guides
|
|
|
|
advanced_guide
|
|
|
|
contributor_guide
|
2023-05-22 10:03:12 -07:00
|
|
|
building_on_jax
|
2023-01-13 09:59:40 -08:00
|
|
|
notes
|
|
|
|
jax
|
2021-03-08 16:25:04 -08:00
|
|
|
|
|
|
|
|
2023-01-19 09:52:43 -08:00
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
changelog
|
|
|
|
glossary
|
|
|
|
|
|
|
|
|
2024-02-26 10:02:02 -08:00
|
|
|
.. _Flax: https://flax.readthedocs.io/
|
|
|
|
.. _Orbax: https://orbax.readthedocs.io/
|
|
|
|
.. _Optax: https://optax.readthedocs.io/
|
|
|
|
.. _MaxText: https://github.com/google/maxtext/
|