Registry / ai-ml / tosa-adapter-model-explorer

tosa-adapter-model-explorer

JSON →
library0.1.0pypypi✓ verified 82d ago

An adapter for ai-edge-model-explorer that adds support for TOSA (Tensor Operator Set Architecture) flatbuffer files. Version 0.1.0 is the latest, with initial support and bug fixes. Release cadence is irregular.

pip install tosa-adapter-model-explorer
INSTALL
IMPORT
SIG · TOSA-ADAPTER-MODEL
T
tosa-adapter-model-explorer
ai-mlpythonv0.1.0
Install
12.0s avg
Import
Disk
532MB
Pass rate
3/ 10
Env Coverage3 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 13.5s
py 3.11
✕ build_error
✓ 11.5s
py 3.12
✕ build_error
✓ 10.9s
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✕ build_error
532MB installed
● package 532MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TosaAdapter
import tosa_adapter_model_explorer
from tosa_adapter_model_explorer import TosaAdapter

Register the TOSA adapter so that Model Explorer can visualize TOSA models.

from ai_edge_model_explorer import register_adapter from tosa_adapter_model_explorer import TosaAdapter register_adapter(TosaAdapter()) # Then use Model Explorer with TOSA files as usual
Debug
Known issues
breakingRequires Python >=3.10 and <3.13; incompatible with Python 3.13+.
fix
Use Python 3.10, 3.11, or 3.12.
affects: 0.1.0
gotchaThe adapter must be registered before any model loading; otherwise, TOSA files are not recognized.
fix
Call register_adapter(TosaAdapter()) early in your application.
affects: >=0.0.1
deprecatedVersion 0.1.0 is the first stable release; no deprecation warnings yet. However, the API is subject to change.
fix
Pin your dependency to avoid unexpected breaking changes.
affects: 0.1.0
Upgrade
Version history
0.1.0latest on PyPI · released Nov 12, 2025
Audit
Dependencies
ai-edge-model-explorerrequiredThis adapter extends Model Explorer; needed at runtime to use the adapter.
Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
tosa-adapter-model-explorer — pip install tosa-adapter-model-explorer · libregistry