Add retain-output argument (#145921)
Summary:
This PR add retain-output argument which enables appending to the already existing output file if it exists instead of deleting it and creating a new one.
X-link: https://github.com/pytorch/pytorch/pull/145921
Approved by: https://github.com/jansel
Reviewed By: ZainRizvi, atalman
Differential Revision: D69208159
fbshipit-source-id: 0d635d89a697157185fdb22999ccf7daea6319f4
Author
generatedunixname499836121