-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix for product of Dirichlet
#322
Conversation
@devmotion has a fair comment, but the code looks good to me otherwise. I'm confused by the CI failure, the new test passes for me locally. |
Co-authored-by: David Widmann <[email protected]>
@devmotion good shout 👍
Seems to be a julia v1.6 thing. Looking at the deps used, I notice DistributionsAD is on 0.6.45 vs. 0.6.55 (on Julia latest). Miiight be it, though uncertain why. Lookin' into it. EDIT: ah, it's just |
The way we use |
There's |
Go for it! |
|
* Work around eachslice limitation on Julia <v1.9 * Bug fix * Fix Tapir tests
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
logpdf_with_trans
currently doesn't handle stuff like products ofDirichlet
Long-term we want to remove
logpdf_with_trans
completely, but for now this is holding up TuringLang/DynamicPPL.jl#575 so seems worth providing a hotfix.