How to estimate model size from number of parameters?

I notice sometimes even with less number of model parameters my model size is higher. Is there any pytorch specific way to estimate the required model size in GPU before running? Given I do the required python variable cleaning (del).

1 Like

Hi,
not sure if it is still relevant but maybe this helps:

1 Like