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-train/issues/7a6458261d7e5a45 # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-ECOSYSTEM P1] Replace model modules, optimizers and training/fine-tuning orchestration in Omega Open · #6 · open 2026-10-23 22:02 UTC Imported from GitHub aien-dev/aien-train#6, by drakestapleton drakestapleton wrote on 2026-10-23 22:02 UTC ## Outcome One .om application initializes a model, trains it, checkpoints, resumes, evaluates and exports it without PyTorch/Transformers/PEFT/Accelerate as execution dependencies. Existing main has docs/evidence/streams; reconcile actual trainer branches and Sovereign Core owner first. Extend Omega #606 and aien-train #3/#4 rather than build a separate trainer. - Native parameter/module/state registration, train/eval behavior, tied weights, initialization, layers, losses and composition with shape/type contracts. - Independently checked SGD and AdamW, parameter groups, weight decay, clipping, schedules, microbatch accumulation and mixed-precision/scaling policies. Preserve optimizer order and exact resume state. - Train a tractable transformer from initialization and perform fine-tuning on a fixed licensed checkpoint; report validation/generalization, not merely decreasing training loss. - Qualify LoRA/adapter training, freeze/unfreeze, merge/unmerge and reloading; quantized adaptation requires its own numeric path. Link preference/RL/distillation algorithms to existing #4 with named equations and finite budgets. - Explicit tracked module coverage expands to convolutional/recurrent/vision/audio/diffusion models and catalogue families; no claim of torch.nn completeness from transformer layers alone. - Test one independent forward/backward/update before a long run, then multi-step and interrupted/resumed equivalence. Detect wrong optimizer state, wrong frozen parameters and bad loss scaling. - Publish source/model/data/numeric pins, quality metrics, full training cost and dependency retirement evidence. Missing tensors/gradients are dependencies, not foreign fallback permission. ## 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. drakestapleton wrote on 2026-10-23 22:04 UTC Parent delivery plan: https://github.com/aien-dev/aien-architecture-mv/issues/303 The parent contains the dependency graph, phased gates and parallel-agent ownership. Drake expanded scope to the entire AI ecosystem, including PyTorch capabilities and surrounding tooling. This issue is one bounded milestone; full ecosystem completion is tracked by architecture #301/#302/#303. Reuse existing owners and implement/qualify/cut over/delete through Omega #599. Cross-vendor inference remains an early milestone, not overall parity. drakestapleton wrote on 2026-10-23 22:41 UTC A real native numerical prerequisite is now implemented and independently checked: ecosystem6 at `c7642d96c0b84b6d176dbb2dc8558b536cabe729` , functional source `d79b34352f769687b62cc77ba2e3739445723010`. It computes affine X[2,3]W[3,2]+bias, squared-error loss, input/weight/bias derivatives and SGD using existing L720 handwritten IEEE binary32 add/mul and the exact M20 metadata contract. No PyTorch or foreign execution runtime. Independent review :1041 checks including symbolic answers and central differences for all14 input/weight/bias components. Author374708 checks cover4096 exact cases plus rounding/admission/refusal atomicity. Three real compiled sign/dimension/update mutants are rejected by both suites. Coordinator freshly rebuilt and repeated the independent1041-check suite. Existing L720 primitives separately pass19041 replay checks and two compiled controls. Exact pins, raw failures and scoped no-foreign-runtime trace are retained. This is a fixed host graph with explicit derivatives, not general autograd or a complete trainer. L491 ownership stays intact. Native modules/operator breadth, optimizer state, checkpoint/resume, held-out quality, evaluate/export/serve, device/distributed execution and production cutover/deletion remain open. Whole-suite0.02s/192KiB is a diagnostic measurement, not a speedup/quality result. Draft publication is being routed through L773; #6 remains open. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6472083697` Same existing-facility extension as #3: draft #36 / #33 reuses the ecosystem6 explicit-derivative, staged-check-commit SGD design at `c7642d96` for bounded4->3->4 softsign/binary64. Native/ecosystem6 is unchanged; no parallel optimizer/trainer claim. Independent gradient/update oracle and killed mutants are included; all seeds, negative controls and failed learning target retained. Host-synthetic only, not a qualified general trainer or device result. Sign in to comment