-
Notifications
You must be signed in to change notification settings - Fork 483
NN clusterizer: Bug-fixes and adding deterministic mode #14530
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5ef448c
Adding first version of kernel timers
ChSonnabend 520de51
Merge branch 'dev' into onnx_gpu_timer
ChSonnabend fcf46d9
Removing GPU_CONFIG_KEY from dpl-workflow.sh to set my own values
ChSonnabend f235071
Merge branch 'dev' into onnx_gpu_timer
ChSonnabend 4d64371
Merge branch 'dev' into onnx_gpu_timer
ChSonnabend a221eb4
Merge branch 'dev' into onnx_gpu_timer
ChSonnabend 7f70002
Bug fixes
ChSonnabend ff34a9d
undoing changes in dpl-workflow.sh
ChSonnabend 05a64bb
Furhter fixes and beautifications
ChSonnabend 8f06331
Please consider the following formatting changes
alibuild 27e6ead
Merge pull request #30 from alibuild/alibot-cleanup-14530
ChSonnabend 152f459
Removing unused timers
ChSonnabend 5801e3a
Moving Stop() of classification timer
ChSonnabend f4dcbaa
Adding force method to fill input like it is done on GPU
ChSonnabend e6482ab
Removing unnecessary static asserts
ChSonnabend f2d2b86
Adding deterministic mode (unfortunately that did not make it determi…
ChSonnabend f03fdc3
Please consider the following formatting changes
alibuild 38c3856
Merge pull request #31 from alibuild/alibot-cleanup-14530
ChSonnabend 52235a3
Adjusting for comment
ChSonnabend 8c87d37
Adding deterministic mode
ChSonnabend f8139a7
Please consider the following formatting changes
alibuild 7bec287
Merge pull request #32 from alibuild/alibot-cleanup-14530
ChSonnabend File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why don't you use the existing flag for the deterministic mode?
GPU_proc.deterministicGPUReconstructionThere 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.
Because from what I could see it actually doesn't do what it's supposed to do (it's not deterministic even when setting that flag to 1, also reported like this in several other forum entries). On the other hand one can switch it on like this manually. But I can make it an or-statement to set it to 1 if GPU_proc.deterministicGPUReconstruction
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.
Done. Did in the clusterizer code though, not directly in the OrtInterface class
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.
Well, the GPU_proc.deterministicGPUReconstruction should guarantee that we get deterministic results. If we are not there yet in the NN clusterization then we have to work to understand what is non-deterministic.
But anything that is needed for deterministic results should automatically be enabled by this flag.
If you want to have more fine grained settings to enable partial deterministic stuff, you can add them in the NN settings. But the global flag should automatically enable all of them.