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

Parallelize projection computation and avoid running out of memory #322

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ethanbb
Copy link
Collaborator

@ethanbb ethanbb commented Oct 30, 2024

I noticed that my CNMF runs were failing due to running out of memory when computing projections. Since I realized the main CNMF run function already has a mechanism for estimating how to break up the movie into chunks for parallel processing to avoid running out of memory, I just reused that here.

Draft because I haven't added tests (should ensure the results are accurate) and probably it would also make sense to process chunks in series in the non-parallel case to still avoid OOM.

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