Open btanner opened 4 years ago
Thanks for the question!
Would you be able to expand that 5 frames
from the stack trace, and provide the full trace? Seeing deeper stacks can be helpful in figuring out what's going on!
Sure thing! Updated.
@mattjj any thoughts on this?
I was getting out of memory errors in my project in a place where some pmapped(vmapped(vmapped(code)) was doing a conversion of a large array from bfloat16 -> float32. Code below is for a different specific error message, but the weirdness here feels like it might be related:
Running in Colab on a fresh TPUv2 runtime: Setup:
Ok Case
Allocation Error when using np.float32
Restart runtime
Crash/Dump when using bfloat16
Restart runtime