Our JAX run installed successfully in 30 seconds and built in 9 seconds, then pytest stopped with 200 collection/setup errors at commit 4473bda, according to our November 11 measurements. JAX suits researchers who want to differentiate, batch and compile numerical functions and can adapt their code to those transformations. Developers who require unchanged NumPy indexed assignment or native Windows NVIDIA execution should choose around those requirements instead. The array tutorial demonstrates the update difference, and the README marks native Windows NVIDIA support as unavailable.
JAX is the numerical-computing library at jax-ml/jax. Its composable transformations support compilation, batching, automatic differentiation and parallelization, as described in the official overview. Automatic differentiation computes derivatives from a program's operations. The adoption decision is whether those transformations justify changing an existing calculation's array updates and compiled control flow. The examples below connect that decision to named research uses, scientific-method discussions and our command results, rather than treating an installed package as a completed numerical workload.
What people use jax for
DeepMind reports using JAX for rapid experimentation with novel algorithms and architectures in its research account. Gordić's tutorial repository describes model construction and accelerator training, while AWS describes training in a custom container and exporting a model for TensorFlow serving. These examples address different parts of a numerical program: experimentation, model code, device execution and deployment. Their authors and reported outcomes stay attached to each use case in the table.
| Who used it | What they did | What the example gives you |
|---|---|---|
| DeepMind researchers | Used JAX for algorithm and architecture experiments | A named account of research use in DeepMind's article. |
| Aleksa Gordić | Built an MNIST classifier using pure JAX and PyTorch's data loader | A model-construction exercise described in the tutorial repository. |
| Aleksa Gordić | Described training an ML model on 8 TPU cores | An accelerator-training exercise in tutorial #2. |
| AWS authors | Described training neural networks in a historical SageMaker workflow | A custom-container training and TensorFlow serving example in the AWS walkthrough. |
| mickymultani/JAX-Machinelearning | Connected differentiation with neural-network training on Iris | Before-and-after analysis and visualizations in the Iris tutorial. |
Gordić's MNIST example separates data loading from numerical model code: PyTorch supplies the loader while JAX supplies the classifier. The repository also describes examining dead ReLU neurons after training. That division gives an existing project a concrete migration option: select the component that needs JAX transformations rather than assume that every component must change together. The Iris repository takes a teaching approach, using one dataset to connect differentiation, training analysis and visualization.
What happened when we ran it
Our November 11 run recorded a 30-second installation, a 9-second build and an unsuccessful 17-second test command in the sandbox measurements. The checkout was commit 4473bda, with 3 CPUs and 8 GB RAM in the recorded configuration. Its image label was ghcr.io/astral-sh/uv:python3.12-bookworm. The checkout contained 2,047 files, approximately 742,441 source lines and 57.6 MB; the installed footprint was 529 MB with 41 dependencies recorded.
| Step or observation | Our recorded result |
|---|---|
| Install | Succeeded in 30 seconds; 41 dependencies recorded; 529 MB on disk |
| Build | Succeeded in 9 seconds |
| Test command | Failed with exit 1 after 17 seconds |
| Pytest summary | 0 passed, 0 failed, 0 skipped, 200 collection/setup errors |
| Log footer | 200 errors in 14.84s |
| Dependency advisory scan | pip-audit reported 0 known vulnerabilities |
| Audit coverage fields | 40 scanned packages, 41 reported packages, 1 skipped package |
| Repository signals | 35 CI workflow files, a tests directory, no Dockerfile and no Compose file |
| November 25 safety step | Failed because none of the runner's accepted Compose filenames existed |
| November 25 teardown | Returned ok |
The failing test tail names tests/pallas/pallas_test.py, pallas_vmap_test.py, tpu_all_gather_test.py, tpu_fusible_matmul_test.py, tpu_fusible_matmul_with_stateful_fusions_test.py, tpu_gmm_test.py, tpu_info_test.py and tpu_ops_test.py. It then says it is stopping after 200 failures and prints 200 errors in 14.84s. The recorded summary classifies these as collection/setup errors: the failed-test count stays at 0, while the error count is 200. The harness duration and pytest footer report different timing scopes.
The November 25 attempt stopped with unsafe repo: none of compose.yaml, compose.yml, docker-compose.yaml, docker-compose.yml exists, according to the safety-step result. Its run header describes Docker Compose deployment with every port bound to 127.0.0.1, but the recorded safety step blocked that attempt. The teardown result is ok. Compose was the runner's requirement; the installation guide describes a pip-based CPU route.
Where people get stuck: array updates and compiled branches
JAX's indexed-update expression returns an updated array, while ordinary NumPy indexed assignment changes the existing array, as illustrated in the introductory tutorial. Retaining the returned value is the practical change during a port. The tutorial also describes a Python conditional that fails under jax.jit. These examples identify two places to inspect in an existing notebook: assignments to array elements and Python branches that depend on values inside a compiled function.
| Symptom | What the example or reporter says | Practical response and status |
|---|---|---|
| Indexed assignment fails | The tutorial contrasts NumPy assignment with JAX's returned updated array | Use array.at[index].set(value) and retain the returned array, following the indexed-update example. |
A Python if fails inside jit |
The tutorial's ReLU example displays TracerBoolConversionError |
The tutorial suggests jax.numpy.where(x > 0, x, 0) for that example in its conditional explanation. |
| A local CUDA build rejects a flag | Issue #23689 reports GCC rejecting --cuda-path=external/cuda_nvcc |
A maintainer recommends Clang in issue #23689. |
| A Power9 build needs a wheel | A maintainer reports cross-compiling a ppc64le wheel | Cross-compilation is the reported outcome in issue #4493. |
The tutorial's sort example adds another migration check: JAX returns a sorted copy and leaves the original unchanged. For indexed updates, the documented expression is array.at[index].set(value), with the returned array carrying the modification. Both examples require following values through assignments instead of assuming that a familiar method name carries NumPy's side effects. They are documentation examples; the command-results section records the separate sandbox installation, build and pytest outcomes.
Sparse scientific problems need a numerical-method decision
Choose the sparse solver and establish whether your sparsity pattern is known before deciding whether JAX fits the calculation. In issue #1032, mfschubert describes a module that computes Jacobians more efficiently when their sparsity is known beforehand. A Jacobian contains derivatives of outputs with respect to inputs; a sparse Jacobian has many zero entries. Exploiting a pattern the application already knows is a different task from discovering that pattern automatically.
Differentiation and solver selection also answer different questions. Participants in issue #1032 discuss slow iterative solves and possible gains from direct solvers. In issue #3112, mganahl describes a TensorNetwork-oriented implementation without restarts. The same discussion considers robustness, scalability and SciPy algorithms as a reference. A scientific application needs the relevant numerical method as well as derivatives; the existence of automatic differentiation alone does not specify which solver the application will use.
Eigenvector derivatives introduce a mathematical convention to the decision. In issue #2748, j-towns explains that eigenvectors are unique only up to a complex scalar multiple and discusses normalization choices affecting derivatives. Define the downstream quantity and its normalization before comparing derivative outputs. Two differently normalized vectors can represent the same eigendirection, so an application's desired result needs a more precise definition than simply requesting the derivative of an eigenvector.
GPU setup starts with the platform matrix
The installation guide lists Apple ARM macOS CPU wheels and experimental Windows x86_64 CPU wheels in its CPU installation guidance. The README separately marks native Windows NVIDIA GPU support as no and WSL2 NVIDIA support as experimental. Operating system and device type therefore belong in the initial installation decision. A Windows CPU installation and a Windows NVIDIA installation have different platform entries even though both use the JAX package name.
AMD maintains the ROCm JAX plugin, according to the installation guide. The guide sends ROCm installation, driver compatibility, plugin and runtime issues to AMD's tracker, while directing JAX issues that are not ROCm-specific to the JAX tracker. Intel provides experimental oneAPI PJRT and plugin wheels using XLA's SYCL support. These instructions identify both a backend route and the organization responsible for its device-specific support.
The local-CUDA discussion in issue #23689 concerns a source build with an externally installed CUDA copy. A maintainer recommends Clang after the reported GCC flag error; the reporter says the suggested experimental GCC flags still produced the same error. That sequence belongs to this build report. The installation guide is the starting point for selecting a backend route, while the issue describes a particular compiler failure and the responses to it.
JAX vs PyTorch, NumPy and TensorFlow
PyTorch's README describes tensor computation and deep neural networks built on tape-based autograd in its project overview. JAX's overview emphasizes composable function transformations, and the NumPy-style tutorial shows array behaviors that change during a port. AWS describes another arrangement: JAX training with TensorFlow serving infrastructure. The comparison is therefore about the component and programming model a project needs, with each example tied to its source.
| Alternative | Reason to choose it instead | Reason to choose JAX |
|---|---|---|
| NumPy | Preserve existing array operations and mutation behavior when they meet the calculation's needs | Add function transformations while adapting the differences demonstrated in the NumPy migration examples. |
| PyTorch | Use its tensor library, neural-network components and tape-based autograd | Organize numerical model code around JAX transformations; compare the PyTorch README with the JAX overview. |
| TensorFlow | Keep serving components already used by the project | Study JAX training combined with TensorFlow serving in the historical AWS workflow. |
Gordić's MNIST example makes this component-level choice concrete: it uses PyTorch's data loader with a pure-JAX classifier, according to the tutorial repository. AWS similarly describes serializing a trained model into TensorFlow SavedModel format for SageMaker's TensorFlow Serving infrastructure. Data loading, numerical model code and serving can therefore have separate choices in these examples. Neither example requires treating an entire application as one indivisible framework selection.
Distinguishing JAX from similarly named software
MobilesTalk's Jax review correctly identifies workforce scheduling software for UK gyms in its product description. This review concerns the Python numerical library at jax-ml/jax. The shared name creates search-result ambiguity, rather than an error in MobilesTalk's description. Its scheduling-product prices, ranking and rating belong to that product. Including the repository name or the numerical-computing context in a search helps distinguish programming material from workforce-management results.
Outdated claims, corrected
The tutorial repository's statement that Windows is unsupported needs a CPU-specific correction: the installation guide lists experimental Windows x86_64 CPU wheels. Compare the tutorial's Windows statement with the installation guidance. Native Windows NVIDIA support has a separate README entry marked no. Replacing the tutorial's statement with a general claim that every JAX backend supports Windows would lose the distinction between CPU installation and NVIDIA GPU execution.
The installation guide contains conflicting Mac GPU wording: its table labels Apple GPU support experimental, while a paragraph says Mac GPU execution is unsupported and directs readers to CPU installation. Both appear in the installation documentation. Separately, the introductory tutorial displays TracerBoolConversionError for its compiled conditional but calls it ConcretizationTypeError in the explanation. The conditional example should be described using its displayed exception name.
The AWS recipe pins jax==0.2.6 and jaxlib==0.1.57+cuda111, whereas the installation guide describes CUDA 12 and CUDA 13 wheel variants. Those versions distinguish the historical AWS container instructions from the installation guide's wheel guidance. The article remains a training-and-serving example with explicit dependency pins. Silently replacing those pins would create a different recipe rather than accurately describe the workflow its authors documented.
FAQ
JAX provides composable function transformations; PyTorch describes tensor and neural-network components with tape-based autograd; AWS describes combining JAX training with TensorFlow serving. Those facts answer the three-framework search question by identifying programming and infrastructure choices. The hardware questions below come from installation and issue discussions. Each answer keeps the operating system, backend or reported compiler operation attached to the question instead of treating GPU support as one universal property.
Should I choose JAX, PyTorch or TensorFlow?
Choose JAX when compilation, batching and differentiation around numerical functions are central to the program, as described in the official overview. PyTorch's README lists a tensor library, autograd, neural-network components and DataLoader utilities. The AWS walkthrough describes JAX training with TensorFlow serving. The component being selected determines which comparison is useful: numerical transformations, training utilities, data loading or serving infrastructure.
How do I scale a JAX model across accelerators or machines?
The README describes compiler-based automatic parallelization, explicit sharding with automatic partitioning, and manual per-device programming. Gordić's second tutorial describes training an ML model on 8 TPU cores in the tutorial repository. Sharding divides data across devices; the README's models differ in how explicitly the program describes that division and communication. Select the model around the calculation's data layout and the amount of device-level control the program needs.
Can JAX run on AMD or Intel GPUs?
The installation documentation describes an AMD-maintained ROCm plugin and experimental Intel oneAPI PJRT and plugin wheels in its GPU guidance. Intel's route uses XLA's SYCL support. The platform table distinguishes operating systems and architectures, so GPU vendor alone does not select the installation route. The guide also separates ROCm-specific problems from issues in JAX itself, giving users different reporting destinations for device software and library problems.
How do I start using JAX on AMD GPUs?
Start with the AMD ROCm plugin installation route identified in the JAX installation guide. AMD maintains that plugin and monitors the ROCm issue tracker for installation, driver compatibility, plugin and runtime problems. Problems in JAX itself that are not ROCm-specific go to the JAX tracker. This division gives an AMD user both an installation starting point and a reporting destination tied to the component involved.
Does AMD GPU support include macOS?
The installation table gives AMD GPU support a Mac entry of n/a, alongside Linux support and experimental WSL2 support, in the platform matrix. A machine containing AMD graphics hardware therefore does not by itself select a supported operating-system route. The Apple ARM macOS CPU wheel entry answers a separate question about CPU installation. Keeping the device and operating system together avoids confusing that CPU route with AMD GPU execution.
Can JAX run on Apple Silicon, and are native wheels available?
The installation guide lists macOS Apple ARM CPU wheels in its CPU wheel guidance. The historical Apple Silicon issue #5501 discusses source-build work and distinguishes targeting the ARM CPU from targeting the GPU or Neural Engine. The wheel list answers the native CPU installation question directly. The historical thread explains the earlier build context, rather than serving as the first step for that documented wheel route.
Can JAX accelerate computations on Apple's M1 GPU?
The installation table labels Apple GPU support experimental, while its Mac GPU paragraph gives conflicting guidance, as recorded in the installation documentation. The historical Apple GPU issue #8074 discusses experimental acceleration work. Apple ARM CPU wheels and the experimental GPU route are separate entries in this decision. The guide's CPU wheel listing should therefore not be read as a statement about M1 GPU execution.
Can unsupported operations in the experimental Apple GPU path be lowered differently?
Birch-san reports failed to legalize operation 'mhlo.scatter' that was explicitly marked illegal while trying dalle-playground in issue #8074. The reporter asks whether another lowering option exists. Lowering translates an operation into a form a compiler backend can execute. The scatter operation, model context and exact compiler message are the concrete diagnostic details to retain when comparing that report with a different Apple GPU problem.
What we have not tested yet
Our measurements cover command outcomes at commit 4473bda, rather than the later jax-v0.12.1 release tag dated November 18, 2026. They do not establish trained-model quality, accelerator correctness, production reliability or a working contributor test environment. The test tail omits underlying exceptions, so it cannot identify a missing package, unsupported device or compiler mismatch. The sandbox image label also does not establish actual runtime versions. The November 25 safety failure adds no completed numerical workload despite its run header's deployment description.
GPU execution, multi-host scaling, compilation break-even points and a current reproduction of the AWS deployment remain unmeasured here. No side-by-side performance result supports a speed ranking among JAX, PyTorch, NumPy and TensorFlow. The DeepMind excerpt supports its reported research use without establishing a publication year. Tutorial descriptions are attributed accounts rather than our execution results. The AMD excerpts establish plugin ownership and support routing without establishing a specific compatible version configuration or a documented device-check command.
The scientific and build discussions leave several outcomes unresolved: solver convergence on ill-conditioned systems, representative sparsejac behavior, downstream gradient accuracy, execution of the cross-compiled Power9 wheel and a completed local-CUDA build fix. The Apple GPU excerpt records the scatter failure without a demonstrated remedy. Conflicting Mac GPU statements do not settle support for a particular workload. An issue's open or closed label is separate from evidence that the numerical calculation or proposed build remedy succeeded.
The pip-audit result records 0 known vulnerabilities with 40 scanned packages and 1 skipped package; it is not a security assessment of device plugins, arbitrary calculation execution or a hosted service. Network exposure, authentication and untrusted-input handling were outside the run. Rendered layout, automatic related links, recommendation modules and template behavior were also outside this text review. A representative calculation and its downstream gradients on the intended hardware would address workload behavior beyond the command outcomes recorded here.


