mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00

Co-authored-by: 8bitmp3 <19637339+8bitmp3@users.noreply.github.com> Co-authored-by: Jake VanderPlas <jakevdp@google.com>
104 lines
2.5 KiB
ReStructuredText
104 lines
2.5 KiB
ReStructuredText
JAX: High-Performance Array Computing
|
|
=====================================
|
|
|
|
JAX is Autograd_ and XLA_, brought together for high-performance numerical computing.
|
|
|
|
.. grid:: 3
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: Familiar API
|
|
:class-card: key-ideas
|
|
:shadow: None
|
|
|
|
JAX provides a familiar NumPy-style API for ease of adoption by researchers and engineers.
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: Transformations
|
|
:class-card: key-ideas
|
|
:shadow: None
|
|
|
|
JAX includes composable function transformations for compilation, batching, automatic differentiation, and parallelization.
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: Run Anywhere
|
|
:class-card: key-ideas
|
|
:shadow: None
|
|
|
|
The same code executes on multiple backends, including CPU, GPU, & TPU
|
|
|
|
.. note::
|
|
JAX 0.4.1 introduces new parallelism APIs, including breaking changes to :func:`jax.experimental.pjit` and a new unified ``jax.Array`` type.
|
|
Please see `Distributed arrays and automatic parallelization <https://jax.readthedocs.io/en/latest/notebooks/Distributed_arrays_and_automatic_parallelization.html>`_ tutorial and the :ref:`jax-array-migration`
|
|
guide for more information.
|
|
|
|
|
|
.. grid:: 3
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: :material-regular:`rocket_launch;2em` Getting Started
|
|
:link: beginner-guide
|
|
:link-type: ref
|
|
:class-card: getting-started
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: :material-regular:`library_books;2em` User Guides
|
|
:link: user-guides
|
|
:link-type: ref
|
|
:class-card: user-guides
|
|
|
|
.. grid-item::
|
|
|
|
.. card:: :material-regular:`laptop_chromebook;2em` Developer Docs
|
|
:link: contributor-guide
|
|
:link-type: ref
|
|
:class-card: developer-docs
|
|
|
|
Installation
|
|
------------
|
|
|
|
.. code-block:: bash
|
|
|
|
pip install "jax[cpu]"
|
|
|
|
For installation on accelerators (GPU, TPU) and other installation options,
|
|
see the `Install Guide`_ in the project README.
|
|
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
:maxdepth: 1
|
|
:caption: Getting Started
|
|
|
|
installation
|
|
notebooks/quickstart
|
|
notebooks/thinking_in_jax
|
|
notebooks/Common_Gotchas_in_JAX
|
|
faq
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
:maxdepth: 1
|
|
|
|
jax-101/index
|
|
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
:maxdepth: 2
|
|
:caption: Further Resources
|
|
|
|
user_guides
|
|
advanced_guide
|
|
contributor_guide
|
|
notes
|
|
jax
|
|
|
|
|
|
.. _Autograd: https://github.com/hips/autograd
|
|
.. _XLA: https://www.tensorflow.org/xla
|
|
.. _Install Guide: https://github.com/google/jax#installation |