Yes. AMD documents JAX with ROCm support on Linux for its Instinct accelerators, through prebuilt rocm/jax Docker images or a pip install.
What AMD lists
AMD's JAX install guide lists these Instinct GPUs as supported: MI355X, MI350X, MI350P, MI325X, MI300X, MI300A, MI250X, MI250 and MI210. Some Radeon products are listed as well.
Two install paths are described:
- Docker: pull a
rocm/jaximage matching your Python and JAX versions, then pass the AMD GPU devices through with--device /dev/kfd --device /dev/dri. - pip: install the ROCm libraries and device packages from AMD's package index, then the ROCm JAX plugin and PJRT packages, then
jaxandjaxlibfrom PyPI.
AMD notes that "unlike PyTorch, the JAX packages don't automatically install ROCm library and device packages as dependencies." To check the setup, run python -c "import jax; print(jax.devices())" and look for a RocmDevice entry per GPU.
For the PyTorch side, see PyTorch on AMD Instinct. The other alternatives are in NVIDIA's main competitors in AI.