Benchmark to save sample inputs to disk before running (#114163)
Summary:
Such that even if failures occur during model run, the sample inputs
are accessible for later investigation.
X-link: https://github.com/pytorch/pytorch/pull/114163
Approved by: https://github.com/thiagocrepaldi
ghstack dependencies: #113780
Reviewed By: DanilBaibak
Differential Revision: D51528081
fbshipit-source-id: 80731ad3c25e362309aa663ee38f098d5a4463c4