before training:
(/home/jkarimi91/Apps/anaconda2/envs/torch) jkarimi91@jkarimi91-desktop:~/Projects/chatbot$ python call.py 
('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 569 MiB, 10600 MiB

during training (after input and target seqs have been pushed to gpu but before feeding them through the model):
(/home/jkarimi91/Apps/anaconda2/envs/torch) jkarimi91@jkarimi91-desktop:~/Projects/chatbot$ python chatbot.py 
('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 1063 MiB, 10106 MiB

('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 4985 MiB, 6184 MiB

('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 4985 MiB, 6184 MiB

('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 5765 MiB, 5404 MiB

('__CUDNN VERSION:', 6021)
('__Number CUDA Devices:', 1L)
index, name, driver_version, memory.total [MiB], memory.used [MiB], memory.free [MiB]
0, GeForce GTX 1080 Ti, 375.82, 11169 MiB, 8881 MiB, 2288 MiB

THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1503966894950/work/torch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
Traceback (most recent call last):
  File "chatbot.py", line 16, in <module>
    train_losses, val_losses = model.train(iters=1000, batch_size=100, print_iters=100)
  File "/home/jkarimi91/Projects/chatbot/models.py", line 84, in train
    train_loss.backward()
  File "/home/jkarimi91/Apps/anaconda2/envs/torch/lib/python2.7/site-packages/torch/autograd/variable.py", line 156, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, retain_variables)
  File "/home/jkarimi91/Apps/anaconda2/envs/torch/lib/python2.7/site-packages/torch/autograd/__init__.py", line 98, in backward
    variables, grad_variables, retain_graph)
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1503966894950/work/torch/lib/THC/generic/THCStorage.cu:66