Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/issues/52deb5335ef386b8 # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # Set up a text-only LocalRouter integration with the Omega HTTP server Open · #27 · open 2026-10-22 17:14 UTC Imported from GitHub aien-dev/CUDApp#27, by drakestapleton drakestapleton wrote on 2026-10-22 17:14 UTC ## Observed evidence LocalRouter `70ad4fa198dfc0c8175d02fff746e95759c42d59`, src/engines/openai_server.zig launches and owns a child server, polls /health, and proxies chat. src/tool/process.zig and config.zig describe a shared host GPU lock held while tools remain loaded. Sovereign-core `754c07b118f41ad899607b60329bd851b1ccb13e`, crates/aien-serve-http/src/server.rs exposes /health, /v1/models and /v1/chat/completions but explicitly rejects tool calling. omega_engine.rs exclusively takes /tmp/aien-gb10.lock during load and generation. Giving LocalRouter that same lock would block Omega. ## Executive summary Status: IN_REVIEW. Prepare a bounded, text-only setup using LocalRouter's existing openai_server engine and a separate Omega candidate process. Keep CUDApp's execution backend intact. This is a component integration, not a new whole-system plan. ## Ownership and scope Codex owns tools/localrouter/ and tests/localrouter/ in a dedicated CUDApp branch. No sovereign-core or upstream LocalRouter implementation changes in this slice. Reuse #5 provenance work and #15/#17 where relevant. Do not restart the live motor, occupy its port, download model weights, install Jarvis/system services, or change drivers. ## Deliverables and gates - Config generator uses inspected server flags, loopback, distinct operator-selected ports, explicit model path and memory budgets, keep_loaded=false, and voice tools/speculation/priming disabled for plain-text compatibility. - Text-only config does not take LocalRouter's shared host lock. Preserve Omega's exclusive lock; refuse to describe this as qualified mixed-GPU scheduling. - Read-only structural/config checks plus opt-in HTTP smoke checks cover model IDs, health, whole and streamed chat, a second turn, tool rejection and errors. Never turn a health-only or stub result into GPU qualification. - Host tests use local fixtures with no GPU or model download; validate unsafe/invalid settings and stream failures. - Runbook pins inspected revisions, explains build prerequisites, supervision/unload ownership, capacity measurement, startup/stop commands, protocol limitations, rollback, and next native-kernel/graph experiments. - Record executed versus NOT_RUN checks. Real LocalRouter + Omega GB10, memory, lifecycle and CUDA-free runtime provenance remain NOT_RUN until exercised on the operator's coordinated candidate. - Open a reviewable PR, keep the issue open for unmet hardware/integration gates. ## Integration boundaries HTTP text routing first. Native fatbin replacement, NVFP4 parity, image/video execution and reusable native graphs require their own experiments. No unmeasured speedup claim. The existing execution sequence and release/hardware coordination retain authority. ## Delivery ledger Draft PR: https://github.com/aien-dev/CUDApp/pull/28 Candidate commit: `e1f51071269614e25e8ef74aec4fbf4e318d0060`. Executed: 9 Python host tests PASS; loopback fixture transport PASS; shared-lock-guard negative control PASS; staged whitespace check PASS. Full make test FAILS on the existing unguarded ARM dsb sy backend instructions on x86_64. Raw logs and tested file hashes are in evidence/localrouter-setup/. NOT_RUN: real LocalRouter build (Zig 0.17.0 absent), actual LocalRouter daemon plus Rust server, GB10 model/memory, lifecycle/cancellation/process cleanup, deployed CUDA-free provenance, MCP client integration. No live motor access or service change. The issue remains open for target-host qualification. No comments. Sign in to comment