MLIA Model Explorer Plugin
This package provides a post-analysis plugin for ML Inference Advisor (MLIA). It exports MLIA standardized output into Model Explorer-oriented artifacts and builds a standalone HTML page using the vendored embedded Model Explorer visualizer component.
Model conversion uses the ai-edge-model-explorer Python APIs, while browser
rendering uses the vendored embedded Model Explorer visualizer. The generated
page is self-contained and does not start the Python Model Explorer web server.
Documentation
Structured documentation lives in docs/README.md. Start with:
- Usage for installation, CLI modes, and troubleshooting.
- High-level architecture and execution flow for the conversion pipeline.
- Artifacts for the generated directory layout.
- Model adapters for format support and limitations.
- Python API and development notes for integration and maintenance.
Installation
Install the plugin in the same Python environment as MLIA:
python -m pip install mlia-model-explorer
The base package supports .pt2 and .tflite. Optional extras provide .onnx,
.spv and .vgf adapters; see the model adapter matrix
for installation commands and format-specific details.
Usage
mlia check MODEL --target-profile TARGET --compatibility --model-explorer files
mlia check MODEL --target-profile TARGET --compatibility --model-explorer open
The files mode writes artifacts and builds the standalone HTML page. The open
mode additionally opens that page in the default browser.
Generated artifacts are written under mlia-output/model-explorer/. The
standalone HTML page is written to mlia-output/model-explorer/bundle/index.html.
It can be opened directly from file:// without separate runtime or data files.
ExecuTorch ETRecord profiling
Use the matching ETRecord and ETDump to visualize source runtime timings and, when captured, VGF cycle measurements. An optional matching PTE adds its compiler graph. This workflow requires MLIA with the ExecuTorch extras installed:
uv run --with "mlia-neural-technology[executorch]" \
--with "mlia-model-explorer[executorch]" \
mlia check model.etrecord \
--target-profile neural-technology \
--performance \
--profiling-data model.etdump \
--companion-model model.pte \
--model-explorer open
Only .pte companions with VGF content and matching captured VGF profiling are
currently supported. Omit --companion-model when no companion graph is needed.
Use --model-explorer files to generate the visualization without opening it.
See ETRecord profiling for method selection,
available views and measurement limitations. Companion input is also available
through the Python API; clients without a companion-model selector can use the
CLI or Python API for this workflow.
Metadata
Release files for mlia-model-explorer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlia_model_explorer-0.2.0.tar.gz | 1.7 MB | Without provenance | Details for mlia_model_explorer-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlia_model_explorer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for mlia_model_explorer-0.2.0-py3-none-any.whl |
Total release size: 3.4 MB
Release files / mlia_model_explorer-0.2.0.tar.gz
| Download URL | mlia_model_explorer-0.2.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a800c5ce25ff52da11464d4457a3b30b90c5fd21c033f705d5154b45a8cf6f1
|
|
BLAKE2b-256 checksum How to use checksums |
90c3183fb077dc5b6bdb7d9e556de21dcca1f7550793ea616ce21abaf769bad9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Release files / mlia_model_explorer-0.2.0-py3-none-any.whl
| Download URL | mlia_model_explorer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf104121a6a21680fdba54b152080d3e6cb6f6d1013b2b1b17e892f859d50b1f
|
|
BLAKE2b-256 checksum How to use checksums |
c9aff867b5f3fa5978e3dad98224a69cee13a8c68832e29de37fc4bdfa67f075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Security for mlia-model-explorer 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.