Integrate portable edge graph backends with Omni runtime
Extract versioned stage contracts, model shared CPU/iGPU/NPU memory constraints, and add explicit graph routes, reservations, output acknowledgements, and worker retirement. Fix native Windows shared-buffer lifetime and host paths. Document qualified hardware paths and remaining rollout gates.
This commit is contained in:
1 parent
00510ce38b
commit
723c550209
55 files changed
+2900
-383
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Local graph example
|
||||
|
||||
See [the backend contract and deployment guide](../../docs/design/omni_edge_backends.md).
|
||||
|
||||
From a configured Omni environment:
|
||||
|
||||
```bash
|
||||
python examples/edge/run_graph_stage.py /path/to/manifest.json \
|
||||
--python /path/to/ort-venv/bin/python --report /path/to/run.json
|
||||
```
|
||||
|
||||
The worker environment needs `numpy`, `onnx` and `onnxruntime`. For Windows,
|
||||
use `--windows-worker` and the controller-visible path to `python.exe`.
|
||||
`--ep vitisai` or `--ep dml` selects a vendor provider; declare every permitted
|
||||
provider using `--allowed-provider`. No provider substitution is hidden.
|
||||
|
||||
The example reads fixed-bucket inputs from the bundle. It reports backend
|
||||
execution only; use your own model adapter and quality fixtures for a model claim.
|
||||
Reference in new issue
Block a user