TPU 挂起:提交支持请求

就 TPU 挂起问题与 Cloud 支持团队联系时,请提供以下信息:

必填

  1. 来自每个主机的诊断工件:
    tpu_stall_summary_*.pb、
    tpu_compiler_metadata_*.pb、
    tpu_core_dump_*.bin(如果您启用了 --xla_tpu_diagnostic_collect_core_dumps=true)以及
    python -m libtpu.diagnostics ./diag/ 的输出(libtpu ≥ 0.0.48)。
  2. TPU 类型和拓扑(例如 v5litepod-16、v4-32)
  3. 框架和 libtpu 版本:

    python -c "import jax; print(jax.__version__)"
    pip show libtpu | grep Version
    

有帮助

  1. 工作负载 stderr(来自挂起前后),包括 PendingEventLogger 和 3 行 TpuDiagnosticCoordinator WARNING 摘要(TPU stall snapshot (...)、TPU stall artifact: ...、Next: ...)。
  2. 用于作业的 LIBTPU_INIT_ARGS。为支持团队重现挂起问题时,我们建议:

    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"
    
  3. 训练脚本或最小重现器

  4. 时间信息 - 发生时间、训练步骤、是否可重现

模板

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