Repository navigation
Commit 1b10f77
docs(onnx-genai): document decoder-LLM support alongside diffusion
LLM support is NOT missing: the decoder metadata logic that used to live in
inference_metadata.py was refactored into the sibling decoder_metadata.py
module (build_decoder_metadata / decoder_metadata_from_config /
write_decoder_metadata), and write_onnx_genai_config dispatches to it for
autoregressive models. Verified end-to-end: 'mobius build --model <llm>
--runtime onnx-genai' emits a proper decoder document (required_capabilities
[kv_cache, multi_head_attention], model.attention, architecture, max_sequence_length).
The package/module docstrings only mentioned diffusion, which made it look like
LLM support had been dropped. Fixes:
- integrations/onnx_genai/__init__.py: describe BOTH decoder-LLM and diffusion
metadata generation and the unified write_onnx_genai_config dispatcher.
- inference_metadata.py: add a Note pointing at decoder_metadata.py for LLMs.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: bd351e74-2569-444d-a7da-6456f3b5df821 parent 06c7a06 commit 1b10f77
2 files changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
0 commit comments