When contacting Cloud Support about a TPU hang, include the following:
Required
- Diagnostic artifacts from every host:
tpu_stall_summary_*.pb,
tpu_compiler_metadata_*.pb,
tpu_core_dump_*.bin(if you enabled--xla_tpu_diagnostic_collect_core_dumps=true), and
output ofpython -m libtpu.diagnostics ./diag/(libtpu≥ 0.0.48). - TPU type and topology (e.g.,
v5litepod-16,v4-32) Framework and libtpu versions:
python -c "import jax; print(jax.__version__)" pip show libtpu | grep Version
Helpful
- Workload stderr from around the hang, including the
PendingEventLoggerand the 3-lineTpuDiagnosticCoordinatorWARNINGdigest (TPU stall snapshot (...),TPU stall artifact: ...,Next: ...). LIBTPU_INIT_ARGSused for the job. When reproducing a hang for Support, we recommend:export LIBTPU_INIT_ARGS="--xla_tpu_impure_diagnostic_artifacts_dir=gs://MY_BUCKET/tpu-diagnostics/ --xla_tpu_debug_sflag_wait_timeout_ms=600000 --xla_tpu_diagnostic_cooldown_duration=5m"Training script or minimal reproducer
Timing information — when it happened, what training step, whether it reproduces
Template
Title: TPU hang on [TPU type]
Environment:
TPU: v5litepod-16
JAX: 0.11.1
libtpu: 0.0.51
What happened:
Training hung at step 15,000 after ~2 hours. No error in stderr.
Stall detection log lines:
[paste the PendingEventLogger and TpuDiagnosticCoordinator lines]
Attached: tpu_stall_summary_*.pb, tpu_compiler_metadata_*.pb