Skip to content

Conversation

@kamwoh
Copy link

@kamwoh kamwoh commented Apr 4, 2024

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 added 2 commits April 4, 2024 18:34
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.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant