Repository navigation
Commit 00c8fac
Emit native onnx-genai metadata for VLM packages (#416)
## Summary
- emit native VLM pipeline metadata from ModelPackage graph I/O and
component topology
- select typed image processor programs through a structural rank/dtype
registry (no model_type or architecture-name dispatch)
- declare every component port, every-step embedding routes, sparse
KV/fixed state pairs, expansion, and multi-axis positions
- copy tokenizer, chat-template, and processor assets for self-contained
packages
## Validation
- `python3 -m pytest
src/mobius/integrations/onnx_genai/inference_metadata_test.py
tests/cli_test.py -x -q` (54 passed)
- Ruff check/format on changed files
- no-weight Gemma4 E2B, Qwen3-VL-2B-Instruct, and Phi-4-multimodal
builds validated against onnx-genai schema with exact ONNX port lists
Implements onnx-genai VLM WP1.
---------
Co-authored-by: Copilot <[email protected]>1 parent f56db25 commit 00c8fac
4 files changed
Lines changed: 2167 additions & 2 deletions
File tree
- src/mobius
- integrations/onnx_genai
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
304 | 308 | | |
305 | 309 | | |
306 | 310 | | |
307 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
308 | 323 | | |
309 | 324 | | |
310 | 325 | | |
| |||
0 commit comments