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/dbaacc8780ec4c35 # 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 P0] Replace data loading, tokenization, preprocessing and checkpoint IO in Omega Open · #5 · open 2026-10-23 22:02 UTC Imported from GitHub aien-dev/aien-train#5, by drakestapleton drakestapleton wrote on 2026-10-23 22:02 UTC ## Outcome An offline-native data-to-model pipeline with reproducible restart, bounded memory and safe interoperable artifacts. Reuse existing tokenizer/model-loader owners, training #3 and Omega #636/#644/#651; do not duplicate live loaders. - Inventory implemented tokenizers and loaders; freeze model-specific normalization, vocabulary, special tokens, chat templates and encoding/decoding behavior with exact golden fixtures, including Unicode and malformed bytes. - Implement seeded .om streaming datasets, shuffling/sampling, batching/packing, masks, deterministic worker seeds, bounded prefetch/backpressure, cancellation and resume cursor. Distinguish train/eval splits and avoid leakage. - Implement safe tensor/checkpoint manifests and required safetensors/GGUF or other declared formats. Preserve dtype/layout/endian/quantization metadata; reject corrupt/truncated/oversized/overlapping records. Never execute pickle or arbitrary checkpoint code. - Save model, optimizer, scheduler, RNG, sampler and gradient-accumulation state transactionally; compare uninterrupted and interrupted/resumed training and reloaded inference. - Track image/audio/video codecs, augmentation and transforms as explicit catalogue descendants; text is the first slice, not final scope. - Native fixtures detect reordered samples, tokenizer drift, split leakage, incorrect shard indexing and partial checkpoints. Audit actual data-path runtime dependencies and remove replaced first-party foreign logic. ## 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:45 UTC Draft PR16 now implements native PACK5 token-sequence packing, published4f93aabb11e584e3f556a3cc9ea2a8d0ce062272 with unchanged reviewed functional source088258d0c76c4e3b6c73ad92c12e20948014cc6f. It consumes the existing exact L775 benchmark core and L776 curriculum admission; real cbegin/csubmit/cfinish output flows into packed tokens, next-token labels, loss masks and same-record causal attention. Frozen split/readiness/membership/capacity/full supplied tokenizer+template identity are checked. Identity comparison is not source authentication; supplied tokens are not native tokenization. Author282622 checks and separate reviewer84378 checks pass, including all65536 attention pairs at full256-position capacity,64 records, token/vocabulary extremes and refusal payload preservation/invalidation. Both suites reject three compiled mask/isolation/split mutants. Coordinator freshly rebuilt/repeated reviewer84378checks. Contract, exact dependencies and qualification limits ; original raw failures and independent review are under evidence/ECOSYSTEM5. Reuse audit corrected ownership: L384 is the shared inference regression test train, L689 is weight-flow scheduling, L292 corpus branch is explicitly DROPPED. Existing tokenizer remains a Rust wrapper; L491 transactional trainer storage and L720 native checkpoint-reader work retain their owners. No duplicate/resumed owner. Full tokenizer normalization/templates, file readers, shuffling/workers, durable cursor, transactional model+optimizer+RNG+sampler checkpoint/resume and real trainer cutover remain open. No source/dependency retirement is claimed from this additive component; #5 stays open. Sign in to comment