The Pytorch Variable API has been deprecated. The behavior of Variables is now provided by the Pytorch tensors and can be controlled with the
requires_grad
parameter.
The Variable API now returns tensors anyway, so there should not be any breaking changes.