Commit 3861631
WP1: native VLM package emission (typed metadata) (#420)
Implements native VLM package emission aligned with the typed onnx-genai
metadata schema.
Independent review (Resch):
- Model-name gate: no VLM production logic branches on model identity;
the sole grep hit is an unrelated pre-existing Qwen3-TTS docstring.
- `python3 -m pytest
src/mobius/integrations/onnx_genai/inference_metadata_test.py -q`: 40
passed. (`python` is unavailable on this host, so the equivalent
`python3` interpreter was used.)
- `ruff check src/mobius/integrations/onnx_genai/inference_metadata.py`:
passed.
- Spot-checked schema fields/enums/capabilities against onnx-genai Rust
and JSON schemas.
Authored by Dave; independently reviewed by Resch.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 54be48a commit 3861631
2 files changed
Lines changed: 35 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| 689 | + | |
689 | 690 | | |
690 | 691 | | |
691 | 692 | | |
| |||
695 | 696 | | |
696 | 697 | | |
697 | 698 | | |
| 699 | + | |
698 | 700 | | |
699 | 701 | | |
700 | 702 | | |
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
704 | | - | |
| 706 | + | |
| 707 | + | |
705 | 708 | | |
706 | 709 | | |
707 | 710 | | |
| |||
729 | 732 | | |
730 | 733 | | |
731 | 734 | | |
| 735 | + | |
732 | 736 | | |
| 737 | + | |
733 | 738 | | |
734 | 739 | | |
735 | 740 | | |
| |||
975 | 980 | | |
976 | 981 | | |
977 | 982 | | |
978 | | - | |
| 983 | + | |
979 | 984 | | |
980 | 985 | | |
981 | | - | |
982 | | - | |
983 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
984 | 989 | | |
985 | 990 | | |
986 | 991 | | |
| |||
1182 | 1187 | | |
1183 | 1188 | | |
1184 | 1189 | | |
1185 | | - | |
1186 | 1190 | | |
1187 | 1191 | | |
1188 | 1192 | | |
| |||
1314 | 1318 | | |
1315 | 1319 | | |
1316 | 1320 | | |
| 1321 | + | |
1317 | 1322 | | |
1318 | 1323 | | |
1319 | | - | |
| 1324 | + | |
1320 | 1325 | | |
1321 | 1326 | | |
1322 | 1327 | | |
1323 | 1328 | | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
1324 | 1333 | | |
1325 | | - | |
| 1334 | + | |
1326 | 1335 | | |
1327 | | - | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1328 | 1339 | | |
1329 | 1340 | | |
1330 | 1341 | | |
| |||
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
423 | 430 | | |
424 | 431 | | |
425 | 432 | | |
426 | 433 | | |
427 | 434 | | |
428 | | - | |
429 | 435 | | |
430 | 436 | | |
431 | 437 | | |
432 | 438 | | |
433 | 439 | | |
434 | 440 | | |
435 | | - | |
436 | 441 | | |
437 | 442 | | |
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
441 | 446 | | |
442 | | - | |
443 | 447 | | |
444 | 448 | | |
445 | 449 | | |
| |||
621 | 625 | | |
622 | 626 | | |
623 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
624 | 633 | | |
625 | 634 | | |
626 | 635 | | |
627 | 636 | | |
| 637 | + | |
628 | 638 | | |
629 | | - | |
| 639 | + | |
| 640 | + | |
630 | 641 | | |
631 | 642 | | |
632 | 643 | | |
| |||
764 | 775 | | |
765 | 776 | | |
766 | 777 | | |
767 | | - | |
768 | 778 | | |
769 | 779 | | |
770 | 780 | | |
| |||
0 commit comments