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

[OM-ECOSYSTEM] Replace the complete AI software ecosystem with seeded Omega: delivery plan

Open · #303 · open 2026-10-23 22:04 UTC

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

drakestapleton wrote on 2026-10-23 22:04 UTC

User goal and authority

Drake explicitly requests replacing PyTorch AND the surrounding AI software ecosystem, rebuilding it in Omega. This is a delivery plan under existing architecture #295/#298/#300 and Omega #599, not a competing architecture. The prior CUDA portability plan is retained as an early vertical milestone. Distributed training and ecosystem facilities are included in this parent even where an individual early milestone excludes them.

End state

Handwritten seeded .om owns first-party compiler, tensor/operator engine, differentiation, model composition, data/tokenization, training/fine-tuning, distributed execution, inference/serving, package/artifact tooling, evaluation and observability. Replaced first-party code and old dependencies are removed from active trees after replacement and consumer qualification. External formats/protocols remain interoperable; Python/PyTorch wrappers do not count as replacement. Existing OS/driver/firmware requirements are inventoried and software-floor work routes to existing owners; no claim of hardware independence from removing one library.

Work breakdown and dependencies

LaneIssueDependency / start condition
Inventory and parityaien-architecture-mv#301Start immediately; reconcile #300/#599
Seed/compiler baselineomega-mv#660Start immediately; existing seed owner
Tensor/device semanticsomega-mv#663Inventory + #625/#628 contracts
Autograd/transformsomega-mv#664Tensor schema; implementations follow qualified ops
Graph/compiler/exportomega-mv#665Seed + tensor/gradient contracts; existing #623/#632
Data/tokenizer/checkpointaien-train#5Start contract/fixture work now; #636 host facilities
Models/optimizers/trainingaien-train#6Tensors + gradients + data; reuse #606
Distributed trainingaien-train#7Transport contracts now; real training after native single-worker gates
GB10 whole-model sliceomega-mv#661#660 + existing #638/CUDApp#35
Second GPU vendorCUDApp#62Device selection now; same workload as #661; existing #36 family owners
Inference ecosystemomega-mv#666Tensor/data + existing serving owners; consumes #661
Developer tooling/evaluationomega-mv#667Inventory/contracts; consumes native workflow artifacts
Two-vendor reproductionomega-mv#662#660 + #661 + CUDApp#62
Full workflow/retirement gatesaien-architecture-mv#302Independent tests begin now; release gates consume all lanes

Phased execution

  1. Reconcile current branches/PRs/ledger/owners, pin the actual seeded compiler and define versioned capability contracts. Main is not the full active implementation. Inventory external reference versions and outstanding parity; no broad feature claim based on legacy V0 code.
  2. In parallel build tensor substrate, data/checkpoint path, independent validation fixtures and backend capability profiles. Compiler owner alone changes shared omc sources. Other lanes consume immutable interfaces and submit concrete facility requests.
  3. Integrate a native forward/backward/update, then train-save-resume-evaluate-export-serve. Complete GB10 seeded source-to-model execution. Extend optimizations only after correctness, with full-cost measurements.
  4. Execute the same declared model on an accessible second vendor. Qualify distributed workers/sharding after single-worker gates. Physical hardware is mandatory for physical claims; if unavailable, finish independent work and retain precise BLOCKED_HARDWARE tasks.
  5. Expand the versioned capability catalogue to all surrounding domains, including vision/audio/video/diffusion/classical and scientific/graph workloads, model/data registries, interactive tools, deployment and scheduling. Each absent capability gets an owner and executable gate. LLM-first sequencing never silently excludes the rest.
  6. Independent fresh reproduction, active-tree/dependency retirement audit, measured baseline comparisons and reviewed release candidate. A two-vendor inference demo is not full PyTorch/ecosystem parity.

Parallel agent contract

Use one coordinator plus up to six workers at a time, respecting available slots and current owners. Isolated worktrees, bounded tasks, non-overlapping path ownership and immutable handoff artifacts are required. Do not spawn duplicate owners.

  • Worker A: seed/compiler/contracts (#660/#665), single writer for compiler sources.
  • Worker B: tensors then differentiation (#663/#664); split only after shared schema and path ownership freeze.
  • Worker C: data/checkpoints then training (#5/#6 in aien-train).
  • Worker D: existing GB10/device integration and native serving (#638/#661/#666, CUDApp#35/#5).
  • Worker E: second-vendor discovery/backend (#36/#62) then distributed contracts (#7) as dependencies permit; do not run heavy hardware jobs concurrently.
  • Worker F: independent acceptance and tooling (#302/#662/#667), never sole approver of its own changes. Coordinator owns inventory #301, DAG, integration queue, blocker resolution and issue reporting. Rotate workers as lanes unblock; do not fake concurrency by editing the same compiler. Existing Renda/desk/review and live-serving ownership remains; do not restart paused workers or services.

Completion policy

Every issue has source-backed acceptance, per-stage implementation/host/device/integration status, raw evidence, negative controls and final-source review. Full replacement requires demonstrated consumer cutover plus deletion, not a filename rename. Do not auto-close from planning, merge, self-rebuild hashes, simulated hardware or a decreasing training loss. Performance is measured, not promised. Continue all unblocked work and report exact unavailable prerequisites. No production deployment, driver swap, repository-visibility change or hardware purchase is authorized by this planning task.

Checklist

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

Implementation is active under ledger L786 with three isolated workers plus coordinator, rotating the six requested roles within session capacity. Existing L408 compiler, L418 migration, L491 training, L457 serving, L444/L617/L641 portability and L773 publication ownership remains.

First evidence: three separately rebuilt compiler profiles and raw checks. Native-host f0499f41 actually passes file/process/loopback-network checks; definitions43f86be2 has different features. They are divergent compiler profiles, not one integrated compiler. Full semantic trust, model execution and retirement remain open.

Native tensor metadata/lifetime and distributed admission implementations are in isolated review. The latter consumes the exact former interface; neither is arithmetic training or physical distributed execution. Apple M2 is physically reachable, while its seeded device execution path remains an implementation dependency; inaccessible AMD iMac is a separate hardware block.

The full catalogue now has explicit non-LLM implementation leaves: aien-train#8 vision, #9 audio, #10 video, #11 diffusion, #12 classical ML, #13 graph/geometric and omega-mv#668 scientific numerical libraries. These retain existing owners and native prerequisite gates. No full-ecosystem parity or complete API denominator is claimed.

Reviewed branches are going through the existing sole PR desk. No shared compiler edits, paused-worker restarts, model loads, live-service/driver changes, deployment, legacy deletion or issue closure has occurred.

drakestapleton wrote on 2026-10-23 22:48 UTC

First implementation batch is published as six independently reviewed DRAFT proposals through the existing sole desk L773:

All exact remote heads/bases/draft state were read back. Coordinator freshly rebuilt and repeated the independent numerical1041 and packing84378 suites. Full combined source units, failed attempts, raw exits, exact dependencies and independent reports are committed in each packet. No agent approved its own implementation alone. All new executable implementation/tests/mutation tools are handwritten seeded .om; historical/external qualification oracles and existing outer build tools are disclosed.

The programme remains OPEN, with substantial implementation work remaining. Full native allocation/operator/autograd/module/trainer coverage, tokenizer/file/cursor/checkpoint/resume, held-out evaluation/export/serve, complete seeded GPU model execution, real authenticated collective reductions/sharding, broad non-LLM libraries, whole-model quality/performance and final-flow dependency audits have not passed. Production cutovers0; retirements0. Existing first-party code cannot be deleted before those actual consumers pass. Every family has an implementation issue; new non-LLM leaves train8..13 and Omega668 remain open.

Hardware correction: Apple M2 is physically reachable, so its same-model gate is BLOCKED_IMPLEMENTATION. The configured iMac did not answer SSH: BLOCKED_HARDWARE for discovery, GPU vendor/identity unverified. The earlier comment's AMD wording was not established by observation. Native AMD/AGX lab268a2e9d remains SIMULATOR only. No physical model run, service/model/driver change, deployment, visibility change, purchase or paused-worker restart occurred.

Release verification remains separate. Architecture's first hosted check was NOT_RUN because the exact signed Spark bundle was missing404; local checks do not substitute for the shared judge. All proposals remain draft/unmerged and existing holds remain intact.

Source-backed remaining gates and ownership, compatibility/dependency boundaries. Spark handoff with all exact heads/acceptance references: /home/drakestapleton/handoffs/ecosystem303/FINAL-HANDOFF.md. Existing compiler FR intake and Fabric536 received the exact integration requests; no owner was replaced.

Sign in to comment