-
Notifications
You must be signed in to change notification settings - Fork 22.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
Inherit 'torch.distributions.exp_family.ExponentialFamily' in MultivariateNormal Class #69430
Inherit 'torch.distributions.exp_family.ExponentialFamily' in MultivariateNormal Class #69430
Conversation
…ariate_normal distribution
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow For more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit de0ffa4 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
@neerajprad Can you review this PR? |
@nonconvexopt: Sorry for a late reply. From what I understand, the ExponentialFamily inheritance is only useful if we want to automatically get an implementation of the Edit: Outside of that, I suppose there is value in having the natural parameters available to query. If so, we should implement the other methods too if possible and also |
Thank you for your detailed explanation. I guess there are not much advantages of inheriting I hope to take a analysis on the codes and try to fit the requirements for |
inherit_ExponentialFamily_in_MultivariateNormalMerge branch 'inherit_ExponentialFamily_in_MultivariateNormal' of github.com:nonconvexopt/pytorch into inherit_ExponentialFamily_in_MultivariateNormal
Why only the |
@neerajprad This is a trivial change and I think you can merge it if it is beneficial to PyTorch. |
Fixes #69077
Made a PR to test CI.