Skip to main content

ExecuTorch Extension Model Explorer

ExecuTorch Extension Model Explorer is a combined extension package for Model Explorer. It registers adapters and data providers for inspecting ExecuTorch model artifacts and profiling data in one package:

Supported File Types

File type Component Purpose
.pte PTE Adapter Visualize ExecuTorch program files.
.etrecord ETRecord Adapter Visualize exported ExecuTorch graph structure and metadata.
.etdp, .etdump ETDump Profiling Overlay Add per-node runtime latency data to ETRecord graphs.

Requirements

  • Python >=3.10, <3.13
  • Model Explorer, provided by ai-edge-model-explorer
  • ExecuTorch Python packages for ETRecord and ETDump workflows
  • PTE delegate support packages installed through the PTE adapter: vgf-adapter-model-explorer, tosa-adapter-model-explorer, and flatbuffers

The umbrella depends directly on PTE, ETRecord and ETDump only. Those packages declare and install their own Model Explorer, ExecuTorch and delegate requirements; the umbrella does not duplicate those version constraints.

Installation

For local development from this repository:

scripts/install-editable.sh

Install the published package from PyPI:

pip install executorch-extension-model-explorer

Usage

Launch Model Explorer with this combined extension package enabled:

model-explorer --extensions=executorch_extension_model_explorer

To load individual adapters or providers, pass the extension names directly:

model-explorer --extensions=pte_adapter_model_explorer
model-explorer --extensions=etrecord_adapter_model_explorer
model-explorer --extensions=etrecord_adapter_model_explorer,etdump_data_provider_model_explorer

PTE Adapter

Open a .pte file in Model Explorer to inspect the ExecuTorch program. The PTE adapter includes delegate support for Arm Ethos-U, Arm VGF, and XNNPACK. See the PTE adapter documentation for details and schema regeneration notes.

ETRecord Adapter

Open an .etrecord file in Model Explorer to inspect exported ExecuTorch graph structure, metadata, connections, inputs, and outputs. See the ETRecord adapter documentation for details.

ETDump Data Provider

After opening an .etrecord graph, click Add per-node data, select ETDump Profiling Overlay, upload an .etdp or .etdump file, and run the provider. The overlay maps runtime latency metrics onto matching ETRecord graph nodes. See the ETDump data provider documentation for details and mock artifact tooling.

Development

Install the package in editable mode, then run the test suite with pytest:

scripts/install-editable.sh
scripts/test-all.sh

For coordinated development across all leaf repos, keep the adapter repositories as sibling checkouts and install them in editable mode before the umbrella package:

scripts/install-local-adapters.sh

The umbrella wheel uses the package versions pinned in pyproject.toml. Local adapter checkouts are for multi-repo development and adapter-specific testing; they are not the release pin.

Run adapter-specific tests from each adapter repository root so their local fixtures and pytest configuration are resolved correctly.

Development dependency groups are declared in pyproject.toml for test, coverage, lint, type-checking, and build tools.

CI

Pull requests and pushes to main run the aggregate CI workflow. It installs this package in editable mode, then runs Ruff, Pyright, and the aggregate pytest suite. The workflow also builds a wheel after tests pass.

Internal pushes to main publish development builds to Artifactory. Internal release tags publish release builds there for testing. Tags are not automatically copied to the public repository.

Use the Trigger Release workflow to cut a release from the private repository. It calculates the next version with git-cliff, updates pyproject.toml, pushes the version bump commit, and pushes the internal release tag. After testing, run Sync release tag to public repo with that tag. The public tag triggers PyPI publication and a GitHub release. Main commits still sync automatically.

Dependency update policy

This repository declares adapter/provider minimum versions in pyproject.toml. PTE, ETRecord and ETDump notify it after successful internal tagged releases to Artifactory, not after main development builds or public releases.

After installing the development dependencies, use the helper script for local dependency lower-bound updates:

python scripts/update-dependency-pin.py etrecord-adapter-model-explorer v0.2.0

The same update can be automated through the Update dependency lower bound workflow. Leaf release workflows can trigger it with a repository_dispatch event named update-dependency and a payload containing dependency or name, plus version or tag. The workflow also accepts the old update-submodule dispatch name for compatibility, but it now updates pyproject.toml. Stable versions and package prereleases such as v0.5.1rc1 are accepted. Updates preserve other constraints and never lower an existing minimum. Each update opens a PR for normal CI and review; it does not merge or publish the umbrella automatically.

Trademark Notice

This project uses some of the Arm product, service, or technology trademarks, as listed in the Trademark List, in accordance with the Arm Trademark Use Guidelines.

Subsequent uses of these trademarks throughout this repository do not need to be prefixed with the Arm word trademark.

Contributions

We are not accepting direct contributions at this time. If you have feedback or feature requests, please use the repository issues section.

Metadata

Release files for executorch-extension-model-explorer 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 executorch-extension-model-explorer 0.1.1
File Size Uploaded Provenance Actions
executorch_extension_model_explorer-0.1.1.tar.gz 8.9 kB With provenance Details for executorch_extension_model_explorer-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for executorch-extension-model-explorer 0.1.1
File Interpreter ABI Platform Actions
executorch_extension_model_explorer-0.1.1-py3-none-any.whl Python 3 none any Details for executorch_extension_model_explorer-0.1.1-py3-none-any.whl

Total release size: 17.9 kB

Release files / executorch_extension_model_explorer-0.1.1.tar.gz

Download URL executorch_extension_model_explorer-0.1.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8fd7582d22946b70c7664ab1c954bab2380b1a39e60d21865e361418dbafb6
BLAKE2b-256 checksum
How to use checksums
19eab20ed8c1fe4af20b72b1c557591021e8c6020ae85890ab6d6ffc7e7ad3d5
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 Oct 19, 2026.

Transparency log

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

Download URL executorch_extension_model_explorer-0.1.1-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3758b488ef5898f3e48c18fc1cb0774bc45a6c4ffb156c66a32ecf9f001c2a96
BLAKE2b-256 checksum
How to use checksums
731a1ed52bc8251ba2bee201a7c59e12ef6afa285556084255bbfd3f702f636f
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 Oct 19, 2026.

Transparency log

Security for executorch-extension-model-explorer 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 executorch_extension_model_explorer-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 Oct 19, 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