-
Notifications
You must be signed in to change notification settings - Fork 8
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
Run multiple MCMC chains with NumPyro without flags #17
Comments
@neerajprad Should we set num_host_device_count to 4 by default? If users run MCMC with a higher |
@fehiepsi - Do you mean setting it to 4 in brmp or in NumPyro? I think setting it to 4 for brmp makes sense (for CPU). In any case, I think we should also try to develop a better understanding of XLA's behavior when we change this environment flag. Even if it seems safe now, it is possible that XLA starts using this flag for some optimization in the future and users will be pushed into a regime of poor performance simply because the default value for the environment flag is different than the actual device count or how XLA expects this flag to be used. |
I meant in both libraries. :D
Agreed! We should talk about this when we meet its developers. For now, let's keep the default behavior. |
See pyro-ppl/numpyro#364.
The text was updated successfully, but these errors were encountered: