Outcome
The shared tensor substrate replaces framework tensor/storage/operator duties across training and inference. Grounding: src/tensor/omega_tensor.{c,h}, omega_tensor_cpu.c, omega_tensor_gb10.c, omega_tensor_store.c and src/omega_numeric* are existing migration inputs. Reuse #625/#628/#638 and CUDApp #35/#16; inspect active .om equivalents first.
- Freeze storage ownership, bounded allocation, shapes/strides/views/broadcasting, indexing, mutation/version counters, aliasing, device transfers, stream/event lifetime, errors and deterministic RNG state.
- Specify integer/boolean/FP/BF16/FP16/FP8 modes, casts, reductions, accumulation, overflow, nonfinite/subnormal and complex behavior. Unsupported dtypes/layouts explicitly refuse.
- Implement .om baseline operators for a complete transformer plus gradient consumers, then tracked coverage for linalg, FFT, sparse/ragged/quantized and remaining catalogue operators; no silent scope deletion.
- Compare against independent mathematical/third-party oracles outside the delivery closure. Check empty/zero-dimension tensors, noncontiguous views, overlap, shape overflow, OOM, stale buffers, reduction order and cross-device copies.
- Freeze one versioned operation registry shared by CPU/GPU/gradient/compiler; adding an op requires schema, implementation, differential fixture, refusal tests and numeric contract.
- Native .om CPU correctness first, then real GB10 through existing backend and second-vendor gate CUDApp #62. Delete replaced project-owned legacy implementations only after consumers pass.
Delivery rules
User-authorized plan, 2026-10-23, continuing Omega #599. All new first-party implementation, tests and automation use handwritten seeded .om. Qualify replacements, cut consumers over, and delete retired first-party implementations/dependencies from active trees; keep immutable history/evidence. External hardware/OS/firmware/API dependencies and independently sourced test oracles must be explicitly inventoried. No hidden C/.osc/Rust/Python production fallback. Missing language facilities are requests to the existing compiler owner, not permission to create a second compiler. Reconcile current branches, PRs, issue comments, ledger and worktree ownership before editing. Existing owners remain authoritative; one writer per shared compiler/runtime file. Preserve live serving, model residency, driver state, visibility and existing release coordination. This task does not authorize deployment, driver swaps or new hardware purchases. Use isolated candidates and coordinated hardware windows. Independent final-source review, exact commits/compiler/binary/config hashes, raw commands/exits and negative controls are required. Host, simulator and hardware results are separate. NOT_RUN/BLOCKED is not PASS. Do not auto-close from a source-only PR.
Expanded scope and parity policy
This belongs to Drake's explicit 2026-10-23 expansion: replace PyTorch and the surrounding AI software ecosystem in Omega. The two-vendor inference demonstration is an early milestone, not full ecosystem completion. Build independently implemented Omega facilities, not Python wrappers. Compatibility with external formats/protocols is allowed; a framework import shim is not replacement. Version the supported surface, map remaining capabilities to owned issues, and do not advertise universal parity from a small passing subset. Current branch/owner reconciliation precedes changes; source filenames below are migration evidence, not instructions to keep legacy code.
2026-10-28 quantization semantic interface to GPU realization
Consume CUDApp #156 as the target-specific quant repacking and native GPU layout owner, and CUDApp #35 as checked device realization. This Omega issue remains authoritative for dtype/value/scale/zero-point semantics, shape/stride, rounding, nonfinite, exact/approx numerical profiles and lossless/quality distinctions shared by CPU/GPU/gradient consumers. Prefer one versioned descriptor/operation identity with multiple verified device layouts, never a compulsory packed representation or second GPU generator. Coordinate compiler pin #660 and canonical consumer cutover CUDApp #106.