Skip to content

sampling_time in sample_prior_predictive group attrs #7791

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

Open
williambdean opened this issue May 19, 2025 · 1 comment
Open

sampling_time in sample_prior_predictive group attrs #7791

williambdean opened this issue May 19, 2025 · 1 comment

Comments

@williambdean
Copy link
Contributor

williambdean commented May 19, 2025

I'm encountering a slow call to sample_prior_predictive while working with @cetagostini

Currently, some of the samplers add sampling_time to the posterior group. I am suggesting a similar attrs for prior and or prior_predictive groups.

@ricardoV94
Copy link
Member

ricardoV94 commented May 19, 2025

How is that helpful to address the slow sampling time? You may instead want to profile why it's slow with model.profile(model.basic_RVs + model.deterministics). You can also try passing compile_kwargs={mode: "NUMBA"} to prior_predictive in case it's the C backend that's slow

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