-
Notifications
You must be signed in to change notification settings - Fork 23.2k
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
Add sample validation for LKJCholesky.log_prob #52763
Conversation
💊 CI failures summary and remediationsAs of commit a08277c (more details on the Dr. CI page):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Codecov Report
@@ Coverage Diff @@
## master #52763 +/- ##
=======================================
Coverage 80.80% 80.80%
=======================================
Files 1972 1972
Lines 216331 216333 +2
=======================================
+ Hits 174811 174815 +4
+ Misses 41520 41518 -2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx Neeraj!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@neerajprad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@ailzhang - Is it possible to cherry-pick this on to the 1.8 release branch, or is it too late? This change affects validation for the new LKJCholesky distribution and exposes the documentation. |
@neerajprad merged this pull request in 0f3a3f2. |
This is already added to the master branch in #52763.
This is already added to the master branch in #52763.
Summary: Fixes pytorch#52724. This fixes the following for the LKJCholesky distribution in master: - `log_prob` does sample validation when `validate_args=True`. - exposes documentation for the LKJCholesky distribution. cc. fehiepsi, fritzo Pull Request resolved: pytorch#52763 Reviewed By: anjali411 Differential Revision: D26657216 Pulled By: neerajprad fbshipit-source-id: 12e8f8384cf0c3df8a29564c1e1718d2d6a5833f
Fixes #52724.
This fixes the following for the LKJCholesky distribution in master:
log_prob
does sample validation whenvalidate_args=True
.cc. @fehiepsi, @fritzo