Hi,
This happens because the data in your dataset are double.
Which I guess happens because you load them from numpy which store floating point numbers in double by default most of the time.
Another alternative to save memory is to do X, y = torch.tensor(X).float(), torch.tensor(y)