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:
tzhouam committed 2026-09-22 13:12:33 +08:00
1 parent 00510ce38b
commit 723c550209
55 files changed
+2900 -383

No files matched your search

+5 -1
View File
@@ -2035,7 +2035,11 @@ class OmniGPUModelRunner(GPUModelRunner):
accepted: frozenset[str] | None
try:
parameters = inspect.signature(type(self.model).forward).parameters
# CUDA graph wrappers delegate attributes to their wrapped model;
# their class does not define ``forward``. Inspect the resolved
# callable so eager and captured native models use the same filter.
forward = getattr(self.model, "forward", self.model)
parameters = inspect.signature(forward).parameters
except (TypeError, ValueError):
accepted = None # not introspectable; assume it copes, as before
else: