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

Implement sampling in float32 #7

Open
aseyboldt opened this issue Aug 5, 2022 · 0 comments
Open

Implement sampling in float32 #7

aseyboldt opened this issue Aug 5, 2022 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aseyboldt
Copy link
Member

aseyboldt commented Aug 5, 2022

Right now everything in nutpie (the sampler and the logp functions) are working in float64. For some models we could get decent speedups if we also support float32.
Pytensor can already compile float32 logp functions, but we have to change the python wrapper to make use of that. We also have to add a <F: Float> type parameter to some operations in nuts-rs, and figure out how to do the simd functions with that.

@aseyboldt aseyboldt changed the title Test with pymc in float32 mode Implement sampling in float32 Jan 6, 2023
@aseyboldt aseyboldt added help wanted Extra attention is needed good first issue Good for newcomers labels Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant