Just pulled a fresh nvcr.io/nvidia/l4t-base r32.4.4 image and it of course comes with cuda 10.2 but cublas_v2.h is no where to be found amongst all of the other cuda lbraries:
That library is needed for many things, why is it missing and what am I supposed to do? Reinstall cuda? Seems to defeat the purpose of the L4T image already doing that for me.
This is for running an L4T container using docker nvidia on my Jetson Xavier NX. The Jetson Xavier NX has these headers in /usr/include. I can copy them from the host into my container but that is hacky so I was hoping to know why L4T doesn’t include them.
@AastaLLL On my Jetson Xavier NX here are the containers:
nx@nx-fusion:$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nvcr.io/nvidia/l4t-base r32.5.0 d9141f00a2c3 4 months ago 635MB
nvcr.io/nvidia/l4t-base r32.4.4 10faffedd5fa 5 months ago 634MB
I then start l4t-base 32.5 and there are no cublas headers:
You need to run the container with --runtime nvidia to get the CUDA headers/libraries mounted into the container, except that docker build doesn’t support the runtime option. So set it as the default in your docker daemon.json and it will be used during build time.
I also verified that cublas headers are under /usr/include when I run l4t-base:r32.5.0 with --runtime nvidia. If you still don’t see the headers, please confirm that they are on your device (outside of container)
@dusty_nv good catch, and I believe you can close this issue too, as with the solution you proposed I am able to build darknet just fine with no additional modifications: