Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA out of memory for large dataset despite small batch size #11

Open
Spandan-Madan opened this issue Dec 25, 2021 · 0 comments
Open

Comments

@Spandan-Madan
Copy link

I am trying to run the model on a custom dataset, which is significantly larger than the datasets used in this repo.

On line 520 of trainer.py while calculating k_means, a large enough dataset creates problems as it tries to compute the k_means for the whole dataset simultaneously which leads to CUDA out of memory issues.

Any leads on how this can be improved?

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

No branches or pull requests

1 participant