Nvidia-docker: NPP libraries aren't mount for container with capabilities=compute

Created on 12 Apr 2020  路  2Comments  路  Source: NVIDIA/nvidia-docker

This is a feature request issue.

1. Please add NPP libraries to nvidia/cuda:10.2 image

CUDA libraries are mounted within nvidia/cuda:10.2, but NPP libraries are not, despite that they are shipped with CUDA toolkit.

2. Repro:

docker run --gpus 'all,"capabilities=compute,utility,video"' -it nvidia/cuda:10.2-base /bin/bash
>find / -name libcuda.so
/usr/lib/x86_64-linux-gnu/libcuda.so
>find / -name libnpps.so
Not found

Most helpful comment

@zanbri since @rarzumanyan works at NVIDIA, I reached out to him to explain.

So, this is normal, NPP is a library that is not tied to your device driver version; hence it is not mounted from the host and instead should come from inside the container image.
You might want nvidia/cuda:10.2-devel or nvidia/cuda:10.2-runtime if you want NPP inside the container image.

All 2 comments

Why was this closed? Is NPP now present in the container?

@zanbri since @rarzumanyan works at NVIDIA, I reached out to him to explain.

So, this is normal, NPP is a library that is not tied to your device driver version; hence it is not mounted from the host and instead should come from inside the container image.
You might want nvidia/cuda:10.2-devel or nvidia/cuda:10.2-runtime if you want NPP inside the container image.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandon-northcutt picture brandon-northcutt  路  34Comments

jwatte picture jwatte  路  35Comments

cancan101 picture cancan101  路  25Comments

JingL1014 picture JingL1014  路  25Comments

scosaje picture scosaje  路  44Comments