interplane.Get Omega
Read in your language

omega-feel

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

omega-feel / tests / round40

e1e6eae Exercise adaptive kernel selection during real CPU model decode Drake Stapleton committed 2026-11-18
..
README.md2014
adapter.om1420
check.py1740
compose.py1568
replay.wl569
run.sh1438

README.md

CPU model-engine experiment

Run the checked tuner inside the AArch64 Omega LLM engine on the round40 checkpoint. The test attaches it to the last-token logits projection. Arm 0 uses the engine's four-output dot-product loop. Arm 1 uses the engine's scalar dot product over the identical weights and inputs. The adapter times only the selected projection, checks shadow logits bit for bit and restores the reference output before returning. A second build flips a single output bit in the challenger. The CPU experiment is isolated from installed servers. The GB10 serving path has different launch and timing interfaces.

  1. At aien-train commit b9bafc3c5a450b44fc5dd544805e0a94479501ca, run its AArch64 tests/omegallm/build.sh with its pinned omc. The output ollm.om is the input for this study. Its SHA-256 is checked during composition.
  2. Provide the Omega compiler from this repository's PIN and the round40 directory containing model.ck and merges.bin. Under an allowed CPU run the following command, specifying a new output directory.
    sh tests/round40/run.sh OMC ENGINE_SOURCE MODEL_DIR NEW_OUTPUT_DIRECTORY
    

    The actual positional arguments are the compiler executable, generated ollm.om file, round40 model directory and a new folder for the evidence.

  3. Each run records the input to the decision oracle and the emitted events. In Mathematica or Wolfram Engine, load tests/oracle.wl, then tests/round40/replay.wl. Evaluate replayFile["/path/to/live.trace"] and replayFile["/path/to/broken.trace"]. The resulting event lines must match the corresponding .decisions files.

The kvcmp command exercises incremental and full-context decode on the same inputs, including a prefix change midway. It compares every float64 logit within each build. The study also compares every printed token and context field against the unmodified CPU engine compiled with the same compiler. Recorded timings belong to this checkpoint, host, run and pair of implementations. They are not a throughput benchmark.