Nvprune for Windows DLL

My application (a python package) needs to include CUDA/cuDNN DLLs within it.
The package size is large, and I am trying to reduce the package size.

Is there a way to strip CUDA/cuDNN DLL for specific arch on Windows?
I tried Nvprune, but it fails with error message below:
nvprune fatal : Input file ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cublas64_10.dll’ not relocatable

Any suggestion please?
Thanks.

1 Like