JAX on GPU w/ Google Cloud

JAX on GPU w/ Google Cloud

🎙 Ivan Nardini (Google Cloud) & Ekaterina Sirazitdinova (NVIDIA) 👥 229K 📅 November 25, 2026 ⏱ 46 min 👁 3K 📄 tutorial 🧭 2026-11-26
Available in: English (current) Français

Keywords

JAXXLA compilationNGC containerdata-parallel shardingNsight Systems

Summary

Recorded Google Cloud Live session in which Ivan Nardini (Google Cloud AI engineer) and Ekaterina Sirazitdinova (NVIDIA developer advocate) walk developers through running JAX workloads on NVIDIA GPUs. The first part defines JAX — just-in-time compilation through XLA, automatic differentiation inherited from Autograd, and vectorisation — and sketches a short history running from Autograd (2015) to JAX’s public release and its adoption for AlphaFold 2. The NVIDIA side is then presented: GPU-accelerated NGC containers shipping CUDA, cuDNN, cuBLAS, NCCL and Transformer Engine, refreshed roughly monthly, in a general-purpose and a MaxText variant. The guests describe the JAX Toolbox as a single entry point gathering documentation, examples and model recipes, and the bridging layers (JAX-TVM-FFI, custom kernels written in CUDA or Triton) that fold hand-written kernels into the XLA graph. Practical onboarding follows: checking devices with nvidia-smi and jax.devices(), moving from NumPy to jax.numpy, then applying jit, grad and vmap, including how kernel fusion avoids repeated host-device data movement. A notebook from the joint Google Cloud/NVIDIA learning path then demonstrates data-parallel training, taking a small NLP model from a single GPU to a multi-GPU mesh with sharding handled automatically through NCCL. The session closes on the most frequently asked community question — slow or constantly recompiling JAX code — and on how to read profiler traces produced with XProf and NVIDIA Nsight Systems, where many tiny kernels separated by gaps indicate missing fusion and recompilation.

234 words

Critical Evaluation

Value of the Information & Strength of the Argument

The informational value lies in the operational density rather than in conceptual novelty: the viewer leaves with an ordered checklist (verify the GPU with nvidia-smi, verify JAX sees it with jax.devices(), swap numpy for jax.numpy, apply jit/grad/vmap, then introduce a device mesh and shard the batch), plus concrete pointers to containers, repositories and notebooks. Several explanations are genuinely instructive, notably the account of why kernel fusion matters — small kernels execute fast on accelerators, but the bottleneck is data movement between them, so fusing operations keeps data resident on the device — and the honest warning that a profiler trace full of tiny blocks separated by large gaps is a symptom of unfused operations and repeated compilation. The argumentation, however, proceeds almost entirely by assertion and demonstration rather than by evidence: no speed-up figures, no scaling curves, no memory or throughput measurements are given for the multi-GPU experiment, so the claim that JAX is ‘very fast for training foundation models’ rests on reputation rather than on data shown in the session. The pedagogical order is sound and the two speakers correct and complement each other without contradicting each other, but the treatment stays at the level of a getting-started walkthrough and leaves performance engineering (mixed precision, rematerialisation, collective overlap, sharding annotations) largely unaddressed. Anecdotal content, such as the alternative expansion of the acronym as ‘just after execution’, is flagged as uncertain and is not presented as fact.

Scientific Rigor, Source Quality, Title Accuracy

The session cites essentially no external literature: the references are the speakers’ own artefacts — the NVIDIA NGC catalogue, the JAX Toolbox GitHub hub, the Google for Developers learning path built jointly with NVIDIA, and the companion four-video course. This makes the sourcing self-referential by construction: the material used to validate the claims is produced by the same organisations making them, and no academic paper, independent benchmark or third-party evaluation is invoked. The historical chronology given (Autograd published in 2015, the JAX presentation at MLSys followed by a public package release in December, wide adoption around AlphaFold 2 in 2020) is broadly consistent with the public record, and the technical statements about XLA, automatic differentiation and NCCL-based collectives match the official documentation of those projects, which limits the risk of error. What is missing is any quantification or reproducibility detail for the performance assertions, and the profiler reading is described generically rather than demonstrated on a real trace. On the title/content relationship, the title ‘JAX on GPU w/ Google Cloud’ is literally what the video delivers: the Google Cloud presenter and the NVIDIA presenter alternate, and every section maps onto the announced programme. The content is well aligned with no padding beyond the mutual promotion of the two companies’ joint course.

463 words

Title / Content Match

The title is fully honoured: the session is an end-to-end walkthrough of running JAX on NVIDIA GPUs, from container setup and jax.devices() checks to multi-GPU sharding and profiling, framed within the Google Cloud/NVIDIA collaboration.

Quality & Reliability

7/10

Content is technically accurate and delivered by engineers who maintain the tooling discussed (Google Cloud AI engineer, NVIDIA developer advocate). However, the session is produced by the two vendors themselves, all references point back to their own documentation, containers and learning path, and no independent benchmark, measurement or third-party comparison is offered to support the performance claims. The explanations of JIT/XLA fusion, automatic differentiation and NCCL-based sharding are correct and consistent with public documentation, which supports a good but not high reliability score.

Key Moments

Markers derived by PSI from the transcript: the creator did not define chapters.

Cited Sources

Concurring Sources

  • JAX documentation — Just-in-time compilation — Confirms the descriptions given in the video of jit, tracing and the causes of recompilation.
  • OpenXLA project — Corroborates the account of XLA as a domain-specific compiler performing operation fusion for accelerators.
  • NVIDIA NGC catalogue — Hosts the GPU-optimised JAX containers described in the session, including their version pinning and release cadence.

Contribution & Novelties

The session’s originality is not conceptual but operational: it assembles in one place the concrete path from a NumPy prototype to multi-GPU JAX training on NVIDIA hardware, and it does so with the two organisations that own the respective halves of the stack. The genuinely useful contribution is the explicit mapping between JAX abstractions and GPU realities — jit is explained as kernel fusion that keeps data resident on the device rather than as a generic speed switch; vmap and jit are shown to compose into a single compiled GPU program; device meshes are introduced as a way of naming GPUs so that a batch can be sharded across them, with NCCL collectives handled transparently. The teaching of profiling is also valuable in its framing: a trace made of many tiny kernels separated by gaps is presented as the visual signature of failed fusion and recompilation, which gives the viewer a diagnostic reflex rather than a tool tour. What the session does not bring is measurement — no scaling numbers, no before/after timings — so it complements rather than replaces the official documentation.

Pour aller plus loin :

  • JAX documentation — Reference for the jit, grad and vmap transformations discussed, including the rules on tracing, static arguments and recompilation triggers.
  • OpenXLA / XLA — The domain-specific compiler for linear algebra that JAX targets; explains the fusion and lowering pipeline behind the ‘why does my code recompile’ question.
  • Automatic differentiation — Background on the Autograd lineage and on forward/reverse-mode differentiation, useful to understand what grad actually computes.
  • NVIDIA Nsight Systems — The timeline profiler named in the session for visualising kernel gaps and host-device transfers.
  • NCCL — The collective-communication library the NVIDIA speaker credits for automatic data and model sharding across GPUs; worth reading its documentation alongside the multi-GPU notebook.

299 words

Radar Profile

The profile is that of a dense but introductory developer session: high on practical quantity and technical accuracy, moderate on technical depth, since performance engineering and quantitative evidence are left out. Reliability is good but constrained by the self-referential nature of the sourcing, both presenters promoting their own products and learning path. Overall the content is a solid, trustworthy entry point whose limits are scope and absence of measurement rather than correctness.

Reliability 7/10