Skip to content
Discussion options

You must be logged in to vote

Hi Gabi! I can take the divergences question and full_ddm.

First, LANs are faster than numerical integration and can use NUTS sampling, so that's already a big time save. Right now full_ddm uses numerical integration, which is slow and has no gradients, so it can't use NUTS. A LAN is a neural network trained to approximate the likelihood. It's much faster and differentiable, so NUTS works.

The number of cores and chains shouldn't change whether the model is well-behaved. A fixed seed also won't make a 1-chain run and a 4-chain run comparable. NumPyro splits the seed into a separate key per chain, so the single chain in your 1-chain run isn't one of the four chains in your 4-chain run. Fou…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gvnpolzin
Comment options

Answer selected by EItanm1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants