Variable in tensorflow and variable in pytorch are different things. Variable in tensorflow is setting up a tensor and giving name and such.
When you declare a Variable in pytorch u already have a tensor made of set shape and you are just wrapping that tensor with pytorch wrapper so now you can auto compute gradients easily when backproping