interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / train / omega-llm / docs / MACBOOK.md

91 lines · 5122 bytes Raw Blame History Rendered
1# Explore Omega LLM on an Apple Silicon Mac
2
3The existing rung-10 model runs locally on an M2 MacBook Air in an ARM64 Linux
4VM using Apple Virtualization.framework. This is local CPU execution, not a
5native macOS executable or Apple GPU acceleration. The model was trained on
6Spark; inference uses the MacBook only. No new training is claimed.
7
8## Active checkpoint on Drake's MacBook
9
10The 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
13under x86-64 emulation. Open **Omega LLM.command** or **Aienux Omega.command**
14in Applications/Omega. Select **Omega-Astra-2026-11-04** or
15**Omega-Astra-Aienux**, respectively. The adapter and its limits are documented
16in the UI experiment (aien-train `tools/omegallm-ui/README.md`, upstream, not in omega-mv). It is temporary host
17C++ compatibility code, not a native Omega macOS runtime. The firmware guest
18does model inference without Linux; it is not the standalone Aienux kernel.
19
20At the operator's request, the local `Omega LLM.command` launcher now selects
21Astra'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
23from [the weight-edit experiment](WEIGHT-EDIT.md), with final gain 1.00.
24The original `omega-v2.ck` is preserved alongside it. The tokenizer is unchanged.
25The interactive runner flushes each decoded token and exposes a resident-model
26sampling entry point; greedy and seeded samples match the prior runner in
27the parity receipt (aien-train `evidence/OMEGALLM/macbook-ui-20261106/parity.json`, upstream).
28No new training or change to the repository's recommended
29training checkpoint is implied.
30
31The edited file's SHA-256 is
32`131f7e3f26f5494a9882d8107096d4209651978a5bf35eccb3f953203d1f07d6`.
33The 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.
35The experiment's complete held-out result improved story loss by only
360.016192%, below its 0.1% preference threshold. It did not establish better
37arithmetic or reasoning. Edited checkpoints are for inference, not training
38continuation with the preserved optimizer state.
39
40Local fixed-prompt checks for this selection are in
41`evidence/OMEGALLM/macbook-edited-20261106/`. The edited model still answers
4217 + 25 with 12 and describes three apples as five. These probes do not show
43a math or extraction improvement. The original results below remain unchanged
44for 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
49Build 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`.
51The Mac run used source commit `77cffb6d6698f59b0644552bcbfe0b639da94abe`.
52Copy 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
54are in `evidence/OMEGALLM/macbook-20261106/pins.json`.
55
56With Lima 2.2.0 installed, create a private VM with no host-directory mounts:
57
58```sh
59limactl start --name=omega-llm --vm-type=vz --cpus=2 --memory=2 --disk=8 \
60 --containerd=none --mount-none --tty=false template:debian
61limactl 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
69The selected Debian image was trixie ARM64 `20260712-2537`. On the checked
70window both the rebuilt CPU runner and the historical reference printed
71`E 60000 1 1022938 374803`. A truncated checkpoint was refused with exit 10.
72This one-window comparison does not repeat the full original held-out gate.
73
74## Capability boundary
75
76The three fixed exploratory prompts and raw output are retained in
77`evidence/OMEGALLM/macbook-20261106/`. The model continues the robot/kitten story
78coherently, but answers the arithmetic question incorrectly and invents the
79number of apples in an extraction task. It is not an instruction-tuned assistant
80and does not yet replace a general small chat model.
81
82The `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
84explicitly selected. Backend execution was checked independently in ggml-omega
85with a deliberately wrong addition kernel. Different tokenizers mean raw tokens
86per second should not be used as a direct cross-model speed ratio. Wall times
87include guest command startup on the Omega LLM side. These are single samples,
88not repeated performance or capability qualification.
89
90Stop the VM when finished with `limactl stop omega-llm`. It stores model files on
91its private disk and does not mount the Mac home directory.