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

freeze pymc models #156

Open
aseyboldt opened this issue Oct 17, 2024 · 0 comments
Open

freeze pymc models #156

aseyboldt opened this issue Oct 17, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@aseyboldt
Copy link
Member

Some pymc models give errors if they are not frozen when sampling with jax, because there are still dynamic shapes that are not supported by jax.

We should just freeze the model internally when we compile with jax with the pymc function

from pymc.model.transform.optimize import freeze_data_and_dims
@aseyboldt aseyboldt added the help wanted Extra attention is needed label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant