#TensorFlow
共 2 篇文章
解决 TensorFlow 报错 OOM when allocating tensor 指南
分析 TensorFlow 启动时预占全部 GPU 显存触发 OOM 的排查方法,提供 set_memory_growth 动态显存分配方案。
解决 Google TPU 报错 XLA compilation failed dynamic shape 动态形状编译失败修复
排查 在 Google Cloud TPU 上运行 JAX / TensorFlow 时控制台报 XLA compilation error: Invalid dynamic shape or recompilation loop,导致训练每步都发生数十秒极长卡顿,分析 XLA 静态图编译与张量形状 Pad 对齐。


