You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running a computation whose basis alone takes 80 Gb of RAM, most of it being used by the P matrices in the nonlocal term.
Since compute_stresses_cart computes the gradient with ForwardDiff, it needs 7x as much additional memory (primal part + 6 dual parts). Unfortunately, 80 x 7 Gb was too much memory for me so my process got killed. :(
Could there be a way to reduce the memory usage of stress computations without sacrificing (too much) performance?
The text was updated successfully, but these errors were encountered:
Yes, we can not store the P matrix but rather build it implicitly from the form factors and structure factors (and possibly even recompute the structure factors online). Should be a relatively local change.
I was running a computation whose basis alone takes 80 Gb of RAM, most of it being used by the
P
matrices in the nonlocal term.Since
compute_stresses_cart
computes the gradient with ForwardDiff, it needs 7x as much additional memory (primal part + 6 dual parts). Unfortunately, 80 x 7 Gb was too much memory for me so my process got killed. :(Could there be a way to reduce the memory usage of stress computations without sacrificing (too much) performance?
The text was updated successfully, but these errors were encountered: