Commit ed318b5
Helper function to generate trace file name (#3456)
Summary:
Pull Request resolved: #3456
Add a helper function to generate trace file name, which will be later used in manifold uploader.
Also add a `.gz` suffix to the trace file name, this will enable trace compression according to https://github.com/pytorch/pytorch/blob/v2.8.0/torch/profiler/profiler.py#L257
Reviewed By: TroyGarden
Differential Revision: D84548870
fbshipit-source-id: a81b490e51761b21b050277517f62c0d1653fb491 parent 9ee9e64 commit ed318b5
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
574 | 579 | | |
575 | 580 | | |
576 | 581 | | |
| |||
727 | 732 | | |
728 | 733 | | |
729 | 734 | | |
730 | | - | |
| 735 | + | |
731 | 736 | | |
732 | 737 | | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments