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/aien-architecture-mv/issues/ee9e1adfe454cad5 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [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 Lane Issue Dependency / start condition Inventory and parity aien-architecture-mv#301 Start immediately; reconcile #300/#599 Seed/compiler baseline omega-mv#660 Start immediately; existing seed owner Tensor/device semantics omega-mv#663 Inventory + #625/#628 contracts Autograd/transforms omega-mv#664 Tensor schema; implementations follow qualified ops Graph/compiler/export omega-mv#665 Seed + tensor/gradient contracts; existing #623/#632 Data/tokenizer/checkpoint aien-train#5 Start contract/fixture work now; #636 host facilities Models/optimizers/training aien-train#6 Tensors + gradients + data; reuse #606 Distributed training aien-train#7 Transport contracts now; real training after native single-worker gates GB10 whole-model slice omega-mv#661 #660 + existing #638/CUDApp#35 Second GPU vendor CUDApp#62 Device selection now; same workload as #661; existing #36 family owners Inference ecosystem omega-mv#666 Tensor/data + existing serving owners; consumes #661 Developer tooling/evaluation omega-mv#667 Inventory/contracts; consumes native workflow artifacts Two-vendor reproduction omega-mv#662 #660 + #661 + CUDApp#62 Full workflow/retirement gates aien-architecture-mv#302 Independent tests begin now; release gates consume all lanes ## Phased execution - 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. - 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. - 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. - 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. - 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. - 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 - Inventory and parity — aien-architecture-mv#301 - Seed/compiler baseline — omega-mv#660 - Tensor/device semantics — omega-mv#663 - Autograd/transforms — omega-mv#664 - Graph/compiler/export — omega-mv#665 - Data/tokenizer/checkpoint — aien-train#5 - Models/optimizers/training — aien-train#6 - Distributed training — aien-train#7 - GB10 whole-model slice — omega-mv#661 - Second GPU vendor — CUDApp#62 - Inference ecosystem — omega-mv#666 - Developer tooling/evaluation — omega-mv#667 - Two-vendor reproduction — omega-mv#662 - Full workflow/retirement gates — aien-architecture-mv#302 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: - Architecture304: native catalogue checker and integration queue , final `ae8a8739177e35569734bb069a699478fad18f0d`.40 pending capability families,27 upstream reference pins; native checker independently768checks/17hostile streams/3compiled controls. Output-error defect caught and fixed; original RED retained. - Omega675: three independently reconstructed compiler profiles , stacked on existing L408 definition-export ancestry. Host and definition capabilities remain separate, with exact source/seed/binary provenance. - Omega674: native tensor metadata and lifetime admission :14457 author plus48380 independent checks;3 compiled controls; actual downstream .om consumers. - Train15: real IEEE FP32 forward, explicit backward and SGD :374708 author plus1041 independent checks including14 symbolic central differences;3 compiled controls rejected by both. Reuses existing L720 arithmetic and shared tensor metadata, no foreign product runtime. - Train16: actual admitted-example token packing :282622 author plus84378 independent checks;3 compiled controls rejected by both. Reuses L775/L776 admission; supplied tokens, masks and attention boundaries, not a tokenizer/file loader. - Train14: native distributed-operation admission :265 checks,5 compiled controls, independent81 message-sequence enumerations and boundary checks. No network payload or reduction claim. 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