Google logo

How Google Uses NumPy

4 engineering articles about NumPy from Google's engineering team

Articles

Filter:
Google logo
Google
Intermediate
This second installment explores how Ray’s higher-level libraries—Serve, Data, and Train—abstract the complexities of running AI workloads on Google's TPU slices. Ray Serve uses a simple topology configuration to correctly gang-schedule large multi-host models, while Ray Data eliminates data-loading bottlenecks by feeding accelerators directly with native JAX batches. Finally, JaxTrainer streamlines distributed training across TPUs by automatically handling cross-slice coordination, checkpointing, and fault tolerance.
Ivan Nardini, Spencer Peterson
7 min read
Includes Code
--
Google logo
Google
Intermediate
Distributed AI training is notoriously fragile because losing a single machine typically crashes the entire multi-node job, forcing a time-consuming, full-workload infrastructure restart. To address this, Google’s JAX ecosystem utilizes elastic training via Pathways, which converts a hardware failure into a catchable Python exception so the running process can survive. When an unplanned failure occurs, the system automatically replaces only the broken worker, restores the last viable checkpoint from Cloud Storage, and resumes training in place—minimizing total downtime to under two minutes without ever restarting the main controller process.
Luke Baumann, Abhinav Singh, Ivan Nardini
24 min read
Includes Code
--
Google logo
Google
Advanced
The article discusses the increasing adoption of JAX in robotics, highlighting its efficiency in optimal control and simulation. It features insights from Max Muchen Sun, a Robotics Ph. D.
Srikanth Kilaru, Max Muchen Sun
6 min read
Has Summary
--
Google logo
Google
Beginner
The article discusses the release of MediaPipe Solutions for Raspberry Pi and iOS, highlighting the capabilities of the new iOS SDK and the updated Python SDK for Raspberry Pi.
Paul Ruiz
4 min read
Includes Code
Has Summary
--

You've reached the end! All 4 articles loaded.