I tried to reproduce this issue, but get the same values for each call:
tensor([1.338268518448e+00, 1.687772154808e+00, 1.328836917877e+00, 1.866955399513e+00,
        0.000000000000e+00, 2.101119518280e+00, 1.542701721191e+00, 1.814857602119e+00,
        0.000000000000e+00, 1.688515305519e+00])

Also, I set torch.set_printoptions(precision=12, sci_mode=True) to get these outputs.
Which PyTorch version are you using?