Add timeline visualization of perf metrics#1035
Open
copybara-service[bot] wants to merge 1 commit intomainfrom
Open
Add timeline visualization of perf metrics#1035copybara-service[bot] wants to merge 1 commit intomainfrom
copybara-service[bot] wants to merge 1 commit intomainfrom
Conversation
a76352b to
7a0e232
Compare
7a0e232 to
b393a37
Compare
b393a37 to
b1d9005
Compare
b1d9005 to
10270d5
Compare
This cl uses perfetto to visualize the series of events. It dumps the events in proto format and you can take the dump and use https://ui.perfetto.dev/ to visualize. repro steps: ``` # either pip install "google-tunix[prod]" or just perfetto for the dependency pip install perfetto # launch a job source ./examples/rl/grpo/gsm8k/run_gemma2_2b.sh # The output should be in /tmp/perf_traces # copy the trace to gcs gcloud storage cp --recursive /tmp/perf_traces gs://noghabi-dev/perf_traces --project=tpu-prod-env-multipod #drag and drop the file to https://ui.perfetto.dev/ ``` PiperOrigin-RevId: 864469202
10270d5 to
d4deced
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add timeline visualization of perf metrics
This cl uses perfetto to visualize the series of events. It dumps the events in proto format and you can take the dump and use https://ui.perfetto.dev/ to visualize.
repro steps: