Are you sure the values are different or could it be just an issue of the printing precision?
You can change it with torch.set_printoptions(precision=6) and see if numpy prints the same values as PyTorch.
This should be the case as the underlying storage is shared between numpy and PyTorch.