-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[mm_logs][ez] dump tuned mm info at lowering stage #148363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148363
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit d1dd36a with merge base e4c558b ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
e4c47be
to
46156dc
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
This pull request was exported from Phabricator. Differential Revision: D70507880 |
46156dc
to
4449118
Compare
I think |
This pull request was exported from Phabricator. Differential Revision: D70507880 |
4449118
to
c816591
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
c816591
to
426cce7
Compare
Summary: Pull Request resolved: pytorch#148363 As title. it would be beneficial for judging e2e perf improvement Easy first step to dump mm info at lowering stage. e.g. ``` fbsource/fbcode/caffe2/torch/_inductor/kernel/mm.py:525] [0/0] Tuned aten.addmm: m=16, n=6, k=16, layout=FixedLayout('cuda:0', torch.float32, size=[16, 6], stride=[6, 1]) ``` Next step: Dump overview info at `post_grad_graph` stage such as overall count of `aten.mm` in the graph & visualize to a table structure. Test Plan: by looking very hard in aot inductor bmm and mm UTs. Differential Revision: D70507880
426cce7
to
a4bebee
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
de8ab58
to
5852540
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
5852540
to
1b63fc1
Compare
Summary: As title. it would be beneficial for judging e2e perf improvement Easy first step to dump mm info at lowering stage. e.g. ``` fbcode/caffe2/torch/_inductor/kernel/mm.py:525] [0/0] Tuned aten.addmm: m=16, n=6, k=16, mat1_dtype=torch.float32, mat2_dtype=torch.float32, output_layout=FixedLayout('cpu', torch.float32, size=[16, 6], stride=[6, 1]) ``` Next step: Dump overview info at `post_grad_graph` stage such as overall count of `aten.mm` in the graph & visualize to a table structure. Test Plan: by looking very hard in aot inductor bmm and mm UTs. Reviewed By: ColinPeppler Differential Revision: D70507880
1b63fc1
to
cb34040
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
Summary: As title. it would be beneficial for judging e2e perf improvement Easy first step to dump mm info at lowering stage. e.g. ``` fbcode/caffe2/torch/_inductor/kernel/mm.py:525] [0/0] Tuned aten.addmm: m=16, n=6, k=16, mat1_dtype=torch.float32, mat2_dtype=torch.float32, output_layout=FixedLayout('cpu', torch.float32, size=[16, 6], stride=[6, 1]) ``` Next step: Dump overview info at `post_grad_graph` stage such as overall count of `aten.mm` in the graph & visualize to a table structure. Test Plan: by looking very hard in aot inductor bmm and mm UTs. Reviewed By: ColinPeppler Differential Revision: D70507880
cb34040
to
d1dd36a
Compare
This pull request was exported from Phabricator. Differential Revision: D70507880 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary:
As title. it would be beneficial for judging e2e perf improvement
Easy first step to dump mm info at lowering stage.
e.g.
Next step:
Dump overview info at
post_grad_graph
stage such asoverall count of
aten.mm
in the graph & visualize to a table structure.Test Plan: by looking very hard in aot inductor bmm and mm UTs.
Differential Revision: D70507880
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov