Commit 991a4b5
Summary:
Add `--profile-details` option to add shapes and other details to the Kineto profile.
Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.
Test Plan:
```
$ buck2 run mode/opt //caffe2/benchmarks/dynamo:torchbench_internal -- --only mrs_video_watch_over --performance --training --amp --export-profiler-trace --backend=inductor --profile-details --export-perfdoctor
```
https://interncache-all.fbcdn.net/manifold/perfetto-artifacts/tree/ui/index.html#!/?url=https://interncache-all.fbcdn.net/manifold/pyper_traces/tree/traces/test/inductor_mrs_video_watch_over_rank_0_20250113_173817_6535183793.json.gz
Differential Revision: D68134547
Pull Request resolved: pytorch#144751
Approved by: https://github.com/drisspg
1 parent 5b37249 commit 991a4b5
1 file changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| |||
905 | 911 | | |
906 | 912 | | |
907 | 913 | | |
908 | | - | |
| 914 | + | |
909 | 915 | | |
910 | 916 | | |
911 | 917 | | |
| |||
1060 | 1066 | | |
1061 | 1067 | | |
1062 | 1068 | | |
1063 | | - | |
| 1069 | + | |
1064 | 1070 | | |
1065 | 1071 | | |
1066 | 1072 | | |
| |||
1109 | 1115 | | |
1110 | 1116 | | |
1111 | 1117 | | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
1115 | 1125 | | |
1116 | 1126 | | |
1117 | 1127 | | |
| |||
3917 | 3927 | | |
3918 | 3928 | | |
3919 | 3929 | | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
3920 | 3938 | | |
3921 | 3939 | | |
3922 | 3940 | | |
| |||
4753 | 4771 | | |
4754 | 4772 | | |
4755 | 4773 | | |
| 4774 | + | |
4756 | 4775 | | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
4757 | 4784 | | |
4758 | 4785 | | |
4759 | 4786 | | |
| |||
0 commit comments