[CI] upload AIPerf Perfetto traces from benchmark workflows - #2155
Merged
Conversation
Contributor
🏷️ CI GuideRuns automatically on every eligible PR before approval:
Heavy model tests:
|
Convert agentic profile_export.jsonl files into Chrome traces and attach them as downloadable workflow artifacts for inspection in Perfetto. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
MengqingCao
force-pushed
the
mengqing/integrate_trace_in_ci
branch
from
September 7, 2026 11:44
e1bf971 to
3e1179d
Compare
MengqingCao
marked this pull request as ready for review
September 8, 2026 08:14
This reverts commit 3e1179d.
zhuyuhua-v
approved these changes
Sep 8, 2026
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.
Summary
profile_export.jsonlinto gzipped Chrome traces after benchmark runs, and upload them as workflow artifacts with Job Summary download links for Perfetto..github/actions/upload-aiperf-tracesand wire it into ATOMesh, native ATOM, vLLM, and SGLang benchmark workflows.Motivation
Agentic AIPerf runs already write per-request
profile_export.jsonl, but inspecting concurrency slots / TTFT / wait∩prefill currently requires a local conversion step. CI should produce a Perfetto-ready trace and a download link on the run page.Native / vLLM / SGLang benches today use
bench_servingsummary JSON, so they will skip this step until they emitprofile_export.jsonl. The shared action is already in those workflows so no extra wiring is needed later.Test plan
workflow_dispatchAtomesh Benchmark) and run one GLM agentic case, e.g.glm-52-mxfp4-1p1d-tp4-agentic-1m-c1aiperf-chrome-traces-*and the Job Summary has a Perfetto download link.trace.json.gz, open in https://ui.perfetto.dev (Open trace file), and check slot / TTFT / prefill+decode tracksTest result
test passed in https://github.com/ROCm/ATOM/actions/runs/34118300963/job/101730333679, the trace could be uploaded and downloaded normally.
Submission Checklist