"Are you sure you don’t need just runtime packages, like e.g. a compiled TensorFlow binary package and the CUDA driver?
CUDNN is a set of primitives that can be used in source code to build applications, and that depends on developer packages (CUDA compiler etc) which of course is big."
https://forums.developer.nvidia.com/t/cuda-library-too-large-to-deploy/211712