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

Extension of Distributions for AD rules #255

Closed
prbzrg opened this issue Jul 30, 2023 · 2 comments
Closed

Extension of Distributions for AD rules #255

prbzrg opened this issue Jul 30, 2023 · 2 comments

Comments

@prbzrg
Copy link

prbzrg commented Jul 30, 2023

There is an extension of Distributions for AD rules . Which one should be used DistributionsAD or extension of Distributions?

@devmotion
Copy link
Member

As a user? The ultimate goal is to make DistributionsAD (and its type piracies) obsolete by moving its content to (extensions of) Distributions and other upstream packages such as ReverseDiff, Zygote etc. But until this transition is completed, some AD-related things with Distributions won't work correctly if you don't use DistributionsAD. I suggest though checking first if you really need DistributionsAD - it contains a lot of type piracy, so if you don't need it and everything works fine without it, better don't use it 🙂

The extension of Distributions will be loaded automatically if you (or a dependency) loads ChainRulesCore, you can't control this apart from (not) loading ChainRulesCore.

@prbzrg
Copy link
Author

prbzrg commented Aug 3, 2023

Thank you for your response

@prbzrg prbzrg closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants