Hint: If you want to see a list of allocated tensors when OOM happens

I have seen OOMs happen several epochs into training in tensorflow, my best guess is that if your model is at the borderline of using all the GPU memory then internal memory allocation issues such as
相关文章
相关标签/搜索