RuntimeError: cuda runtime error (59)

I had an issue with the embedding layer. I had an index which was greater than the vocab-size. Fixing that resolved the issue. I still don’t understand how the error shown is related to that.

3 Likes