I am running a simple lstm model.
Here is the main code.https://paste.ubuntu.com/26301189/ 8
The pytorch version is 0.2.0_3.
The cuda version is 8.0.61.
In fact, I was able to run this code successfully last week. So I have no idea where the bug come from.