-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[Reinstate] Wishart distribution #70377
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ns.constraints.symmetric'
…h into wishart_distribution
neerajprad
approved these changes
Dec 29, 2021
Contributor
|
@neerajprad has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
Author
|
Thank you for your time. I will look forward to contribute Inverse Wishart distribution next at #70275. |
wconstab
pushed a commit
that referenced
this pull request
Jan 5, 2022
Summary: Implement #68050 Reopened merged and reverted PR #68588 worked with neerajprad cc neerajprad Sorry for the confusion. TODO: - [x] Unit Test - [x] Documentation - [x] Change constraint of matrix variables with 'torch.distributions.constraints.symmetric' if it is reviewed and merged. Debug positive definite constraints #68720 Pull Request resolved: #70377 Reviewed By: mikaylagawarecki Differential Revision: D33355132 Pulled By: neerajprad fbshipit-source-id: e968c0d9a3061fb2855564b96074235e46a57b6c
facebook-github-bot
pushed a commit
that referenced
this pull request
Feb 16, 2022
…72059) Summary: Maintanance of #70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: #72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908
pytorchmergebot
pushed a commit
that referenced
this pull request
Feb 16, 2022
…72059) Summary: Maintanance of #70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: #72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3b)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 17, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 20, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 20, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 20, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 21, 2022
…(#72059) Summary: Maintanance of pytorch/pytorch#70377 Multiple modifications of the merged initial implementation of Wishart distribution. cc neerajprad Key modifications: - `torch/distributions/wishart.py`: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the `eps` value paired to each `torch.dtype` - `test/distributions/test_distributions.py`: Test Wishart distribution implementation in numerically unstable zones, i.e `df` values are at `ndim - 1 < df < ndim` where `ndim` is the one dimenstion of the Wishart parameter & sample matrix. Pull Request resolved: pytorch/pytorch#72059 Reviewed By: H-Huang Differential Revision: D34245091 Pulled By: neerajprad fbshipit-source-id: 1cd653c1d5c663346433e84fd0bbe2e590790908 (cherry picked from commit ef1da3ba465247f5777c3c40a90b96955c4281d0)
facebook-github-bot
pushed a commit
that referenced
this pull request
Mar 15, 2022
…72993) Summary: Maintanance of #70377 Multiple modifications of the merged initial implementation of Wishart distribution. Key modifications: * torch/distributions/wishart.py: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the eps value paired to each torch.dtype * test/distributions/test_distributions.py: Test Wishart distribution implementation in numerically unstable zones, i.e df values are at ndim - 1 < df < ndim where ndim is the one dimenstion of the Wishart parameter & sample matrix. Re-opened reverted PR #72059 cc neerajprad vadimkantorov Pull Request resolved: #72993 Reviewed By: samdow Differential Revision: D34853807 Pulled By: neerajprad fbshipit-source-id: eb62dca19bf8a934fdf59b4ffc58587447fe8378
pytorchmergebot
pushed a commit
that referenced
this pull request
Mar 15, 2022
…72993) Summary: Maintanance of #70377 Multiple modifications of the merged initial implementation of Wishart distribution. Key modifications: * torch/distributions/wishart.py: Clamp (Clip) float type values to calculate reciprocal in numerically stable manner, by using the eps value paired to each torch.dtype * test/distributions/test_distributions.py: Test Wishart distribution implementation in numerically unstable zones, i.e df values are at ndim - 1 < df < ndim where ndim is the one dimenstion of the Wishart parameter & sample matrix. Re-opened reverted PR #72059 cc neerajprad vadimkantorov Pull Request resolved: #72993 Reviewed By: samdow Differential Revision: D34853807 Pulled By: neerajprad fbshipit-source-id: eb62dca19bf8a934fdf59b4ffc58587447fe8378 (cherry picked from commit 99240c0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cla signed
open source
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
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.
Implement #68050
Reopened merged and reverted PR #68588 worked with @neerajprad
cc @neerajprad
Sorry for the confusion.
TODO: