Skip to content
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 support for most remaining atomic distributions #394

Merged
merged 5 commits into from
Nov 12, 2020

Conversation

eb8680
Copy link
Member

@eb8680 eb8680 commented Nov 11, 2020

Addresses #386. Blocked by #389.

This PR adds Funsor wrappers for most of the remaining atomic distributions in torch.distributions and numpyro.distributions, and test cases in test_distribution_generic.py. I have also added a small helper xfail_if_not_found to make writing tests for multiple backends a bit easier.

Tested:

@eb8680 eb8680 added Blocked Blocked by other issues awaiting review labels Nov 11, 2020
Base automatically changed from distribution-test-harness to master November 11, 2020 17:58
@eb8680 eb8680 removed the Blocked Blocked by other issues label Nov 11, 2020
@eb8680 eb8680 requested a review from fritzo November 11, 2020 18:54
@eb8680 eb8680 mentioned this pull request Nov 11, 2020
34 tasks
@eb8680 eb8680 merged commit 84286d1 into master Nov 12, 2020
@eb8680 eb8680 deleted the add-all-torch-distributions branch November 12, 2020 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants