Support vectorized likelihood evaluation #118
caoxiaoyue
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
This should be possible to do. Can you tell me more? What sorts of operations does the likelihood use? Are there while_loops's or scan's? What is the slowest part of the likelihood evaluation, e.g. matrix inverse etc? And about the model. How many parameters is the model? Is it a complex posterior with sharp edges, etc? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on a project that aims to enhance the speed of strong lens modeling using JAX. In my particular case, the computation of the likelihood is a relatively time-consuming process, and running the likelihood evaluation on a GPU typically yields faster results compared to using a CPU. By further implementing a vectorized approach for the likelihood evaluation, as described in the UltraNest 3.6.2 documentation's features section, the full potential of the GPU can be harnessed, resulting in a potential speedup of up to 100 times compared to the CPU. I am curious to know if Jaxns can support a similar vectorized likelihood evaluation, similar to the functionality provided by the UltraNest sampler.
Beta Was this translation helpful? Give feedback.
All reactions