cleanup chromium event log on dynamo exit rather than on entry (#143175)
Summary:
clearing at dynamo start is an issue because it throws away events from compiled autograd
X-link: https://github.com/pytorch/pytorch/pull/143175
Approved by: https://github.com/Skylion007, https://github.com/jamesjwu
ghstack dependencies: #141907
Reviewed By: huydhn
Differential Revision: D67551020
Pulled By: xmfan
fbshipit-source-id: b92b48e39adc81433934b07ca13e330479233836