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,20 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
"""Standalone worker bootstrap: record OS identity without importing Omni."""
|
||||
|
||||
import json
|
||||
import os
|
||||
import runpy
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
if os.name == "nt":
|
||||
from windows_process import identity
|
||||
|
||||
os.environ["VLLM_OMNI_WORKER_IDENTITY"] = json.dumps(identity())
|
||||
else:
|
||||
os.environ.pop("VLLM_OMNI_WORKER_IDENTITY", None)
|
||||
|
||||
worker = sys.argv.pop(1)
|
||||
sys.argv[0] = worker
|
||||
sys.path.insert(0, str(Path(worker).resolve().parent))
|
||||
runpy.run_path(worker, run_name="__main__")
|
||||
Reference in new issue
Block a user