Skip to main content

ProfileInsight

Find why your GPU job is slow from its profile.

ProfileInsight reads a PyTorch profiler trace (Chrome trace JSON, optionally gzip-compressed) and reports what a person would see first when reading it. It is in an early stage.

Install

pip install profileinsight

Use

profileinsight trace_rank0.json.gz

prints the analysis report of the profile:

  1. the cycles of the GPU timeline, such as Timeline structure: A B^8 C for a setup part, eight repetitions and a tail, with the time of every repetition and how the repetitions differ from each other (src/profileinsight/cycles.py);
  2. the bubbles, the times when no compute kernel runs, with their reasons (communication, copies, a host synchronization, a slow host, ...) taken from what the GPU actually waited for, summed per repetition, and an example timeline for each listed group: for a copy or communication the awaited operation's size, rate, launch time and the queue ahead of it, for a sync how long the host was blocked (src/profileinsight/bubbles.py).

The rules behind each part are described at the top of its file.

Release

Pushing a tag v<version> that matches version in pyproject.toml builds the package and publishes it to PyPI through trusted publishing (.github/workflows/build.yml).

Metadata

Release files for profileinsight 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for profileinsight 0.0.3
File Size Uploaded Provenance Actions
profileinsight-0.0.3.tar.gz 22.8 kB With provenance Details for profileinsight-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for profileinsight 0.0.3
File Interpreter ABI Platform Actions
profileinsight-0.0.3-py3-none-any.whl Python 3 none any Details for profileinsight-0.0.3-py3-none-any.whl

Total release size: 47.5 kB

Release files / profileinsight-0.0.3.tar.gz

Download URL profileinsight-0.0.3.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ab77d2b241f0dc1037feea71af2e68b2c6964b93c40e1cc18cf0903bac36853
BLAKE2b-256 checksum
How to use checksums
64f3e42491bb580cd00b722075e2d0509a36cdd2fc352792652250ffdc9880b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / profileinsight-0.0.3-py3-none-any.whl

Download URL profileinsight-0.0.3-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec8c11cdc9447ffdb00d2da8747d179ee6b0a607065a4fb255fab59af9573295
BLAKE2b-256 checksum
How to use checksums
98dd33d3a2f2ff8751bdc9b5160dad62ead7fc33e004d35b57198a429b608ff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for profileinsight 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for profileinsight-0.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page