Would you please provide more information on how you define your models and what you mean by this method I’m unaware of called GpuVariable() ?
I would recommand using this bit of code to cast a torch tensor to gpu memory :
batch = Variable(batch.cuda())