Hi,
From the error message it looks like you give him torch.FloatTensor as input.
If your model is on GPU, you should give him torch.cuda.FloatTensor (EDIT: sorry wrong name for cuda tensors).
You can convert your inputs to cuda by doing: input = input.cuda() before forwarding it through the network.