Hi Miguel, Stan now uses the make_callback_var
function to specify pre-computed gradients, I put together an example of using this for pre-computed gradients over in this post: Gamma distribution quantile and inverse quantile function - #42 by andrjohns
2 Likes