Skip to content

Latest commit

 

History

History
106 lines (78 loc) · 9.41 KB

status.md

File metadata and controls

106 lines (78 loc) · 9.41 KB

Integration status and access

Documentation · 한국어

This page distinguishes the architecture and integration plan from verified implementation. A component being listed or fetched does not prove that its adapters, charts or end-to-end scenarios are complete. Use the component manifest, work card and actual conformance output at the pinned revision.

Optimus Prime transition

The target engine is Optimus Prime in aicomp, with opt_prime runtime and fasop planning/search in the same product. The inspected source is main; optimus-prime is a proposed, uncreated integration branch. Its target revision is null, the engine submodule is inactive, and proposed optimus-prime/fasop adapters are not registered. Existing submodules remain the current executable sources. See design and acceptance and planning registry.

FASOP currently models training costs on heterogeneous GPUs. Inference-specific calibration, NPU planning and a reviewed llm-d placement adapter remain future work. This documentation change does not test or activate them.

Repository access · 2026-10-19

Repository Access
ai-rm Public integration hub
rm-core Public shared protocol repository
aicomp Public source for Optimus Prime (opt_prime) and FASOP (fasop); not an active engine submodule yet
rm-accel Public
hetero-npu-p2p Public
npu-offload Public
onggi Public (since 2026-10-21)
rngd-pd Public
npu-train Public
hetero-llm-d Public
rm-bench, rm-controller In-tree under packages/ (rm-bench moved here 2026-10-19; its old repository is archived)
lmd-top Public; sanitized history export, see below
duet Private; optional, access required

Use explicit submodule paths for a public-only checkout. git clone --recursive and make setup both attempt private duet. Getting started explains the alternatives.

What the umbrella currently implements

Area What is present Boundary
Layer organization Five-layer submodule layout, integration and interface guides Each component's behavior lives in its own repository
In-tree packages packages/rm-bench (measurement, real-trace replay), packages/rm-controller (topology and optimal placement, P:D rebalancer, re-placement, --apply); CI runs their tests and contract checks optimal, --apply and --rebalance run live on the RNGD+ATOM node (baselines); the rebalancer follows the mix but mis-sizes the donor role; ATOM prefill profile still an estimate
Component inspection list, doctor and manifest discovery A missing manifest may produce no steps; this is not a test PASS
Installation / quick tests Dispatch component-declared install / test commands Depends on fetched revisions and local prerequisites
Deployment kubectl apply for deploy.manifests; local Kustomize overlay support No automatic Helm invocation from deploy.chart
Interface integration rm-core protocol and component work cards Confirm adapter implementation/conformance per component
Publication checks Tracked-file sensitive-data scanner and CI Not a complete history audit or hardware validation

Safety update · 2026-10-23

The hub now pins Onggi d0b16db (onggi#67, pending upstream merge), upgrading its earlier P0 snapshot to P2 storage, cache, peers, delta restoration and CSI. It bounds concurrent materializations and rolls back newly created leases when a volume record cannot be saved. Go 1.24.13 vet, the full race suite with local VersityGW S3, and a byte-identical CLI base/delta restore passed.

In-tree rm-bench keeps missing/invalid token timings unknown, prevents them from establishing latency SLO success, and bounds connection attempts and response I/O by one request deadline (OS DNS resolution remains external). Generic deploy refuses chart-backed components before mutation and prints an explicit Helm command. Controller apply mode now grants the matching namespace-scoped Deployment permissions; operational flags must be spelled out.

Separately reviewed fixes are proposed in hetero-llm-d#12 (seed preservation and partial KEDA retries) and hetero-npu-p2p#10 (uncertain DMA quarantine, device identities and CUDA destination overlap). Their existing hub pins are unchanged; the DMA native library/manifest must be rebuilt for ABI 3 before adopting that update.

This run did not deploy a live cluster or validate actual NPU-memory updates. Automatic Onggi compile/prefetch controllers, prepared-serving metadata generation, and runtime/UI contract extensions remain follow-up integration work.

Protocol v0.1 integration · verified 2026-10-19

The v0.1 adapters were merged in every component and the submodules point at those merge commits. Verification ran with every Python component installed in one environment (rm-core v0.1.1) on an RNGD + ATOM node, plus component hosts where a check needs their environment.

Component Pinned Adapter / role Result
rm-accel c72f356 (0.4.1, chart 0.4.2) airm.accelerator_providers:rm-abstract Conformance PASS; 3 RNGD + 4 ATOM on npu-node-1, matching the device plugins. Correction: the first record here said 2 ATOM matched the vendor tools; it did not — rbln-stat numbering, fixed in 0.4.1
hetero-npu-p2p 4096573 airm.kv_transports:p2p 91 unit tests PASS; conformance SKIP (needs HETERO_P2P_HELPER and a live-buffer fixture)
npu-offload 7094711 airm.workloads:npu-offload, memory tiers 6/6 tests PASS with RNGD_LLMD; chart renders and lints
onggi de1de4f CLI onggi dedup-report (P0); no rm-core adapter yet CI: gofmt, vet, test -race PASS; on the RNGD + ATOM node 330 GB → 64.0 GB distinct (Llama-3.1-8B set), 1.73 TB → 0.94 TB (model stores)
rngd-pd 783cb1d airm.kv_transports:shm, airm.workloads:rngd-pd shm conformance PASS; 44 tests PASS; chart renders and lints
npu-train c50281b airm.workloads:npu-lora, airm_tok_s Tests PASS; chart renders and lints
hetero-llm-d 9cfa670 CRD, airm_* scrape, dashboard, placement ConfigMap Server-side dry-run PASS on the live cluster
lmd-top 8a2ec71 reads AcceleratorProfile, airm_*, placement 447 + 11 cargo tests PASS, clippy clean
rm-bench in-tree airm.workloads:rm-bench, measurements, trace replay 26 tests PASS
rm-controller in-tree airm.placements:topology, airm.placements:optimal conformance PASS, 51 tests PASS

The L1 → L5 wiring check passes through rm-core alone, and on 2026-10-19 the layers ran together on the live cluster: L1 profiles placed rngd-pd's PD pods, requests went through the llm-d gateway and EPP, KV moved over shm, and rm-bench and lmd-top measured and displayed the result — see the end-to-end run for numbers, the fixes it produced and what remains (placement controller, P2P with live buffers, RNGD→ATOM decode). Sensitive-data scans of every component tree are clean.

Blocked on hardware

RDMA for cross-node KV (#46) has no RDMA device on the NPU nodes (Intel X550/X710, no link on the 10G ports, one 1 GbE port up), and we have no root to add soft-RoCE. The code path is ready: rngd-pd nixl-ucx (rngd-pd#13) moves KV with NIXL READs over UCX, verified across two nodes over UCX-TCP (byte-exact, link-bound). RDMA then needs only UCX_TLS=rc,ud,sm,self. The Issue lists what an admin must do for each option. Its done-when needs a run with verbs, byte- and token-exact, and the measured GB/s in baselines and profiles.yaml.

Work still requiring independent validation

Component adapters, device-profile publication, charts and metrics readers have their own work cards and acceptance criteria. A combined umbrella chart, simulation cluster command, load-aware placement that serving pods follow, and a compatibility registry are integration directions, not available capabilities. The placement controller exists as a first version (dry-run verified on the cluster).

Report PASS, FAIL and hardware SKIP separately. Preserve the actual component combination and test conditions with every result.

Layout migration notes

The previous rm_monitor roles are split: the monitoring stack and Grafana dashboards belong to hetero-llm-d/monitoring/, trace/load generation to rm-bench, and the operations console to lmd-top. The old rm_monitor repository is archived. rm-accel resides under components/l1-accel/.

lmd-top public history export

The public lmd-top repository contains sanitized branches/tags. Its previous repository, including historical PRs and issues, is preserved privately as lmd-top-private-history (archived, read-only). Internal-address text was replaced with documentation addresses; the historical terminal recording and compiled Python cache were omitted from the public history. The umbrella pointer is updated to the corresponding sanitized commit. Existing developers should use a fresh clone or carefully rebase onto the sanitized history; merging old history can reintroduce removed material. The private archive is not a component to publish.