Closed VProv closed 1 week ago
This behaviour is a bit confusing, maybe at least add a description
Hi @VProv,
Thanks for contributing via #101. Yes, this is the desired behaviour to avoid OOM problems on GPU with large datasets. If you want, you can raise another PR that gives an additional argument to retain the embeddings on GPU. It will be also be helpful to include a warning in such a case as GPU memory will constantly keep on increasing as more documents are encoded.
Closing as it is stale. Feel free to re-open if you have any more questions.