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

Document that if using n_chunks to trade off memory for speed, also should set cache_likelihood=False #6

Open
edeno opened this issue Jan 13, 2025 · 1 comment
Assignees

Comments

@edeno
Copy link
Contributor

edeno commented Jan 13, 2025

Otherwise the likelihood will be computed and stored for the entire dataset and this usually will be too much for users that are running out of the GPU memory.

@edeno edeno self-assigned this Jan 13, 2025
@edeno
Copy link
Contributor Author

edeno commented Jan 13, 2025

Another thing that may help, set the following environmental variable to use all of the available GPU memory:

os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "1.00"

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