interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-train / README.md

103 lines · 9797 bytes Raw Blame History Source

aien-train

Pre-alpha. Training my own language model on AIEN's own engine (Omega, no CUDA, no third-party training framework), starting on one DGX Spark (GB10).

The thesis under test: the big labs got where they are by pushing mass data and mass compute through a stack they built as they went. Their pitfalls are known now. If I go back through that history first, write the lessons down, and design the training run around the physics of the chip (keep the work on the math cores, stop streaming weights through slow memory every step), a small machine can train a real model the right way the first time.

Every claim in docs/ links to a source or to a receipt in evidence/. Numbers carry the chip they were measured on.

How it works

Problem. Train a language model with no CUDA and no third-party training framework. Every forward pass, gradient, optimizer step, tokenizer and checkpoint is first-party Omega (.om) source, compiled by the seeded Omega compiler omc from omega-mv.

Mechanism. Omega LLM is a decoder-only transformer in native/omegallm/.

The earlier NL1 experiment, a learned numerical channel between two small networks, uses the same toolchain on a much smaller scale.

Design choices, and why.

Worked budget. All arithmetic is WolframLanguageEvaluator, and each figure is checked against a file. A checkpoint holds the parameters plus Adam's two moments, all f64, so it costs 3 × 8 = 24 bytes per parameter plus a header:

Limitations and failed approaches.

Reproduce on a CPU (offline, no model download, no GPU)

Requirements: AArch64 Linux, POSIX sh, git, sha256sum and cmp. The compiler is born from omega-mv's seed with no C toolchain.

git clone https://github.com/aien-dev/omega-mv && cd omega-mv
git checkout 1fe5976d398646b17acabbf6d9dfae96b017e439
sh seed/omega-from-seed.sh            # ends RC=0
sha256sum seed/out/omc                # d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84
OMC=$PWD/seed/out/omc; cd ..
git clone https://github.com/aien-dev/aien-train && cd aien-train/native/neuralese
cat hadamard.om io.om check.om > /tmp/nl1-fixed.om && "$OMC" < /tmp/nl1-fixed.om > /tmp/nl1-fixed && chmod +x /tmp/nl1-fixed
/tmp/nl1-fixed > /tmp/nl1-fixed.out; echo rc=$?                 # rc=0, last line NL1FIX PASS
cmp /tmp/nl1-fixed.out evidence/fixed.stdout && echo SAME      # SAME
cat hadamard.om io.om affine.om learn.om > /tmp/nl1-learn.om && "$OMC" < /tmp/nl1-learn.om > /tmp/nl1-learn && chmod +x /tmp/nl1-learn
sha256sum /tmp/nl1-learn             # ea8aeebe161bd3319a319de2d7cb836c3014a5d1ae887348ee3e5db768ef50bd
/tmp/nl1-learn > /tmp/nl1-learn.out; tail -1 /tmp/nl1-learn.out   # NL1LEARN END, 15175 lines

The same CPU-only pattern works for Omega LLM itself, with omega-mv e5b32567's omc (sha256 2c824805…; see Build):

Training at scale and the chip commands need TinyStories data and an authorized GB10 window. They are outside this recipe.

Layout:

Human-Directed Agentic Engineering

Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions.

For the documented method and a systems-software case study, see Gregory M. Kurtzer, Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering (2026). This is a development-method citation, not evidence that a training run or earlier experiment has passed.

Verified examples (DRA-122)

tools/verified_examples re-runs the scoreboard referee before admitting programs, emits deterministic JSONL provenance and exports continuation text accepted by the existing trainer prep command. Instruction-format training remains DRA-123. No training or GPU execution is part of this tool.