Dl4j cuda 11.2 running out of memory on evaluation on ubuntu 20.04

@agibsonccc hi, i sent you a dm and shared the code with you on github on Friday - 22 October, 2022, did you receive my message and request?

@ajmakoni yes I did sorry I also did see the github repo, just not enough time to get to it yet. Thanks for following up. Please ping me by end of week again.

@agibsonccc okay, thanks. will ping you again at the end of the week

@agibsonccc hi, did you manage to find time to look at the code?

@ajmakoni so a few things in your project:

You need to add the new cudnn backend support specifically.
See:

Remove the old deeplearning4j-cuda and ensure that you either have a compatible version of cuda installed or you use the cuda redist artifacts if you won’t have the version of cuda and cudnn installed locally.

See:

Based on what I’m seeing in the project a lot of the basic steps are missing for the upgrade. Start there and let me know how it goes.

@agibsonccc thank you for the feedback. will keep you posted with results after making the necessary changes