Hi,
_version changes whenever you do inplace operations on a Tensor.
But there is a good reason for that, it’s because changing that Tensor’s value could lead to wrong result from the autograd.
What is the reason why you cannot append the predicted tokens in a python list and then cat them at the end?