-
Notifications
You must be signed in to change notification settings - Fork 4
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
Investigate extra memory used by FBP whose origin is still unknown #365
Comments
This has been addressed in #393 . Specifically, I've been tracing all individual allocations and digged into the astra toolbox as well. The estimator code has been adjusted to reflect the original code structure better. The full details are as follows, for the test case with the following input data size:
|
#417 resolves the issue |
As part of #361, the FBP memory estimation was improved to more accurately represent what memory allocations the FBP method does. However, there is still some memory being allocated that is not yet known where in the method it is happening.
For now, a multiplier of 2 of the output of the 1D RFFT has been added to bump the memory estimation:
httomo/httomo/methods_database/packages/external/httomolibgpu/supporting_funcs/recon/algorithm.py
Lines 103 to 112 in 0b5f020
and this allows 80GB data to be put through the method in httomo without issue.
However, from observations of using cupy's
LineProfileHook
is was determined that it's most likely not the case that the 1D RFFT is creating more than one array. Therefore, more investigation is needed to determine what is causing the extra memory allocated.The text was updated successfully, but these errors were encountered: