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/6af72c0e635ee51e # 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 # Flint specialization on Spark: frozen-base Omega LoRA, native backward gates and held-out evaluation Closed · #44 · open 2026-10-29 20:52 UTC · closed 2026-11-06 23:46 UTC (reason not_planned) Imported from GitHub aien-dev/aien-train#44, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-29 20:52 UTC Evidence: Flint official config and Transformers modeling source are linked in architecture #353; attention Q/K/V/O shapes permit a bounded frozen-base adapter experiment. Existing aien-train#6 owns adapter/optimizer execution. This adds a model-specific contract, not a second trainer. Status PROPOSED; hardware training NOT_RUN. Parent: https://github.com/aien-dev/aien-architecture-mv/issues/353 Dependencies: aien-sovereign-core-mv#802 checkpoint/forward parity; aien-train#6 native optimizer/adapters and existing tensor/autodiff owners. User explicitly requested local specialization on Spark, 2026-10-29. Sources: https://huggingface.co/RecursiveSI/flint and https://github.com/huggingface/transformers/blob/main/src/transformers/models/flint/modeling_flint.py (inspected blob `746898fe08c2aba8152b00f2b8e7fb9ebe686e0c`). ## First experiment Frozen base with attention Q/K/V/O LoRA, ranks 8/16/32. Keep router and sinks frozen initially. BF16 reference versus packed-base adapter training are separate numerical paths. Use sequence length 2048 then 4096, microbatch 1 and gradient accumulation after actual peak profiling; do not reserve full inference KV caches during training. Wolfram-derived adapter count: r49((2048+4096)+2*(2048+512)+(4096+2048)). r=8: 6,823,936 parameters; r=16: 13,647,872; r=32: 27,295,744. At 16 bytes/trainable parameter (BF16 params+gradients, FP32 master+Adam moments), corresponding state is 0.101685/0.203369/0.406738 GiB. These figures exclude frozen base, activations, attention scratch, packing/scales, checkpoint staging and allocator effects. Full-model state at the same accounting is 592.846982 GiB before activations; naive resident full Adam is outside the Spark capacity envelope. ## Work and acceptance - Inventory actual native tensor/autodiff/adapter/backward kernels and current branches under #6. Reuse owners and open precise missing primitive dependencies. New first-party source/tests/automation are seeded .om; external frameworks are independent numerical references only. - Freeze BF16 and chosen packed-base profiles with exact base/adapter/config/compiler/backend IDs; retain license notices and record permitted data provenance. Public Apache-2.0 weights permit adaptation subject to license terms; do not infer training-data availability. - Build a private local corpus of compiled-and-tested Omega programs, compiler diagnostics and verified repairs, bounded tool-use traces and real repository fixes. Exclude secrets/unconsented conversations. Do not auto-publish traces. Group splits by task/repository lineage and time; deduplicate against held-out tests. - Include correct refusal/error behavior, tool formatting and continuation, concise useful answers and failed-attempt corrections with verifier labels. Do not train unsupported compiler syntax or unverified generated solutions as truth. - Validate one forward/backward/update against an independent reference, then small overfit sanity case and frozen held-out evaluation. Finite-difference small-fixture gradient checks, frozen-weight checksum, zero-learning-rate and shuffled-label controls must discriminate errors. - Activation checkpointing, bounded attention and recomputation must preserve gradients. A forward sink-aware kernel also needs the correct backward. Quantized adapter path must implement required input gradients without silently updating or fully expanding the frozen expert bank. - Measure base, adapters, gradients, master/moments, saved activations, recomputation, scratch, temporary dequantization, CPU/disk offload and peak backing bytes. Profile each target sequence/microbatch and refuse outside actual available memory plus reserve. Preserve serving resources or schedule a separate coordinated training window. - Train a short pilot, save/resume exactly including optimizer/sampler/data position; interrupt/restart equivalence and corrupt/mismatched base/adapter rejection. - Compare base and adapted models on held-out Omega compile/test success, task goodput, tool-call correctness and general coding regression at matched sampling/budget. Precommit numerical quality floors, stopping budget and rollback before the pilot. Lower training loss alone cannot pass. - Freeze attention-only adapter result before optional shared-expert/routed-expert LoRA. Expert IDs are layer-local learned functions; route-frequency or claimed semantic labels do not prove an expert specialty. Measure selection/coverage and forgetting before changing routers or expert count. - Adapter hot-load/merge/unmerge must invalidate incompatible KV/prefix caches. Preserve frozen base and independently reloadable adapters; re-quantized merged exports need fresh quality tests. - Publish source/data-manifest hashes without raw private examples, executed commands, time/memory/energy where measured, held-out results, failures and hardware NOT_RUN items. No full training or deployment claim from host component tests. ## Reproducible Wolfram query ``` p=39785287456; perRank=49*((2048+4096)+2*(2048+512)+(4096+2048)); {Table[{r,perRank*r,N[16*perRank*r/2^30]},{r,{8,16,32}}], N[16*p/2^30]} ``` Tool: WolframLanguageEvaluator, executed 2026-10-29. Counts are unitless; final columns are GiB. Model estimates require actual checkpoint/header reconciliation. No Spark training was run. drakestapleton wrote on 2026-11-06 23:46 UTC 35B retired (Drake 2026-11-06): Omega LLM only. This is a frozen-base LoRA specialization of Flint, an outside checkpoint (config and Transformers source in architecture #353). The native backward/adapter gates belong to aien-train#6 (tracked in Linear DRA-256) and carry over to the Omega LLM there. — issuecov/I8 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic) Sign in to comment