Skip to content

How to speed up model fitting of CustomDist? #6661

Answered by ricardoV94
thipokKub asked this question in Q&A
Discussion options

You must be logged in to vote

We are working in speeding up these type of gradients in pymc-devs/pytensor#174

Right now they are implemented in Numpy and can't be compiled to JAX.

I will try to push that PR over the finish line sometime in the next weeks.

For now, if you want to speed them you might need to re-implement the Ops manually in your target backend which isn't trivial if you are not familiar with PyTensor and/or JAX

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thipokKub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants