Cuda Out of Memory - PyTorch Forums
discuss.pytorch.org › t › cuda-out-of-memoryFeb 12, 2017 · THCudaCheck FAIL file=/home/soumith/local/builder/wheel/pytorch-src/torch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memoryTraceback (most recent call last): File "external_script.py", line 1002, in <module> final_loss = run() File "external_script.py", line 584, in run optimizer_iter_num, feature, x_dim) File "/home/ubuntu/lstm_special/rnn.py", line 74, in lstm_forward output, hn = self.net.rnn(input, (self.h, self.c)) File "/usr/local/lib/python2.