Skip to content

runtime/host: wire EngineAdapter through installer, recovery, dashboard & settle - #410

Merged
FujitsuPolycom merged 3 commits into
mainfrom
feat/engine-adapter-control-plane
Nov 30, 2026
Merged

FujitsuPolycom merged 3 commits into
mainfrom
feat/engine-adapter-control-plane

Conversation

@FujitsuPolycom

Copy link
Copy Markdown
Owner

Why

Promote SGLang and generic Torch/NCCL containers ("oddities" — ExLlamaV3, torchrun, custom containers) from --plan-only stock mode to first-class citizens across installation, status/dashboard, memory settling, and crash recovery while keeping vLLM behavior 100% backward compatible.

What Changed

  • Enriched EngineAdapter contract (runtime/common/engine_adapter.py): Add health_probe_spec, classify_health_response, memory_settle_contract, dashboard_summary, and detect_engine across VllmAdapter, SglangAdapter, and GenericContainerAdapter.
  • Installer & stock-image wiring (runtime/common/installer.py, runtime/common/stock_image.py, runtime/host/install_workflow.py): Record explicit "engine" metadata in deployment records, enable GenericContainerAdapter rank specs with automatic libsircl LD_PRELOAD + libnccl.so.2 shadow-mounts + SIRCL_* route env without injecting vLLM/SGLang flags, and wire adapter-driven execution into install_workflow.py.
  • Engine-aware host ops (runtime/host/recovery.py, runtime/host/memory_settle.py, runtime/host/dashboard.py): Dispatch health/crash detection, memory-settle checks (--gpu-memory-utilization vs --mem-fraction-static vs container liveness), and dashboard engine/parallelism badges through EngineAdapter.

Verification

  • pytest across all modified and related suites: 527 passed, 9 skipped, 0 failed (runtime/common + memory_settle + stock_install 249 passed; recovery + dashboard 174 passed; install_workflow 104 passed).
  • Post-rebase on 5f04686a: check_repository_layout.py, check_release_safety.py . (0 findings), generate_compose_examples.py --check, and ruff check all exit 0.

Risks / Follow-Ups

  • Live multi-Spark qualification of SGLang and generic container launches can run whenever Ring hardware is free.

@FujitsuPolycom
FujitsuPolycom force-pushed the feat/engine-adapter-control-plane branch from de47f4e to 3f9a341 Compare November 30, 2026 14:28
@FujitsuPolycom
FujitsuPolycom merged commit 5f8ec0e into main Nov 30, 2026
10 checks passed
@FujitsuPolycom
FujitsuPolycom deleted the feat/engine-adapter-control-plane branch November 30, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant