I am having the same warning of using:
data, target = Variable(data, volatile=True), Variable(target)
should it be changed to:
with torch.no_grad():            
     data, target = Variable(data), Variable(target)