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

tosa-adapter-model-explorer

JSON →
library0.1.0pypypi✓ verified 30d 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.

ai-mlserialization
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.

import tosa_adapter_model_explorer

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 footguns
breakingRequires Python >=3.10 and <3.13; incompatible with Python 3.13+.
gotchaThe adapter must be registered before any model loading; otherwise, TOSA files are not recognized.
deprecatedVersion 0.1.0 is the first stable release; no deprecation warnings yet. However, the API is subject to change.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
23 hits · last 30 days
petalbot
9
gptbot
4
ahrefsbot
3
claudebot
3
script
1
bingbot
1
mj12bot
1
chatgpt-user
1
Resources