Any suggestions to reduce the size of libcudnn.so?

I have tried using strip -N cudnnSomeExampleSymbolName libcudnn.so.7 with no luck. The stripped library size remains the same. Similar issue with objcopy. Do you have any suggestions to remove unused symbols to reduce this shared library size for deployment? libcudnn.so.7 is over 200 MB in size!

Hi @heethesh2494g,
Would you mind trying cudnn8.0?
cudnn 8.0 splits the lib into several sub libs which you can link against the required lib.
Thanks!

@AakankshaS Yes, I have seen the splits with cuDNN 8, unfortunately switching to 8.0 is not possible, it has to be version 7 and breaking it down in size somehow.

Hi @heethesh2494g.
I understand, but i am afraid, this feature has been introduced in cuDNN 8.0.

Thanks!