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
Fuzzing benchmark for FFT operators #47872
Conversation
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
ghstack-source-id: 66d51f2883cded714a4ce3460e70cfe87dcb3baa Pull Request resolved: #47872
💊 CI failures summary and remediationsAs of commit c547000 (more details on the Dr. CI page):
codecov.io: 1 failed
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 14 times. |
Hey @peterbell10! I've asked @ngimel to suggest a reviewer for this and #47871 since she's more familiar with benchmarking. |
At a high level this looks good. I would suggest moving The one question I have on the fuzzer is that you are restricting shapes to those that factor nicely; do you think it makes sense to also test some more pathological shapes? (Albeit a small fraction of the time.) |
Shouldn't it be somewhere in the
In general when comparing two FFT libraries this is definitely worth doing. But in my case I want to benchmark the pytorch interface code and how it calls the underlying FFT library, not necessarily the FFT library itself. For my purposes, using non-regular sizes just increases the benchmark runtime. Perhaps it could still be useful as a parameter to the |
ghstack-source-id: 66d51f2883cded714a4ce3460e70cfe87dcb3baa Pull Request resolved: pytorch#47872
[ghstack-poisoned]
I think the main thing is not having ad-hoc code in the operator benchmarks folder. @ngimel It seems like a lot of these one-off scripts have popped up recently. Any strong preferences for where they should live?
SGTM. |
[ghstack-poisoned]
[ghstack-poisoned]
ghstack-source-id: 6bc25e4ab3136fd9355d5211d193ca8e2714f444 Pull Request resolved: #47872
Codecov Report
@@ Coverage Diff @@
## gh/peterbell10/26/base #47872 +/- ##
==========================================================
- Coverage 81.14% 81.11% -0.04%
==========================================================
Files 1839 1841 +2
Lines 198447 198537 +90
==========================================================
- Hits 161036 161034 -2
- Misses 37411 37503 +92 |
I don't have a strong preference, we can leave the code in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'll start merging the stack. Thanks for your patience.
Stack from ghstack:
Differential Revision: D25237499