interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

[OMEGA-UNIX-GPU] Validate composable GPU boundaries and repository topology before splitting repos

Open · #296 · open 2026-10-22 22:07 UTC

Imported from GitHub aien-dev/aien-architecture-mv#296, by drakestapleton

drakestapleton wrote on 2026-10-22 22:07 UTC

Related universal compiler master: https://github.com/aien-dev/aien-architecture-mv/issues/295 Unix GPU pipeline implementation: https://github.com/aien-dev/omega-mv/issues/632 GPU portfolio / 10 children: https://github.com/aien-dev/CUDApp/issues/36

Existing research and code (read before writing)

  • docs/research/repo-topology-unix-vs-monorepo-vs-hybrid.md (2026-10-16): Unix philosophy means small composable programs with clear interfaces, not one Git repository for each program. It finds moving-branch pin drift in the sibling checkout graph, a cycle across core repos, and recommends reversible hybrid-core experiment rather than irreversible renaming.
  • docs/PIPELINE.md, docs/adr/0033-aien-verification-pipeline.md: Spark is the only judge; gate paths, verified bundles and signed receipts must remain correct. GitHub hosted builds cannot claim success without Spark verification.
  • CUDApp docs/runtime/PORTABILITY.md and portability_table.tsv: at recorded baseline 87 files chip-specific, 15 portable; current platform interface isolates some OS/driver functions but chip-specific source files still hold sm_121 opcode, class, QMD, cache and sync rules. Same Blackwell setup block repeated in eleven files.
  • Omega src/compiler/osc_ir.h, src/omega_gpu_platform.h, src/omega_gpu_engine.c; CUDApp src/omega_gpu_engine.c, nvrm/ and m16/.

Goal and explicit non-goals

Determine a reversible Unix-style division into independently usable tools, interface libraries, plugins and test suites. Make GPU semantics, capability discovery, lowering, driver adapter, execution, measurement and verification separate concerns. A directory/module, small library or process may own a concern; separate repository only where ownership, release, compatibility, deployment or dependency graph demands it. Do not invent ten empty repos or rewrite Git history.

Experiments (read-only to production Git)

  1. Draw actual current dependency/call graph (Omega, CUDApp, aienux, Sovereign Core, protocols, architecture) and note cyclic edges and moving refs.
  2. Identify portable C ABI surfaces and stable versioned stream schemas; prototype one offline probe | legalize | lower | check workflow and one in-process launch adapter with opaque handles. No large tensor IPC through stdout.
  3. Benchmark overhead of the separated stages vs existing monolithic path on identical fixtures. Measure startup/serialization only where executed; no guesswork.
  4. Compare three repository choices in a throwaway local scratch worktree: existing multi-repo with immutable pins; hybrid core + GPU backend attachments; many GPU vendor repos. Record breakage of gate roots, package licenses (Omega AGPL, CUDApp MIT), test path selectors, PR workflows, build dependencies and ownership.
  5. Produce a minimal migration plan with rollback, no changed public repository names, issue transfer, broken locks, CUDApp GPU library compatibility and acceptance gates. Keep owner decision before any migration.
  6. Preserve GPU qualification in separately pinned evidence per family. A backend plugin cannot grant authority or claim hardware features silently.

Acceptance: pin-based reproducible dependency graph, exact interface spec, two working logic-only tools and two backend fixtures (one existing NVIDIA and one refusing mock), quantitative build/runtime overhead or explicitly NOT_RUN, independently reviewed recommendation with estimated migration cost; all current CI/gates preserved. Publish original sources & capability limitations; never execute repository rename, mass issue transfer or public deployment under this research ticket.

No comments.

Sign in to comment