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

jit around pmap'ed FP & BP is a problem when pmap'ing SIR cost functions #1

Open
clemisch opened this issue Feb 19, 2023 · 0 comments

Comments

@clemisch
Copy link
Owner

The jit around pmap might lead to performance issues when using pmap on SIR cost functions.

When a user only uses FP or BP on its own, the jit seems to be faster. But it leads to synchronizing all data on every device, which is not desirable if any substantial computation comes afterwards. This could be filtering projections for FBP or computing cost function on projections for SIR.

So it might be better to disable automatic jit of pmap. We could instead provide a function for FBP (combining filtering and BP) and jit around that?

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

1 participant