I think .storage() will return a new reference and cannot be used to compare the location of the data:
x = torch.randn(1)
print(id(x.storage()))
> 3001145106760
print(id(x.storage()))
> 3001133757320
print(id(x.storage()))
> 3001171709448
print(id(x.storage()))
> 3001576998536

You could try to compare the .data_ptr() instead.