Skip to content
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

Utility for measuring the CPU and GPU times of fusion regions for a particular backend in a model #1638

Closed
kevinstephano opened this issue Jan 10, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@kevinstephano
Copy link
Collaborator

🚀 Feature

Add a utility to be able to measure the CPU time and kernel time for the fusions attributed to a backend like nvFuser.

Motivation

To figure out the contributions of backend to the overall performance of a model.

cc @mruberry

@kevinstephano kevinstephano added the enhancement New feature or request label Jan 10, 2025
@t-vi
Copy link
Collaborator

t-vi commented Jan 13, 2025

@tfogal had a thing for nvtx markers everywhere.
Ideally, we would have a somewhat generic gathering and then "sum up everything matching nvfuser" in a utility function.

@IvanYashchuk
Copy link
Collaborator

@kshitij12345 has added this utility in #1682. @kevinstephano, please take a look at the example in the PR description. Is that what you were looking for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants