TPU 중단에 대해 Cloud 지원팀에 문의할 때는 다음을 포함하세요.
필수
- 모든 호스트의 진단 아티팩트:
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)의 출력 - TPU 유형 및 토폴로지(예:
v5litepod-16,v4-32) 프레임워크 및 libtpu 버전:
python -c "import jax; print(jax.__version__)" pip show libtpu | grep Version
유용함
PendingEventLogger및 3줄TpuDiagnosticCoordinatorWARNING다이제스트(TPU stall snapshot (...),TPU stall artifact: ...,Next: ...)를 포함하여 중단 주변의 워크로드 stderr작업에 사용된
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"학습 스크립트 또는 최소 재현기
타이밍 정보 — 발생 시점, 학습 단계, 재현 여부
템플릿
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