Hi,
I included those .cuda() after this problem occurred. Previously without this also the problem was there. My feature dictionaries are around 6gb in total and i am running this on a system with 251 gb RAM. Then how this will happen?. Is there any problem with the global variables?