-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[cudnn] add port and enable it in darknet #7536
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
This will be very tricky to test in CI. I am interested in any kind of feedback! |
[cuda,cudnn] add a message to make it clear their versions must be kept in sync
There is no Cuda installed in any CI machine, unfortunately. That's why it's so difficult to test this PR, since it starts from a broken port for the CI point of view. It works locally if you try (don't need a CUDA card to install CUDA software, if you know how to proceed ;) ) No rush for it anyway, but it might be nice if we ever get Cuda installed for future CI tests :) |
I think we'd happily take those scripts. We definitely want our CI systems to be capable of building all the ports. |
@cbezault here it is. Taken directly from the darknet CI infrastructure |
…ly need to modify control file
@vicroms while integrating cudnn into some work, I found some bugs in OpenCV (3 and 4) dealt directly for my simplicity inside this PR. |
@cbezault any news here? |
I am going to start bringing up a new set of VMs to update some other things, I will add this to the script while I am at it. It may not be until next week sometime that they are available though. |
Ok! I hope this pr can be merged next next week! |
@Rastaban sorry for pinging again. News? |
Sorry to leave you hanging, I have not had a chance to bring up the new CI machines yet. |
ok, do you have any estimation of timing? |
cuda is now installed on the windows VMs. |
wonderful. I merged with master to trigger a rebuild. I hope it will be a green check :) |
It looks like cuda is passing on all windows machines. Based on the warning messages in cudnn it should probably build for x64-windows-static, let me know if there are additional changes that are needed on the CI machine to get that passing. I just installed cuda on the Linux CI machines and have started a rebuild on the vcpkg-Linux-PR pipeline. It may fail due to #8247, I will watch for the results. |
if you prepared the environment as requested by the port file, it should work on linux x64 (I use it locally). |
@Rastaban |
@Rastaban is there anything I can do to help deciding if merge this PR? |
@cenit thanks for adding |
@ChaoJia I agree that a cudnn dependency is missing from darknet (I don’t know how it happened, it was the main reason of that pr... :D ) |
@cenit the main reason is that it is cumbersome. |
of course CUDA will remain like it is now, most of all because the user setup inside vcpkg is impossible. |
No description provided.