#JAX
共 2 篇文章
解决 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 报错 XLA compilation failed dynamic shape 动态形状编译失败修复
排查 在 Google Cloud TPU 上运行 JAX / TensorFlow 时控制台报 XLA compilation error: Invalid dynamic shape or recompilation loop,导致训练每步都发生数十秒极长卡顿,分析 XLA 静态图编译与张量形状 Pad 对齐。


