Thanks for your reply
Yep, sorry the line in the tutorial is:
x = torch.ones(2, 2, requires_grad=True)
Still gives the same error though, I thought wrapping it in a Variable might help!
I will try updating
Cheers