i have got the pytorch tutorial code on http://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html
and i try to switch it to a GPU version but when i run this code, the memory grows unlimitly until OOM
the text at the last line is my gpu version code
i'm new for pytorch, plz give me some advise,thx all of you
cuda_bilstmcrf.txt