Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Added more tests for
linearize
andmake_empirical_fisher_vp
#405Added more tests for
linearize
andmake_empirical_fisher_vp
#405Changes from all commits
721b823
77249ad
1ba6b51
8b3db64
944a03c
0f01355
ecf75b5
b1964ae
1b016ae
8800752
7b0f248
a709840
15be8ed
348a3d9
6d9522d
0148b61
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
If this is the test you expect to fail without #408, can you mark it with
pytest.mark.xfail(reason="fails without fix in https://github.com/BasisResearch/chirho/pull/408")
?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.
Given that the change in #408 now just uses
SeedMessenger
in thelinearize
body, I can fix these errors by doing the same in this test. I'll push up these changes now.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.
@eb8680 just made this change!
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.
That's fine, but remember to remove the
SeedMessenger
here in #408, since you want this test to exercise the changes made toNMCLogPredictiveLikelihood
there.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.
Ok in #408, I followed your suggestion here #408 (review), and did not actually modify
NMCLogPredictiveLikelihood
. I just checked ifworks in the
test_nmc_likelihood_seeded
test in #408. I think we can move this discussion to #408 if you have other suggestions on this point!