ai-edge-model-explorer
A modern model graph visualizer and debugger
What it is and what it does
Model Explorer is a visualization and debugging tool for machine learning model graphs. It presents model operations in a hierarchical, nested structure that you can expand or collapse interactively, making it easier to understand complex architectures. The tool supports multiple model formats—TFLite, TensorFlow, TFJS, MLIR, and PyTorch Exported Programs—and provides features like input/output highlighting, metadata overlay on nodes, interactive layer pop-ups, search, duplicate layer detection, and GPU-accelerated graph rendering.
The package depends on Flask for its web interface, IPython for interactive exploration, and a range of utilities including requests, numpy, watchdog, and termcolor. It includes an extension framework so you can add support for additional model formats. The package is in aging maintenance (last release 186 days ago) but carries no known security vulnerabilities and installs with low friction as a pure Python wheel.
Use it for:
- Inspect and debug TFLite or PyTorch model architectures before deployment to understand layer structure and data flow.
- Overlay metadata on model nodes to verify quantization, pruning, or other optimization parameters applied during conversion.
- Search for and identify duplicate or redundant layers in a large model graph to spot optimization opportunities.
- Interactively explore nested model hierarchies in a Jupyter notebook or Colab environment for rapid prototyping feedback.
- Develop custom model format support by implementing an adapter extension for formats not yet built in.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Visualizes and debugs machine learning model graphs with hierarchical layer expansion, metadata overlay, and interactive exploration across TFLite, TensorFlow, TFJS, MLIR, and PyTorch formats.
Yes, if you work with TFLite, PyTorch, or TensorFlow models and need interactive graph visualization for debugging. The low install friction, permissive license, and lack of known vulnerabilities make it a safe choice. The aging maintenance status means you should not expect rapid bug fixes, but the core visualization functionality is stable and the package remains actively supported enough for production use.
Install
ai-edge-model-explorer on PyPI
pip
pip install ai-edge-model-exploreruv
uv add ai-edge-model-explorerpoetry
poetry add ai-edge-model-explorerInstalling ai-edge-model-explorer
Before you install
Installs cleanly as a pure Python wheel with low friction. Maintenance status is aging—last release was 186 days ago—so expect slower response to issues, though the package remains functional for its stated purposes.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without copyleft obligations.
Quickstart
pip install ai-edge-model-explorer
from ai_edge_model_explorer import visualize_model
# Pass a model file path (TFLite, TF, TFJS, MLIR, or PyTorch Exported Program)
visualizer = visualize_model('model.tflite')
Requires Python 3.9 or later; model file must be in one of the supported formats (TFLite, TensorFlow, TFJS, MLIR, PyTorch Exported Program).
Verify before relying
- Whether the web UI (implied by Flask dependency) runs locally or requires external setup.
- Performance characteristics when visualizing very large model graphs.
- Exact extent of GPU-accelerated rendering support and which hardware it covers.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — flask, ipython, ai-edge-model-explorer-adapter, dacite, packaging, portpicker, requests, termcolor, typing-extensions, numpy, watchdog |
| Maintenance | aging — 186 days since the last release |
| First released | |
| Downloads | 176,800/month — #10,234 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ai_edge_model_explorer-0.1.32-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
tosa-adapter-model-explorerEnables visualization of TOSA neural network…
permissive · top 15,000 on PyPI
pte-adapter-model-explorerExtends Model Explorer with visualization…
permissive · top 15,000 on PyPI
netronNetron is a viewer for neural network and…
permissive · top 15,000 on PyPI
ai-edge-quantizerQuantizes LiteRT models to reduce size and…
permissive · top 15,000 on PyPI
ete3ETE3 reconstructs, manipulates, analyzes, and…
copyleft · top 15,000 on PyPI
tensorboard-plugin-witAdds the What-If Tool, an interactive visual…
permissive · top 5,000 on PyPI
tensorboardTensorBoard is a web-based visualization suite…
permissive · top 1,000 on PyPI
tb-nightlyTensorBoard is a web-based visualization suite…
permissive · top 15,000 on PyPI
edge-mdt-clProvides custom neural network layers for…
permissive · top 15,000 on PyPI
torchinfoGenerates detailed summaries of PyTorch neural…
permissive · top 15,000 on PyPI