Metadata-Version: 2.4
Name: pte-adapter-model-explorer
Version: 0.1.2
Summary: Adapter for Model Explorer to support PTE files for Ethos-U and VGF targets
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/arm/pte-adapter-model-explorer
Keywords: model-explorer,ethos,pte,visualization
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: <3.13,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ai-edge-model-explorer<0.2.0,>=0.1.28
Requires-Dist: vgf-adapter-model-explorer==0.4.1
Requires-Dist: tosa-adapter-model-explorer==0.1.0
Requires-Dist: flatbuffers>25.9
Dynamic: license-file

# PTE Adapter for Model Explorer

PTE Adapter for [google-ai-edge/model-explorer](https://github.com/google-ai-edge/model-explorer) that enables visualization of [PTE](https://docs.pytorch.org/executorch/stable/pte-file-format.html) files for
[Arm® Ethos™-U NPU Backend](https://docs.pytorch.org/executorch/1.0/backends-arm-ethos-u.html), [Arm® VGF Backend](https://docs.pytorch.org/executorch/1.0/backends-arm-vgf.html) and [XNNPACK](https://docs.pytorch.org/executorch/1.0/backends/xnnpack/xnnpack-overview.html) targets.

![Visualization of a PTE model with the PTE Adapter](https://raw.githubusercontent.com/arm/pte-adapter-model-explorer/main/screenshots/pte-adapter-readme-screenshot.png)

## Requirements

- Python >=3.10, <3.13

## Supported Platforms

- Linux x86_64
- Linux AArch64
- MacOS AArch64
- Windows x86_64

## Installation

### pip + PyPI
    pip install pte-adapter-model-explorer

### GitHub

    PYTHON_VERSION_TAG=310 &&
    gh release download \
    --repo arm/pte-adapter-model-explorer \
    --pattern "*py${PYTHON_VERSION_TAG}*.whl" &&
    pip install *py${PYTHON_VERSION_TAG}*.whl

Or through the [GitHub Releases](https://github.com/arm/pte-adapter-model-explorer/releases) UI.

## Usage

Install Model Explorer:

    pip install torch ai-edge-model-explorer

Launch Model Explorer with the PTE adapter enabled:

    model-explorer --extensions=pte_adapter_model_explorer

See the [Model Explorer wiki](https://github.com/google-ai-edge/model-explorer/wiki) for more information.

## Trademark notice

This project uses some of the Arm® product, service or technology trademarks, as listed in the [Trademark List](https://www.arm.com/company/policies/trademarks/arm-trademark-list), in accordance with the Arm [Trademark Use Guidelines](https://www.arm.com/company/policies/trademarks/guidelines-trademarks).

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 any feedback or feature requests, please use the repository issues section.
