#TPU
共 3 篇文章
解决 Google TPU 报错 PJIT partition spec does not match mesh 拓扑失配修复
排查 JAX 在 TPU Pod 上使用 pjit 执行张量并行(Tensor Parallelism)时抛出 ValueError: pjit partition spec does not match mesh shape,分析 设备网格(Mesh)维度声明与张量分片规范(PartitionSpec)。
解决 Google TPU 报错 TPU is already in use by another process 锁死修复
排查 Google Cloud TPU VM 上先前训练任务异常退出后,重新运行脚本报 ResourceExhaustedError: TPU device is already in use by another process,分析 libtpu 进程锁与残留死进程清理。
解决 Google TPU 报错 XLA compilation failed dynamic shape 动态形状编译失败修复
排查 在 Google Cloud TPU 上运行 JAX / TensorFlow 时控制台报 XLA compilation error: Invalid dynamic shape or recompilation loop,导致训练每步都发生数十秒极长卡顿,分析 XLA 静态图编译与张量形状 Pad 对齐。


