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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamo_diff-0.1.1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamo_diff-0.1.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

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

Hashes for dynamo_diff-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7996fd7a5a6f958b2fce8612d26b6915f6f58ca05ce4e57919d7445a3bf7a76a
MD5 d49684747bd7b9e9f018d7bb220b2d61
BLAKE2b-256 b3fbc731ffd8bddae18bb759934cec1b068db1d2987618b633336c515e335696

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamo_diff-0.1.1.tar.gz:

Publisher: publish-pypi.yml on Arnavsharma2/dynamo-diff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for dynamo_diff-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72339dda7ad50999db0c891654a1ef4bd39d6263328ebc1e66ab771a1f53284b
MD5 b22b19dbf3e0b0f67773473f35043521
BLAKE2b-256 08a5669a68ab9cd318e66bd7a9b926f5d14cf60497f293bc50086dca57d072fc

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

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