[Profiler] Include more uncategorized events in memory profile (#101200)
Summary: This PR adds handling for allocations / frees which we cannot prove are for Tensors. (And thus aren't assigned an ID.) These events are still important for judging overall utilization.
Test Plan: CI and Unit tests.
Differential Revision: D45458885
Pulled By: aaronenyeshi
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101200
Approved by: https://github.com/anupambhatnagar, https://github.com/davidberard98