Skip to content

Add timeline visualization of perf metrics#1035

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_864469202
Open

Add timeline visualization of perf metrics#1035
copybara-service[bot] wants to merge 1 commit intomainfrom
test_864469202

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Feb 2, 2026

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:

# 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/

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
@copybara-service copybara-service bot changed the title Collect event data from PerfMetrics Add timeline visualization of perf metrics Feb 4, 2026
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