3 ms·
Can anyone explain why cuda and related libs are so huge? They take more space than my entire OS. Tensor computations as used in most deep learning networks are
by amelius 4y ago
Can anyone explain why cuda and related libs are so huge? They take more space than my entire OS. Tensor computations as used in most deep learning networks are not very involved at first sight, so I'm a bit confused.
- my123 4y agoBinary slices for each GPU generation. So that it becomes huge quite quickly, despite use of compression.
- amelius 4y agoAny way to remove the unneeded parts?
- my123 4y agoYou might want to look at nvprune: https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#nvprune https://docs.nvidia.com/cuda/cuda-binary-utilities/index.htm... However: > The input file must be either a relocatable host object or static library (not a host executable), and the output file will be the same format And: > Note that this means that libcublas_static70.a will not run on any other architecture, so should only be used when you are building for a single architecture But please don't use this for binaries distributed in the wild, would result in a lot of people not being able to run your program...