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

[XLA:GPU] tool to print data from ncu-rep #21767

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 23, 2025

[XLA:GPU] tool to print data from ncu-rep

useful when we to script metric collection. Or when you are connected to via ssh and want a short summary without invoking ncu UI.

It does it by exporting ncu-rep to CSV.

Example usage:

ncu_rep -i /tmp/profile.ncu-rep

Metric Value Unit
gpu__time_duration.sum 61.440000 us
sm__cycles_elapsed.max 97394.000000 cycle
dram__bytes_read.sum 76.288000 Kbyte
dram__bytes_write.sum 0 byte
launch__registers_per_thread 46.000000 register/thread

ncu_rep -i /tmp/triton/profile.ncu-rep -f raw -m gpu__time_duration.sum

61.440000 us

@copybara-service copybara-service bot force-pushed the test_718824153 branch 6 times, most recently from d9f11d7 to d2d0f05 Compare January 27, 2025 10:22
useful when we to script metric collection. Or when you are connected to via ssh and want a short summary without invoking ncu UI.

It does it by exporting ncu-rep to CSV.

Example usage:

>ncu_rep -i /tmp/profile.ncu-rep

Metric                       |        Value | Unit
-----------------------------|--------------|----------------
gpu__time_duration.sum       |    61.440000 | us
sm__cycles_elapsed.max       | 97394.000000 | cycle
dram__bytes_read.sum         |    76.288000 | Kbyte
dram__bytes_write.sum        |            0 | byte
launch__registers_per_thread |    46.000000 | register/thread

>ncu_rep -i /tmp/triton/profile.ncu-rep -f raw -m gpu__time_duration.sum

61.440000 us

PiperOrigin-RevId: 718824153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant