omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / train / omega-llm / docs / MACBOOK.md
| 1 | # Explore Omega LLM on an Apple Silicon Mac |
| 2 | |
| 3 | The existing rung-10 model runs locally on an M2 MacBook Air in an ARM64 Linux |
| 4 | VM using Apple Virtualization.framework. This is local CPU execution, not a |
| 5 | native macOS executable or Apple GPU acceleration. The model was trained on |
| 6 | Spark; inference uses the MacBook only. No new training is claimed. |
| 7 | |
| 8 | ## Active checkpoint on Drake's MacBook |
| 9 | |
| 10 | The browser launchers now expose this checkpoint in the existing llama UI: |
| 11 | `http://127.0.0.1:8098` uses the fast ARM64 Linux guest; the separate |
| 12 | `http://127.0.0.1:8099` experiment uses Aienux's firmware-hosted Omega application |
| 13 | under x86-64 emulation. Open **Omega LLM.command** or **Aienux Omega.command** |
| 14 | in Applications/Omega. Select **Omega-Astra-2026-11-04** or |
| 15 | **Omega-Astra-Aienux**, respectively. The adapter and its limits are documented |
| 16 | in the UI experiment (aien-train `tools/omegallm-ui/README.md`, upstream, not in omega-mv). It is temporary host |
| 17 | C++ compatibility code, not a native Omega macOS runtime. The firmware guest |
| 18 | does model inference without Linux; it is not the standalone Aienux kernel. |
| 19 | |
| 20 | At the operator's request, the local `Omega LLM.command` launcher now selects |
| 21 | Astra's November 4 inference experiment: `alpha-950-gain-1000.ck`, installed as |
| 22 | `omega-v2-edited-20261104.ck`. This is the 95% final / 5% midpoint weight edit |
| 23 | from [the weight-edit experiment](WEIGHT-EDIT.md), with final gain 1.00. |
| 24 | The original `omega-v2.ck` is preserved alongside it. The tokenizer is unchanged. |
| 25 | The interactive runner flushes each decoded token and exposes a resident-model |
| 26 | sampling entry point; greedy and seeded samples match the prior runner in |
| 27 | the parity receipt (aien-train `evidence/OMEGALLM/macbook-ui-20261106/parity.json`, upstream). |
| 28 | No new training or change to the repository's recommended |
| 29 | training checkpoint is implied. |
| 30 | |
| 31 | The edited file's SHA-256 is |
| 32 | `131f7e3f26f5494a9882d8107096d4209651978a5bf35eccb3f953203d1f07d6`. |
| 33 | The Mac and guest copies match. Its one-window local load/evaluation returns |
| 34 | `E 60000 1 1024131 375240`; this smoke check is not a quality benchmark. |
| 35 | The experiment's complete held-out result improved story loss by only |
| 36 | 0.016192%, below its 0.1% preference threshold. It did not establish better |
| 37 | arithmetic or reasoning. Edited checkpoints are for inference, not training |
| 38 | continuation with the preserved optimizer state. |
| 39 | |
| 40 | Local fixed-prompt checks for this selection are in |
| 41 | `evidence/OMEGALLM/macbook-edited-20261106/`. The edited model still answers |
| 42 | 17 + 25 with 12 and describes three apples as five. These probes do not show |
| 43 | a math or extraction improvement. The original results below remain unchanged |
| 44 | for comparison. To reproduce with the active edited model, substitute |
| 45 | `omega-v2-edited-20261104.ck` for `omega-v2.ck` in the commands below. |
| 46 | |
| 47 | ## Reproduce the original baseline |
| 48 | |
| 49 | Build the current CPU runner on Linux ARM64 with the pinned compiler using |
| 50 | `OMC=/path/to/pinned/omc OUT=/path/to/output sh tests/omegallm/build.sh`. |
| 51 | The Mac run used source commit `77cffb6d6698f59b0644552bcbfe0b639da94abe`. |
| 52 | Copy that runner, the rung-10 step-60000 checkpoint, its `merges4096.bin`, and |
| 53 | `held.tok` to the Mac. Keep weights outside the repository. Their exact hashes |
| 54 | are in `evidence/OMEGALLM/macbook-20261106/pins.json`. |
| 55 | |
| 56 | With Lima 2.2.0 installed, create a private VM with no host-directory mounts: |
| 57 | |
| 58 | ```sh |
| 59 | limactl start --name=omega-llm --vm-type=vz --cpus=2 --memory=2 --disk=8 \ |
| 60 | --containerd=none --mount-none --tty=false template:debian |
| 61 | limactl shell omega-llm mkdir -p omega |
| 62 | # Copy the four files with limactl copy to the guest user's omega directory. |
| 63 | # In that directory, run: |
| 64 | ./ollm adamck |
| 65 | ./ollm eval omega-v2.ck held.tok 1 merges4096.bin |
| 66 | ./ollm sample omega-v2.ck 42 32 800 "Once upon a time, a little robot" merges4096.bin |
| 67 | ``` |
| 68 | |
| 69 | The selected Debian image was trixie ARM64 `20260712-2537`. On the checked |
| 70 | window both the rebuilt CPU runner and the historical reference printed |
| 71 | `E 60000 1 1022938 374803`. A truncated checkpoint was refused with exit 10. |
| 72 | This one-window comparison does not repeat the full original held-out gate. |
| 73 | |
| 74 | ## Capability boundary |
| 75 | |
| 76 | The three fixed exploratory prompts and raw output are retained in |
| 77 | `evidence/OMEGALLM/macbook-20261106/`. The model continues the robot/kitten story |
| 78 | coherently, but answers the arithmetic question incorrectly and invents the |
| 79 | number of apples in an extraction task. It is not an instruction-tuned assistant |
| 80 | and does not yet replace a general small chat model. |
| 81 | |
| 82 | The `qwen` fields record the initial default-device reference. The separate |
| 83 | `*-omega-backend.json` files record Qwen2.5-0.5B with the verified Omega device |
| 84 | explicitly selected. Backend execution was checked independently in ggml-omega |
| 85 | with a deliberately wrong addition kernel. Different tokenizers mean raw tokens |
| 86 | per second should not be used as a direct cross-model speed ratio. Wall times |
| 87 | include guest command startup on the Omega LLM side. These are single samples, |
| 88 | not repeated performance or capability qualification. |
| 89 | |
| 90 | Stop the VM when finished with `limactl stop omega-llm`. It stores model files on |
| 91 | its private disk and does not mount the Mac home directory. |