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