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, ...), summed per repetition, and an example timeline for communication and copy bubbles (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.2

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.2
File Size Uploaded Provenance Actions
profileinsight-0.0.2.tar.gz 21.6 kB With provenance Details for profileinsight-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 45.0 kB

Release files / profileinsight-0.0.2.tar.gz

Download URL profileinsight-0.0.2.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cad1db830244f35586aed8c6e4bebc26ef6b096e8dd6f523689d58bba43456b4
BLAKE2b-256 checksum
How to use checksums
5ac23ea40fcdb20d17fc96dcd27b712bb22e0d5d7be9dca5dc4a9fea3fcb975d
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 1, 2026.

Transparency log

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

Download URL profileinsight-0.0.2-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
517198236678f145a808ac3850c93cb312ff0dfe8779c05b4ae9abcbe97d3ecb
BLAKE2b-256 checksum
How to use checksums
33cf8df78c8b8d55151354a421d194b1009baa7db1602dab5c31e7c7860b9242
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 1, 2026.

Transparency log

Security for profileinsight 0.0.2

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.2.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 1, 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