-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Benchmark Recipe #1176
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
Benchmark Recipe #1176
Conversation
Deploy preview for pytorch-tutorials-preview ready! Built with commit 4598009 https://deploy-preview-1176--pytorch-tutorials-preview.netlify.app |
Deploy preview for pytorch-tutorials-preview ready! Built with commit 35ad42e https://deploy-preview-1176--pytorch-tutorials-preview.netlify.app |
@brianjo Is there a better way to display output from code besides putting it in a code block? Something like what you'd get from a python notebook? |
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.
This tutorial feels like 2 in 1 - basic use of benchmarking tools, and how to optimize your custom op implementation. Many people to whom benchmarking tools are addressed don't write a single line of c++ in their daily lives, and yet would still benefit from knowing how to benchmark their code correctly. So it might make sense to either split it in 2, or structure it in such a way so that there's a first part for everyone, and second part for those who are still able to follow.
I didn't get to the end, but let me know if it makes sense.
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.
python portion looks good now! C++ section could use some updating once latest improvements that avoid python altogether are landed.
Co-authored-by: Brian Johnson <brianjo@fb.com>
This PR adds a recipe for PyTorch benchmark module.
TODO
cc @robieta, @brianjo, @ngimel