Commit 942979e
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: pytorch/pytorch#150534
Approved by: https://github.com/yushangdi
Reviewed By: clee2000
Differential Revision: D72395560
fbshipit-source-id: f37e493d851ea665f88972effbd225e8250a022f1 parent e5c9164 commit 942979e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3735 | 3735 | | |
3736 | 3736 | | |
3737 | 3737 | | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
3738 | 3742 | | |
3739 | 3743 | | |
3740 | 3744 | | |
| |||
0 commit comments