Update how peak memory is measured (#150534)
Summary:
In the dashboard measurement script, AOTI needs to run Eager first to register the output pytree, so the peak memory compression ratio on the dashboard is always close to 1. Update AOTI run to use an extra warmup run, so the peak memory compression ratio measures the result at the run time instead of the compile time.
X-link: https://github.com/pytorch/pytorch/pull/150534
Approved by: https://github.com/yushangdi
Reviewed By: clee2000
Differential Revision: D72395560
fbshipit-source-id: f37e493d851ea665f88972effbd225e8250a022f