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

Reconstructing large volumes #180

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

Conversation

talonchandler
Copy link
Collaborator

@talonchandler talonchandler commented Jan 31, 2025

This WIP implements two strategies to scale our reconstructions.

  1. stretched_multiply enables efficient application of a small OTF to a large dataset. This approach approximates the OTF as a piece-wise constant function, and applies this smaller array to datasets without upsampling. This approach allows us to reduce OTF memory requirements by as much as needed, trading OTF memory for accuracy.

  2. An overlap-add approach to large convolutions. This approach avoids larger-than-GPU-memory FFTs by splitting the volume in to blocks, processing each block individually, then combining the results. Here I am implementing a "for loop" approach to the outer blocks (so it will scale linearly), but when we integrate with recorder we can parallelize the processing of each block on the HPC.

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