Skip to main content

Dynamo Diff

Compare saved PyTorch Dynamo captures, inspect which source functions compiled differently, and retrieve the original guard failures and captured source behind each result.

The Python package provides the analyzer, command-line interface and optional MCP server. The VS Code extension uses the same local analyzer.

Install

Python 3.13 is the tested setup on macOS and Linux. The package declares Python 3.11 or newer; other Python versions and Windows have not been verified. Analyzing saved captures requires neither PyTorch nor a GPU.

python3.13 -m venv .venv
.venv/bin/python -m pip install dynamo-diff
.venv/bin/dynamo-diff --version
.venv/bin/dynamo-diff --help

For the optional agent interface, install the MCP extra:

.venv/bin/python -m pip install 'dynamo-diff[mcp]'

In VS Code, set Dynamo Diff: Python Path (dynamoDiff.pythonPath) to the full path of this environment's Python executable, such as /your/project/.venv/bin/python. Keep the virtual-environment path intact instead of resolving its symlink to the base interpreter.

Use

Import two supported report bundles, compare the captures, then inspect source and original evidence. The installation guide includes a complete example using recorded before/after captures. The capture guide explains how to record new inputs. MCP configuration covers the three tools: import_trace, compare_runs, and get_evidence.

The tested adapter accepts PyTorch 2.14.0 / tlparse 0.4.3 bundles. Arbitrary producer versions are not supported. Capture generation is separate from analysis and requires the supported compiler toolchain; see compatibility.

Interpretation and data handling

Reports distinguish compilation attempts, outcomes, explicit recompilation evidence, ambiguous source matches and missing records. Compiler-event counts do not establish application speed or correctness. The experimental agent pilot found no demonstrated end-to-end improvement.

Captures and comparisons are processed locally, with no telemetry or automatic uploads. Traces can contain private source code and local paths. When an agent calls the MCP server, requested evidence may be sent to that agent's model provider.

Source and documentation · Report a reproducible issue

Metadata

Release files for dynamo-diff 0.1.1

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

Source distribution (sdist)

Source distribution for dynamo-diff 0.1.1
File Size Uploaded Provenance
dynamo_diff-0.1.1.tar.gz 3.8 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dynamo-diff 0.1.1
File Interpreter ABI Platform
dynamo_diff-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.8 MB

Release files / dynamo_diff-0.1.1.tar.gz

Download URL dynamo_diff-0.1.1.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
7996fd7a5a6f958b2fce8612d26b6915f6f58ca05ce4e57919d7445a3bf7a76a
BLAKE2b-256 checksum
How to use checksums
b3fbc731ffd8bddae18bb759934cec1b068db1d2987618b633336c515e335696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 7, 2026.

Transparency log

Release files / dynamo_diff-0.1.1-py3-none-any.whl

Download URL dynamo_diff-0.1.1-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72339dda7ad50999db0c891654a1ef4bd39d6263328ebc1e66ab771a1f53284b
BLAKE2b-256 checksum
How to use checksums
08a5669a68ab9cd318e66bd7a9b926f5d14cf60497f293bc50086dca57d072fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 7, 2026.

Transparency log

Security for dynamo-diff 0.1.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dynamo_diff-0.1.1.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 Sep 7, 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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