Skip to content

Vectorize summarize_gaussian_mixture to avoid slow jax concatenate - #354

Draft
DanWaxman wants to merge 2 commits into
mainfrom
dw-jax-slow
Draft

Vectorize summarize_gaussian_mixture to avoid slow jax concatenate#354
DanWaxman wants to merge 2 commits into
mainfrom
dw-jax-slow

Conversation

@DanWaxman

Copy link
Copy Markdown
Collaborator

We had a big jnp.stack in the summarize_gaussian_mixture function of the missingness tutorial notebook. There is ostensibly a regression in stacking on minor axes in jax >= 0.11.0 that can cause bad runtime here. This is solved by vmapping directly instead of forming a list and stacking.

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

Successfully merging this pull request may close these issues.

1 participant