TraceLens documentation

TraceLens documentation#

2026-07-22

1 min read time

TraceLens is an open-source Python library developed by AMD that automates performance analysis from GPU trace files. Instead of manually inspecting raw profiling data in tools such as Perfetto or Chrome Trace Viewer, TraceLens parses traces from PyTorch, JAX, and rocprofv3 and produces structured performance reports — including hierarchical GPU-timeline breakdowns, per-operator roofline analysis (TFLOP/s, TB/s), and multi-GPU communication diagnostics.

The TraceLens source code is hosted at github.com/AMD-AGI/TraceLens.

For information on contributing to TraceLens, see the Contributing guide.

TraceLens is released under the MIT License. For details, see the License page.