[PyTorch Mobile] Add module size to logged metadata (#53578)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53578
We want to be able to log the loaded module size to the scuba table `qpl_metrics/pytorch`. Hence, adding the `model_size` field to the logged metadata when logging a module load success event.
ghstack-source-id: 123980964
Test Plan: xcheng16 How should this be tested?
Reviewed By: xcheng16, raziel
Differential Revision: D26902971
fbshipit-source-id: a7c2e9120706bd31f76f6572c8503d4acf8a89e2