-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
Refactor DNN module to build with cudnn 9 #25412
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
Conversation
|
I ran the precommit hook, but it is highlighting a lot of formatting related problems. Is there a simple fix for this? |
|
@ZelboK thanks for the patch. General comments:
|
3bcf55c to
7d9844c
Compare
|
@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? |
|
The PR breaks CuDNN 8 (v 8.7.0, Ubuntu 18.04): |
it was because the PR is incomplete. |
…PIs from cudnn 9. Initial work/foundation Formatting fix. format.
7d9844c to
8eb703b
Compare
|
great job @asmorkalov! I'm waiting to that for build on jetson |
|
There is still LSTM test failure. |
Remove print statements.
remove redundant coment
asmorkalov
left a comment
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.
👍
Remove trailing white space
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.