-
-
Notifications
You must be signed in to change notification settings - Fork 152
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 JAX implementation for InvGammaRV
#1368
Comments
Hey, I'm new here but I have some idea of working with JAX. Is this up for contributions? |
By all means! |
Great! Can you point me to any starting documentation that'll be helpful. I am aware about the contributing guidelines. Let me know if you think I should do anything else. I'll open a draft PR to discuss things in detail there too! |
Here's an explanation I gave in a related issue. This should be enough to get you started: #1335 (comment) |
Okay thanks! I'll go over it and start the work. |
@rlouf I've been taking a look at this and may have come across a small notational choice that may cause confusion with users. In ". This, however, creates a confusing discrepancy between Aesara's documentation of the ". I think the BTW: @manish-p-gupta are you still working on this? If not, I don't mind taking a stab at it. Let me know what you both think! Thanks. |
I agree with the fact that it is confusing; I actually made a mistake because of this when using Aesara in a project. I believe that we were blindly following SciPy when implementing this. But now the issue is that downstream code may be relying on this API so we have to be cautious. You can get a stab at the JAX implementation if you'd like! |
In terms of the parameter name thing: Ah I see. I can take a peek and see how much downstream code is reliant on it. I agree that being cautious is the best plan. Also sounds good, thanks! I have to get public release permission (from work) if I were to literally contribute so it may take a week or so. |
Hi @rlouf @brandonwillard just checking in here. To review: the Here's what I've found regarding the downstream code dependence on
In conclusion, the files affected by a change in
Note, Let me know what you think. |
I think the bigger issue is user-written code and other packages that depend on the current parameterization. |
@brandonwillard makes sense. So should I go ahead then and give the JAX implementation a go with how our Inverse-Gamma currently stands? And I totally forgot about the other "children" packages of Aesara 😅, that is definitely not just 2 files then. |
Yeah, feel free to create a PR. |
No description provided.
The text was updated successfully, but these errors were encountered: