Skip to content

Instantly share code, notes, and snippets.

@msaroufim
Last active March 29, 2023 23:12
Show Gist options
  • Save msaroufim/633f251f6c5cb03ef93746603ff0dbb8 to your computer and use it in GitHub Desktop.
Save msaroufim/633f251f6c5cb03ef93746603ff0dbb8 to your computer and use it in GitHub Desktop.
If we filter out all the cuda libraries with
model-server@a38d7033ee41:~$ dpkg-query -Wf '${Installed-Size}\t${Package}\n' | grep 'cu' | awk '{sum += $1} END {printf "%.2f GB\n", sum / (1024 * 1024)}'
2.28 GB
10.5 MB perl-base
12.9 MB libc6
13.6 MB libgcc-9-dev
14.6 MB libasan5
16.8 MB perl-modules-5.30
17.2 MB libstdc++-9-dev
18.6 MB libc6-dev
19.1 MB libpython3.8-dev
20.3 MB humanity-icon-theme
25.6 MB cpp-9
26.5 MB libperl5.30
27.4 MB g++-9
29.1 MB gcc-9
30.0 MB vim-runtime
32.0 MB libicu66
34.9 MB git
50.5 MB cuda-nvrtc-11-7
83.8 MB libcurand-11-7
87.3 MB libllvm12
112.8 MB cuda-compat-11-7
119.6 MB nodejs
131.3 MB libcufft-11-7
184.0 MB openjdk-17-jre-headless
194.4 MB libnpp-11-7
203.1 MB libnccl2
223.9 MB libcusparse-11-7
240.3 MB openjdk-17-jdk-headless
359.5 MB libcusolver-11-7
379.3 MB libgl1-mesa-dri
482.2 MB libcublas-11-7
850.4 MB libcudnn8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment