Dynamo Diff for VS CodeCompare two saved PyTorch Dynamo runs, inspect which functions recompiled, and open the captured source and original guard evidence behind each change. Set up the Python analyzerThe extension uses the local Dynamo Diff Python CLI. Install it from PyPI:
In VS Code settings, set Dynamo Diff: Python Path ( Python 3.13 and VS Code 1.132.1 are tested on macOS and Linux. Other Python/editor versions and Windows have not been verified. PyTorch and a GPU are not needed to inspect saved captures. The tested adapter accepts PyTorch 2.14.0 / tlparse 0.4.3 report bundles. Compare capturesUse Dynamo Diff: Import Capture twice, choosing each report directory and its optional manifest. Run Compare Captures, select baseline and candidate, then expand Dynamo Diff in Explorer. Show Comparison Table displays counts, guard categories and source-match status; Show Comparison Report opens the full JSON. Source and evidence entries open captured virtual documents. Baseline links retain baseline source, even after your working tree changes. The progress notification supports cancellation. A trusted workspace and an installed Python package are required. The installation guide explains how to try the included before/after captures. Capture instructions explain how to record your own supported reports. Interpretation and data handlingCounts describe observed compiler behavior. Failed attempts, compiler limits, missing evidence and ambiguous matches constrain conclusions. This extension does not prove an application is fixed, correct, or faster. The extension invokes the configured Python executable directly without a shell. It has no telemetry or automatic uploads. Traces can contain private source code and local paths; enabling an agent integration can send requested excerpts to that agent's model provider. Build locally with |