Add gzip format support for chrome tracing (#56554)
Summary:
add gzip format support when exporting chrome tracing
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56554
Reviewed By: xuzhao9
Differential Revision: D28019111
Pulled By: ilia-cher
fbshipit-source-id: 7d522481912bc9e93b4b31b17f01b1b069c7d2b6