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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynamo_diff-0.1.1.tar.gz.
File metadata
- Download URL: dynamo_diff-0.1.1.tar.gz
- Upload date:
- Size: 3.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7996fd7a5a6f958b2fce8612d26b6915f6f58ca05ce4e57919d7445a3bf7a76a
|
|
| MD5 |
d49684747bd7b9e9f018d7bb220b2d61
|
|
| BLAKE2b-256 |
b3fbc731ffd8bddae18bb759934cec1b068db1d2987618b633336c515e335696
|
Provenance
The following attestation bundles were made for dynamo_diff-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on Arnavsharma2/dynamo-diff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamo_diff-0.1.1.tar.gz -
Subject digest:
7996fd7a5a6f958b2fce8612d26b6915f6f58ca05ce4e57919d7445a3bf7a76a - Sigstore transparency entry: 2753731026
- Sigstore integration time:
-
Permalink:
Arnavsharma2/dynamo-diff@b31c00981653db16ec99b1ac2127f65206cf1e32 -
Branch / Tag:
refs/heads/codex/dynamo-diff - Owner: https://github.com/Arnavsharma2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b31c00981653db16ec99b1ac2127f65206cf1e32 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file dynamo_diff-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dynamo_diff-0.1.1-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72339dda7ad50999db0c891654a1ef4bd39d6263328ebc1e66ab771a1f53284b
|
|
| MD5 |
b22b19dbf3e0b0f67773473f35043521
|
|
| BLAKE2b-256 |
08a5669a68ab9cd318e66bd7a9b926f5d14cf60497f293bc50086dca57d072fc
|
Provenance
The following attestation bundles were made for dynamo_diff-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on Arnavsharma2/dynamo-diff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamo_diff-0.1.1-py3-none-any.whl -
Subject digest:
72339dda7ad50999db0c891654a1ef4bd39d6263328ebc1e66ab771a1f53284b - Sigstore transparency entry: 2753731044
- Sigstore integration time:
-
Permalink:
Arnavsharma2/dynamo-diff@b31c00981653db16ec99b1ac2127f65206cf1e32 -
Branch / Tag:
refs/heads/codex/dynamo-diff - Owner: https://github.com/Arnavsharma2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b31c00981653db16ec99b1ac2127f65206cf1e32 -
Trigger Event:
workflow_dispatch
-
Statement type: