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

GPU accelerated HMC #119

Closed
yebai opened this issue Oct 29, 2019 · 4 comments
Closed

GPU accelerated HMC #119

yebai opened this issue Oct 29, 2019 · 4 comments

Comments

@yebai
Copy link
Member

yebai commented Oct 29, 2019

The following paper implements a GPU accelerated version of NUTS, and shows some nice speedups on a logistic regression model.

Tran, Dustin, Matthew W. Hoffman, Dave Moore, Christopher Suter, Srinivas Vasudevan, and Alexey Radul. "Simple, distributed, and accelerated probabilistic programming." In Advances in Neural Information Processing Systems, pp. 7598-7609. 2018.
http://papers.nips.cc/paper/7987-simple-distributed-and-accelerated-probabilistic-programming

Can we try to run the vectorised HMC in #117 on the same model, and check the speedups?

@xukai92
Copy link
Member

xukai92 commented Oct 29, 2019

Just sync the understanding. The paper has NUTS on GPUs but not the batch-mode multiple chain stuff in #117 right?

@yebai
Copy link
Member Author

yebai commented Oct 29, 2019

It runs one chain, with the log density being parallelised on multiple CPUs and GPUs.

We only need to compare between vectorised HMC and non-vectorised HMC on GPU and CPU I think. I listed the paper because it is a related work.

@xukai92
Copy link
Member

xukai92 commented Feb 15, 2020

Related DynamicHMC.jl issue: tpapp/DynamicHMC.jl#110

We could also check the difference between AHMC and DHMC on GPU using the example there.

@yebai
Copy link
Member Author

yebai commented Jan 27, 2023

This is already supported.

@yebai yebai closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants