[profiler][kineto] Support for memory allocs/deallocs in the traces (#57835)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57835
Pull Request resolved: https://github.com/pytorch/kineto/pull/208
Adding ability to save memory allocs/deallocs into the trace
Test Plan: python test/test_profiler.py -v
Reviewed By: gdankel
Differential Revision: D28260915
fbshipit-source-id: d7905d38d7fac9750754ac1b293d3a1951590b5f