-
Notifications
You must be signed in to change notification settings - Fork 22
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
AI reconstruction profiling #488
Comments
This function generates all possible track candidates from the list of super-precluster. |
This is on cosmic data, so I am not sure it is the best representation. The scripts and results can be found here https://code.jlab.org/hallb/alert/cj_profile |
@mathieuouillon Are there some settings for pytorch that I should set to limit the resources it tries to use? Should this be in a yaml file or passed to |
It appears the reconstruction never finishes the first event before running out of memory. I assume this can be resolved with more VM memory allocations? Every "seed" in the loop takes a few seconds on my machine which seems broken. I really cannot follow the logic of the function too. |
@mathieuouillon and @baltzell doesn't this line mean mean it will go on forever until the line below breaks out of the loop? Also seems like code that would be very prone to introducing memory leaks. I am very skeptical this code is reliable. Nested 4-loops deep with and too many variable names with the word "combination" is a bad look. |
I was running a profiler and found that
org/jlab/rec/ahdc/AI/TrackConstruction.get_all_possible_track
takes 99.7% of the cpu resources (sampled over 1 minute).Is this expected?
The text was updated successfully, but these errors were encountered: