A Developer's Guide to Debugging JAX on Cloud TPUs: Essential Tools and Techniques- Google Developers Blog
Jan 5, 2026Zhenzhen (Jen) Tan, Brian Kang, Ashish Narasimham

Summary
Introduces essential debugging and profiling tools for JAX on Cloud TPUs: libtpu (TPU Runtime), JAX/jaxlib (framework), verbose logging flags (TPU_VMODULE, TPU_MIN_LOG_LEVEL, TF_CPP_MIN_LOG_LEVEL, TPU_STDERR_LOG_LEVEL), TPU Monitoring Library (programmatic metrics like duty_cycle_pct), and tpu-info CLI (real-time memory and utilization). Details log file locations and retrieval methods across TPU VMs. Provides example commands and code snippets for enabling logging, using the monitoring library, and running tpu-info.
More from the TensorFlow Machine Learning Framework trail
- Decoding cosmic signals with deep learning and Keras- Google Developers Blog
- Enterprise-Grade Precision for Long-Context Multimodal Embedding Inference on Cloud TPU- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog