-
Notifications
You must be signed in to change notification settings - Fork 52
Do not store links which will be rejected #933
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
base: main
Are you sure you want to change the base?
Conversation
Should I also make the changes to the CPU version? |
Could you please provide us a bit more information about what you are doing here? And how does this interact with #908? No need to update the CPU code if the physics performance doesn't change. |
Having read through it I really like the changes. Can we un-draft this? I am currently running some performance tests, if those turn out alright I am happy to merge. |
I have more changes to come. Some edge cases, and also usage of track candidate lengths to condition the tips storage in |
It will be likely that cuda tests that compare with cpu finding results might fail if the finding results change. Have you run |
Ah, well spotted! The Gitlab CI doesn't run for Petr. |
Confirmed the tests fail:
Here's the number of tracks over these commits:
348de1a (main):
|
I see, I will run it locally before the next push. However, I think that I found the discrepancy. It inserts holes when the branching is stopped due to reaching maximum candidates per seed. Also, the hole inserting does not apply this cut. This is one of the reasons why I did not want to undraft it yet. |
72e35db
to
0613ce5
Compare
62d9ee4
to
974a329
Compare
Performance summaryHere is a summary of the performance effects of this PR: GraphicalTabular
Note This is an automated message produced on the explicit request of a human being. |
I'd really like to understand the performance regression that we have going on in the fit kernel. Since you haven't touched the fitting kernel itself, it would seem to me that you are either fitting more tracks or that your tracks are somehow longer. Have you looked into this? |
I have not looked into the fitting. I see that the increase is related to the max skipping. The number of tracks is the same, as proven by |
I see the following change in the number of tracks being passed to the fitter:
So the number of tracks increases by 0.6%, the number of track states increases by 0.9%, and the average number of states per track increases by 0.2%. By itself I don't think this is a problem (and I'm not sure why the fitting time increases by 8.7% while the number of track states increases by only 0.9%) but you claim that tracks should be shorter because you remove holes. 🤔 |
device/common/include/traccc/finding/device/impl/build_tracks.ipp
Outdated
Show resolved
Hide resolved
device/common/include/traccc/finding/device/impl/find_tracks.ipp
Outdated
Show resolved
Hide resolved
The difference in track counts does go away if we increase
@beomki-yeo what's your take on this? I think it is okay, and I think we might want to eventually get rid of the |
It is correct that it is non-deterministic but we may need to find alternative if we want to get rid of it 🤔 |
@fiedlerp Could you write a description with some details so we can review the PR? Increased fitting time reported by Stephen is definitely weird to me |
Indeed this is a good point; ideally I'd like to replace it with some of deterministic mechanism that achieves the same thing... I'll think about it. |
The PR consists of 3 commits, each handling one of the conditions which kill or reject candidates. The first commit moves the seed branching cut from The second commit moves the step skipping (hole counting) condition also from The third commit adjusts the candidate length condition in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The list of changes makes sense to me. Please resolve the @stephenswat 's comments and update the branch to merge the PR
Please revert the change introducing the early returns, rebase and we can move towards merging this. |
86c3bda
to
4054909
Compare
4054909
to
791fbfe
Compare
|
The build fails on a detray-related issue. |
No description provided.