Skip to content
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

Fix crash on map 1000 #36

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Fix crash on map 1000 #36

merged 1 commit into from
Jan 8, 2024

Conversation

Compaile
Copy link
Contributor

@Compaile Compaile commented Jan 8, 2024

This fixes the known bug

#1
AlexeyAB/darknet#8669
AlexeyAB/darknet#8766

I could reproduce it with current master on first try
Screenshot 2024-01-08 124611

This fix is not perfect since we loose some performance by not using CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM. However in our tests the difference during training was very low. (And if the last ms matters in production intereference on gpu ppl would use fp16 optimized freamworks like opencv anyway)

The mid/long term fix will be to improve the cudnn <-> darknet interface but the current status is filled with so many warnings that it seems wasted to search for this one line when there are probably many bugs in this part of the code.

Tested with current cuda and cudnn version.

@stephanecharette stephanecharette merged commit 639d72f into hank-ai:master Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants