[TorchTidy] Add pattern to detect matrix alignment in fp16 AND reorganize benchmark structure#82248
[TorchTidy] Add pattern to detect matrix alignment in fp16 AND reorganize benchmark structure#82248davidchencsl wants to merge 15 commits intogh/davidchencsl/26/basefrom
Conversation
[ghstack-poisoned]
🔗 Helpful links
✅ No Failures (5 Pending)As of commit 809857b (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
… AND reorganize benchmark structure" Differential Revision: [D38173079](https://our.internmc.facebook.com/intern/diff/D38173079) [ghstack-poisoned]
… AND reorganize benchmark structure" [ghstack-poisoned]
… AND reorganize benchmark structure" [ghstack-poisoned]
|
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… AND reorganize benchmark structure" Differential Revision: [D38263206](https://our.internmc.facebook.com/intern/diff/D38263206) [ghstack-poisoned]
… AND reorganize benchmark structure" [ghstack-poisoned]
… AND reorganize benchmark structure" [ghstack-poisoned]
robieta
left a comment
There was a problem hiding this comment.
A couple minor nits and this really should have been two PRs, but overall looks good.
| return f"{time_ns:.2f} {unit}" | ||
| time_ns //= 1000 | ||
|
|
||
| assert hasattr(self, 'benchmark'), 'Please implement benchmark()' |
There was a problem hiding this comment.
Add a base benchmark method that raises NotImplementedError?
There was a problem hiding this comment.
I need to check if we have implemented benchmark in summary(), I haven't find a better way to solve this. Also we cannot try...except because we don't want to run benchmark twice.
… AND reorganize benchmark structure" [ghstack-poisoned]
… AND reorganize benchmark structure" [ghstack-poisoned]
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @davidchencsl. |
…nize benchmark structure (#82248) (#82248) Summary: Pull Request resolved: #82248 Approved by: https://github.com/robieta Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/54064ad198be1402a5348e4c4dd179226b657995 Reviewed By: kit1980 Differential Revision: D38424962 Pulled By: davidchencsl fbshipit-source-id: 723191489a14b5dd399c12e97997f4c1f93ea4af
Stack from ghstack (oldest at bottom):