-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve accuracy of 360 stitching memory estimation #363
Conversation
Note that the memory hook tests added for `sino_360_to_180` are failing, so further tweaks are needed.
Thanks, all seem clear me. Pretty memory-hungry one actually. |
One pretty simple way to reduce the amount of memory used is to make the weights array be I'll make an issue in the httomolibgpu repo so then we can address that at some point 🙂 |
Thanks, there is no reason to keep it 64bit. |
FYI, I'm fixing the data type thing on the httomolibgpu side of things + adding a test. Wasn't there apparently. Then we can merge |
Cool, thanks! When that's done I'll change stuff here to reflect the lower memory usage, and will check the memory hook test is still passing. |
@yousefmoazzam memory hook test now pass (couldn't run 2160-80 as OOM on this machine), feel free to add/edit anything and merge with this one? |
Ok that's fine, the 2160-80 passes on a I'll also run the 360 pipeline involving a recon method (gridrec I think?) which originally brought us to this problem, to verify it all works with that small change in the context of a proper run, and then will merge both PR's if all looks good. |
Annoyingly, I'm getting a segfault in the reslice for some reason when running the pipeline With 2 MPI processes things are all fine (no segfault in reslice, and the I feel like that's sufficient evidence that this is working fine (though further investigation into why segfault in reslice is happening once more for 360 data should be done...), what do you think @dkazanc? |
yes, certainly. We need to know why it is happening. Does it also happen for the GPU pipeline with 360 to 180 conversion or just the CPU one? |
Adding this to be aware of: |
Fixes #354
The main changes to the memory estimation are:
Acceptance criteria checklist:
sino_360_to_180
pass