·
9 commits
to main
since this release
Model Explorer v0.1.33 introduces official support for LiteRT-LM (.litertlm) models, subgraph indexing for LiteRT/LiteRT-LM formats, a newly modernized Adapter v0.2.0 built with C-ABI & ctypes FFI, and several visualizer enhancements including fixed node width with label wrapping and WebGL fallback support.
🚀 Major Highlights
📦 New C++ Adapter Release (v0.2.0) with C-ABI
- Modernized C-ABI Packaging: The C++ adapter packaging has been modernized using a stable C-ABI with Python
ctypesFFI. This eliminates C++ standard library/compiler ABI mismatch issues, improves portability across operating systems, and fixes OSS build compatibility (#678, #685).
🤖 Official LiteRT-LM (.litertlm) Support
- LiteRT-LM Section Range Reading: Added built-in section range reading to support direct graph conversion, inspection, and visualization of
.litertlmmodels in Model Explorer (#682).
🔢 Subgraph Indexing for LiteRT & LiteRT-LM
- Explicit Subgraph Indices: Added an optional
subgraphIndexfield to the C++ Subgraph schema and JSON serializer, enabling accurate subgraph identification and indexing across LiteRT and LiteRT-LM models (#676).
🎨 Visualization & UI Improvements
- Fixed Node Width & Label Wrapping: Added visualizer support for fixed node widths and automatic label wrapping, improving graph clarity and reducing horizontal sprawl for complex node names (#591).
- WebGL Availability Check & Fallback: Added graceful WebGL detection and fallback rendering in
ModelGraphVisualizerwhen hardware acceleration/WebGL is unavailable (#673). - UI Polish & Controls:
- Added background texture visualizer configuration and increased the toggle button size for the info panel (#586).
- Removed height restrictions from the Node Data Provider (NDP) summary panel for easier inspection (#684).
- Fixed search results layering by increasing the z-index of the search results container (#620).
- Refactored worker initialization for smoother layout processing (#608).
⚡ Adapters & Ecosystem
- Post Graph to Model Explorer: Added support for directly posting graphs into Model Explorer (#654).
- Conditional ExecuTorch Import: Made ExecuTorch imports lazy/conditional to avoid unnecessary import failures when ExecuTorch is not installed in the environment (#626).
- Enhanced Error Messages: Improved error reporting in the MLIR adapter and clarified missing adapter messages by renaming "No supported adapter" to "Unsupported model format" (#628, #639).
🛠️ Maintenance & Dependency Updates
- Updated copyright and license header formatting (#690).
- Updated visualizer screenshot test goldens (#590).
- Bumped dependencies and updated web application bundle assets (#691).
📋 What's Changed
- Add background texture visualizer config. Increase info panel toggle button size. by @copybara-service[bot] in #586
- Update screenshot goldens for tests by @jinjingforever in #590
- Add support for fixed node width and label wrapping. by @copybara-service[bot] in #591
- Refactor how worker is initialized by @copybara-service[bot] in #608
- Increase z-index of search results container. by @copybara-service[bot] in #620
- Implement conditional import for executorch by @yijie-yang in #626
- Improve error reporting in mlir adapter by @copybara-service[bot] in #628
- Rename "No supported adapter" message to "Unsupported model format" by @copybara-service[bot] in #639
- Add WebGL availability check and fallback view in ModelGraphVisualizer. by @copybara-service[bot] in #673
- Enable posting graph to ME by @copybara-service[bot] in #654
- Add optional subgraphIndex field to C++ Subgraph schema and JSON serializer by @copybara-service[bot] in #676
- Optimize Model Explorer adapter packaging and fix OSS build compatibility. by @copybara-service[bot] in #678
- Enable LiteRT-LM section range reading in Model Explorer graph conversion. by @copybara-service[bot] in #682
- Remove height restriction from node data provider summary panel. by @copybara-service[bot] in #684
- Modernize Model Explorer adapter packaging with C-ABI and ctypes FFI. by @copybara-service[bot] in #685
- Update copyright and license header formatting by @copybara-service[bot] in #690
- Bump version, update bundle and deps by @yijie-yang in #691
Full Changelog: model-explorer-v0.1.32...model-explorer-v0.1.33