threestudio icon indicating copy to clipboard operation
threestudio copied to clipboard

avoid saving whole tensor with .clone()

Open kamwoh opened this issue 2 months ago • 0 comments

https://discuss.pytorch.org/t/saving-tensor-with-torch-save-uses-too-much-memory/46865/2

saving the text embedding as cache without .clone() will have the file size of whole tensor.

kamwoh avatar Apr 04 '24 17:04 kamwoh