Refactor DNN module to build with cudnn 9#25412
Merged
asmorkalov merged 10 commits intoopencv:4.xfrom May 28, 2024
Merged
Conversation
Contributor
Author
|
I ran the precommit hook, but it is highlighting a lot of formatting related problems. Is there a simple fix for this? |
Contributor
|
@ZelboK thanks for the patch. General comments:
|
3bcf55c to
7d9844c
Compare
Contributor
Author
|
@asmorkalov All pass. Updated to remove the formatting problems. Also, is there no formatting hook I could run to do all the formatting automatically for me? |
Contributor
|
The PR breaks CuDNN 8 (v 8.7.0, Ubuntu 18.04): Details |
Contributor
it was because the PR is incomplete. |
…PIs from cudnn 9. Initial work/foundation Formatting fix. format.
7d9844c to
8eb703b
Compare
Contributor
|
great job @asmorkalov! I'm waiting to that for build on jetson |
Contributor
|
There is still LSTM test failure. |
asmorkalov
reviewed
May 27, 2024
Remove print statements.
remove redundant coment
Remove trailing white space
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A lot of APIs that are currently being used in the dnn module have been removed in cudnn 9. They were deprecated in 8. This PR updates said code accordingly to the newer API.
Some key notes:
opencv_test_coretests passopencv_modules, gcc 11.4, WSL 2.I was unable to get the tests working for
opencv_test_dnnandopencv_perf_dnn. The errors I get are of the following:So before I spend more time investigating I was hoping to get a maintainer to point me in the right direction here. I would like to run these tests and confirm things are working as intended. I may have missed some details.
Pull Request Readiness Checklist
relevant issue
(#24983
Patch to opencv_extra has the same branch name.