Skip to content

model-explorer-v0.1.33

Latest

Choose a tag to compare

@yijie-yang yijie-yang released this 24 Aug 21:34
· 9 commits to main since this release
215dfc9

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 ctypes FFI. 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 .litertlm models in Model Explorer (#682).

🔢 Subgraph Indexing for LiteRT & LiteRT-LM

  • Explicit Subgraph Indices: Added an optional subgraphIndex field 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 ModelGraphVisualizer when 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

Full Changelog: model-explorer-v0.1.32...model-explorer-v0.1.33