From e7c558ffa6456d17e026c76303edb623c4ab8813 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 06:42:40 -0400 Subject: [PATCH 1/9] Give the MLX gate's CPU reference plain-op rms_norm, rope and SDPA omarchy-mlx's CPU backend raises NYI for these mx.fast ops. The float32 replacements match the GPU fused ops (rope and SDPA exactly, rms_norm within 2.4e-6) and keep the reference independent of the kernels under test. Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/mlx-gate.py | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/mseries/local-ai/mlx-gate.py b/mseries/local-ai/mlx-gate.py index 0a5dd039..79ed5113 100755 --- a/mseries/local-ai/mlx-gate.py +++ b/mseries/local-ai/mlx-gate.py @@ -72,11 +72,58 @@ # ---------------------------------------------------------------- worker side (mlx venv) +def install_cpu_fast_ops(mx): + """omarchy-mlx's CPU backend raises NYI for mx.fast.rms_norm, rope and + scaled_dot_product_attention. Replace them with plain-op math in float32, which also + keeps the reference independent of the fused kernels under test.""" + f32 = mx.float32 + + def rms_norm(x, weight, eps): + xf = x.astype(f32) + y = xf * mx.rsqrt(mx.mean(xf * xf, axis=-1, keepdims=True) + eps) + return (y * weight.astype(f32) if weight is not None else y).astype(x.dtype) + + def rope(x, dims, *, traditional, base, scale, offset, freqs=None): + L = x.shape[-2] + pos = (mx.arange(L, dtype=f32) + mx.array(offset).astype(f32)) * scale + inv = (1.0 / freqs.astype(f32)) if freqs is not None else \ + mx.power(mx.array(base, dtype=f32), -mx.arange(0, dims, 2, dtype=f32) / dims) + th = pos[:, None] * inv[None, :] + c, s = mx.cos(th), mx.sin(th) + xf = x.astype(f32) + rot, rest = xf[..., :dims], xf[..., dims:] + if traditional: + a, b = rot[..., 0::2], rot[..., 1::2] + out = mx.stack([a * c - b * s, a * s + b * c], axis=-1).reshape(rot.shape) + else: + a, b = rot[..., :dims // 2], rot[..., dims // 2:] + out = mx.concatenate([a * c - b * s, a * s + b * c], axis=-1) + return mx.concatenate([out, rest], axis=-1).astype(x.dtype) + + def sdpa(q, k, v, *, scale, mask=None, sinks=None, **_): + B, Hq, L, D = q.shape + Hk, S = k.shape[1], k.shape[2] + if Hq != Hk: + k = mx.repeat(k, Hq // Hk, axis=1); v = mx.repeat(v, Hq // Hk, axis=1) + sc = (q.astype(f32) * scale) @ k.astype(f32).swapaxes(-1, -2) + if isinstance(mask, str) and mask == 'causal': + keep = mx.arange(S)[None, :] <= (mx.arange(L)[:, None] + (S - L)) + sc = mx.where(keep, sc, -mx.inf) + elif mask is not None: + sc = mx.where(mask, sc, -mx.inf) if mask.dtype == mx.bool_ else sc + mask.astype(f32) + if sinks is not None: + raise NotImplementedError('attention sinks not used by the gated checkpoints') + return (mx.softmax(sc, axis=-1) @ v.astype(f32)).astype(q.dtype) + + mx.fast.rms_norm, mx.fast.rope, mx.fast.scaled_dot_product_attention = rms_norm, rope, sdpa + + def load(cpu): import mlx.core as mx from mlx_lm import load as mlx_load if cpu: mx.set_default_device(mx.cpu) + install_cpu_fast_ops(mx) model, tok = mlx_load(str(MODEL)) if cpu: model.set_dtype(mx.float32) From b8bf4530046c233782d948f099f552847e455752 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 07:15:31 -0400 Subject: [PATCH 2/9] Make the MLX gate reference resumable and budget 6 GiB for it Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/mlx-gate.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mseries/local-ai/mlx-gate.py b/mseries/local-ai/mlx-gate.py index 79ed5113..2e939d9a 100755 --- a/mseries/local-ai/mlx-gate.py +++ b/mseries/local-ai/mlx-gate.py @@ -36,6 +36,7 @@ REF_DIR = HOME / '.cache/mseries-mlx-gate/reference-v1' POLICY = {'reserve_gib': 6, 'max_fan_rpm': float('inf'), 'max_temp_c': 80} ALLOWANCE_GIB = 4.5 +REFERENCE_ALLOWANCE_GIB = 6.0 # CPU float32 copy of the 248k-row output layer STEPS = 32 TIE_MARGIN = 0.5 POOLED_MARGIN, CASE_MARGIN = 1.05, 1.15 @@ -167,9 +168,12 @@ def worker(mode, out_dir): cpu = mode == 'reference' mx, model, tok = load(cpu) out_dir = Path(out_dir); out_dir.mkdir(parents=True, exist_ok=True) - meta = {} + meta_path = out_dir / 'meta.json' + meta = json.loads(meta_path.read_text())['cases'] if meta_path.exists() else {} ref = None if cpu else json.loads((REF_DIR / 'meta.json').read_text()) for name, text in CASES.items(): + if name in meta and (out_dir / f'{name}.npy').exists(): + continue # resumable: the slow CPU reference keeps finished cases ids = prompt_ids(tok, text) if not cpu: greedy(mx, model, ids, 4) # warm the kernels for this shape @@ -179,7 +183,9 @@ def worker(mode, out_dir): np.save(out_dir / f'{name}.npy', logits) meta[name] = {'prompt_tokens': len(ids), 'ids': gen, 'decode_s': decode_s, 'prompt_sha256': hashlib.sha256(json.dumps(ids).encode()).hexdigest()} - (out_dir / 'meta.json').write_text(json.dumps({'cases': meta}, indent=1)) + meta_path.write_text(json.dumps({'cases': meta}, indent=1)) + del logits + mx.clear_cache() # ---------------------------------------------------------------- driver side @@ -208,10 +214,10 @@ def run_child(mode, out_dir, env_over, deadline): 'min_available_gib': round(low or 0, 2), 'peak_temp_c': hot, 'log_tail': tail} -def admit(wait_s): +def admit(wait_s, allowance_gib=ALLOWANCE_GIB): end = time.monotonic() + wait_s while True: - r = violations(snapshot(), POLICY, extra_bytes=int(ALLOWANCE_GIB * GIB)) + r = violations(snapshot(), POLICY, extra_bytes=int(allowance_gib * GIB)) if not r: return if time.monotonic() > end: @@ -277,7 +283,7 @@ def main(): lock = (HOME / '.local/state/mseries-ai/worker.lock').open('a') fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB) if a.mode == 'reference': - admit(a.admission_wait_seconds) + admit(a.admission_wait_seconds, REFERENCE_ALLOWANCE_GIB) tmp = REF_DIR.with_name(REF_DIR.name + '.partial') res = run_child('reference', tmp, {}, 3600) if res['exit'] != 0 or res['stopped']: From a94b271ef3bde436548ef5ef873d9171af2537c2 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 07:53:19 -0400 Subject: [PATCH 3/9] tensorfold-vulkan.sh: run PR 1526's Vulkan kernel contract PR 1526 splits the runtime, the Q4 projection and its kernel-contract runner out of 1517. Upstream ran the contract on M1, M1 Max and M2 Max; the new contract mode runs it on our M1 Pro (G13S) with the private ICD. Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/tensorfold-vulkan.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/mseries/local-ai/tensorfold-vulkan.sh b/mseries/local-ai/tensorfold-vulkan.sh index c0c4ff3c..17cc4850 100755 --- a/mseries/local-ai/tensorfold-vulkan.sh +++ b/mseries/local-ai/tensorfold-vulkan.sh @@ -6,6 +6,7 @@ # tensorfold-vulkan.sh build fetch the pinned source + Zig, build server and probes # tensorfold-vulkan.sh test GPU-free host suites (no device work) # tensorfold-vulkan.sh gpu stage 1-5 GPU operator gates on the M1 Pro (private ICD only) +# tensorfold-vulkan.sh contract kernel contract (gates 1-5 + planted controls) from PR 1526 # # Kernel: no change needed. The backend talks to Honeykrisp through the existing # Asahi DRM UAPI; it requires a Vulkan 1.3 device and wip4's Honeykrisp reports 1.4. @@ -15,6 +16,9 @@ set -euo pipefail TF_REPO=https://github.com/ashhart/TensorFold.git TF_REF=pull/1517/head TF_REV=670902196c47f3e70e3f56ab933805713be31aa8 +# PR 1526 is the first stacked piece of 1517 (runtime + Q4 projection + kernel contract runner). +TF_CONTRACT_REF=pull/1526/head +TF_CONTRACT_REV=68167f428f3415d1623828fe56c20325dd3a51b1 ZIG_VERSION=0.17.0 ZIG_URL=https://ziglang.org/download/0.17.0/zig-aarch64-linux-0.17.0.tar.xz ZIG_SHA256=9e8d11661d4ae3bd57702a3832781e23ad151dde5798e16a5ccd503f65234ff8 @@ -101,6 +105,21 @@ gpu) done (( failed == 0 )) && echo "GPU GATES: PASS" || { echo "GPU GATES: FAIL" >&2; exit 1; } ;; +contract) + check_disk; fetch + [[ -f $ICD ]] || { echo "private Honeykrisp ICD not found: $ICD" >&2; exit 1; } + csrc=$ROOT/src-1526 + if [[ ! -d $csrc ]]; then + git -C "$SRC" fetch -q --depth 1 "$TF_REPO" "$TF_CONTRACT_REF" + git -C "$SRC" worktree add -q --detach "$csrc" FETCH_HEAD + fi + have=$(git -C "$csrc" rev-parse HEAD) + [[ $have == "$TF_CONTRACT_REV" ]] || { echo "PR 1526 head moved: have $have, pinned $TF_CONTRACT_REV" >&2; exit 1; } + (cd "$csrc" && ZIG_LOCAL_CACHE_DIR=$ROOT/zig-local-1526 "$ZIG" build -Dvulkan=true -Doptimize=ReleaseSafe tf-vulkan-kernel-contract) + export VK_DRIVER_FILES=$ICD + rc=0; "$csrc/zig-out/bin/tf-vulkan-kernel-contract" || rc=$? + (( rc == 0 )) && echo "KERNEL CONTRACT: PASS" || { echo "KERNEL CONTRACT: FAIL (exit $rc)" >&2; exit 1; } + ;; *) - sed -n '2,10p' "$0"; exit 2 ;; + sed -n '2,11p' "$0"; exit 2 ;; esac From bbf107ccd17d5fe8b7cef3de8b75710f44fd8e50 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 07:57:25 -0400 Subject: [PATCH 4/9] Add side-by-side Honeykrisp candidate builds; watch coreglass honeykrisp-candidate.sh builds one pinned joshuaswarren/mesa-1 commit with install.sh's flags into ~/.cache/mseries-honeykrisp; MSERIES_HK_ICD selects it per process in engine-compare.py and mlx-gate.py, whose receipts record and are named by the driver. coreglass's ledger shows its newer driver and MLX main decoding faster than the release stack we pin (7faf04c065 predates both), so it joins the people and branch watches. Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/branch-watch.json | 6 +++ mseries/local-ai/engine-compare.py | 9 ++-- mseries/local-ai/honeykrisp-candidate.sh | 56 ++++++++++++++++++++++++ mseries/local-ai/mlx-gate.py | 9 ++-- mseries/local-ai/people-watch.json | 6 +++ 5 files changed, 80 insertions(+), 6 deletions(-) create mode 100755 mseries/local-ai/honeykrisp-candidate.sh diff --git a/mseries/local-ai/branch-watch.json b/mseries/local-ai/branch-watch.json index 461dc5ba..ad3a4c86 100644 --- a/mseries/local-ai/branch-watch.json +++ b/mseries/local-ai/branch-watch.json @@ -124,6 +124,12 @@ "base": "main", "open_prs": true, "discover_branches": true + }, + { + "repo": "joshuaswarren/coreglass", + "base": "main", + "open_prs": true, + "discover_branches": true } ] } diff --git a/mseries/local-ai/engine-compare.py b/mseries/local-ai/engine-compare.py index 2384dd1b..c0a3c322 100755 --- a/mseries/local-ai/engine-compare.py +++ b/mseries/local-ai/engine-compare.py @@ -35,7 +35,9 @@ HOME / '.local/share/mseries-ai/lfm3-audio-venv/bin/python', ('mlx-5k', 'mlx-120k')), } MODEL, WEIGHTS_SHA, MODEL_ID, ALLOWANCE_GIB, MLX_PY, MODEL_ARMS = MODELS['qwen2b'] -ICD = HOME / '.local/share/mlx-omarchy/vulkan/honeykrisp_icd.aarch64.json' +# MSERIES_HK_ICD selects a candidate driver built by honeykrisp-candidate.sh. +ICD = Path(os.environ.get('MSERIES_HK_ICD') or HOME / '.local/share/mlx-omarchy/vulkan/honeykrisp_icd.aarch64.json') +DRIVER = (ICD.parent / 'mesa-git-sha').read_text().strip() if (ICD.parent / 'mesa-git-sha').exists() else 'unknown' RAPID_PATH = f"{HOME}/.cache/mseries-metal2vk/rapid-python:{HOME}/.cache/mseries-metal2vk/rapid-src" RAPID_REV = '1d09cdb684bbf58fac130f5804b08ee2e1f56558' TF_BIN = HOME / '.cache/mseries-tensorfold/src/zig-out/native/bin/tensorfold-native-vulkan' @@ -257,10 +259,11 @@ def main(): if 'tensorfold' in arms and not TF_BIN.exists(): raise SystemExit('TensorFold server missing: run tensorfold-vulkan.sh build') out = a.output or Path(__file__).resolve().parent / 'receipts' / ( - f"{time.strftime('%Y-%m-%d')}-engine-compare-{a.model}-{'long' if a.long else 'short'}.json") + f"{time.strftime('%Y-%m-%d')}-engine-compare-{a.model}-{'long' if a.long else 'short'}" + + ('' if DRIVER == '7faf04c065' else f'-hk{DRIVER}') + '.json') lock = (HOME / '.local/state/mseries-ai/worker.lock').open('a') fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB) - report = {'status': 'running', 'model_key': a.model, 'model': MODEL_ID, 'weights_sha256': WEIGHTS_SHA, 'kernel': os.uname().release, 'driver': 'Honeykrisp Mesa ' + (ICD.parent / 'mesa-git-sha').read_text().strip(), + report = {'status': 'running', 'model_key': a.model, 'model': MODEL_ID, 'weights_sha256': WEIGHTS_SHA, 'kernel': os.uname().release, 'driver': 'Honeykrisp Mesa ' + DRIVER, 'tensorfold_rev': TF_REV, 'rapid_rev': RAPID_REV, 'prompt_sha256': hashlib.sha256(prompt_text.encode()).hexdigest(), 'max_tokens': max_tokens, 'policy': {**POLICY, 'max_fan_rpm': None}, 'allowance_gib': ALLOWANCE_GIB, 'arms': arms, 'runs': []} diff --git a/mseries/local-ai/honeykrisp-candidate.sh b/mseries/local-ai/honeykrisp-candidate.sh new file mode 100755 index 00000000..822e8078 --- /dev/null +++ b/mseries/local-ai/honeykrisp-candidate.sh @@ -0,0 +1,56 @@ +#!/usr/bin/env bash +# Build one pinned Honeykrisp (joshuaswarren/mesa-1) commit beside the installed +# private driver, with install.sh's exact Mesa flags. Nothing installed changes: +# the result is selected per process with MSERIES_HK_ICD=. +# +# honeykrisp-candidate.sh +# +# Why: coreglass's daily ledger shows its newer stack (driver 9323171c12, MLX main) +# decoding faster on an M1 than the release stack we run (driver e7631595df); +# our pin 7faf04c065 is older than both. Known risk: f144c7949b (6 commits before +# 9323171c12) crashes agx_ra on software cooperative matrices with AGX_SIMDMAT=1; +# see receipts/2026-10-19-honeykrisp-v3-candidate. The MLX gate decides. +set -euo pipefail + +rev=${1:?usage: $0 } +[[ $rev =~ ^[0-9a-f]{40}$ ]] || { echo "give the full 40-character commit" >&2; exit 2; } +root=${MSERIES_HK_ROOT:-$HOME/.cache/mseries-honeykrisp} # never /tmp: RAM-backed +src=$root/src-${rev:0:10} +prefix=$root/${rev:0:10} +free=$(df --output=avail -BG "$HOME" | tail -1 | tr -dc 0-9) +(( free >= 5 )) || { echo "refusing: ${free} GiB free under \$HOME, floor is 5" >&2; exit 1; } + +if [[ ! -d $src/.git ]]; then + git init -q "$src" + git -C "$src" remote add origin https://github.com/joshuaswarren/mesa-1.git +fi +if [[ $(git -C "$src" rev-parse -q --verify HEAD 2>/dev/null) != "$rev" ]]; then + git -C "$src" fetch -q --depth 1 origin "$rev" + git -C "$src" checkout -q --detach FETCH_HEAD +fi +[[ $(git -C "$src" rev-parse HEAD) == "$rev" ]] || { echo "checkout is not $rev" >&2; exit 1; } + +meson setup --reconfigure "$src/build-mlx" "$src" --prefix="$src/private" --libdir=lib \ + -Dgallium-drivers= -Dvulkan-drivers=asahi -Dplatforms= -Dglx=disabled \ + -Degl=disabled -Dgbm=disabled -Dgles1=disabled -Dgles2=disabled \ + -Dopengl=false -Dllvm=enabled -Dbuildtype=release +ninja -C "$src/build-mlx" -j "${MSERIES_AI_JOBS:-4}" +meson install -C "$src/build-mlx" >/dev/null + +mkdir -p "$prefix/vulkan" +install -m755 "$src/private/lib/libvulkan_asahi.so" "$prefix/vulkan/" +python3 -I - "$src/private/share/vulkan/icd.d/asahi_icd.aarch64.json" "$prefix" <<'PY' +import json, sys +from pathlib import Path +source, prefix = Path(sys.argv[1]), Path(sys.argv[2]) +if not source.exists(): + source = next(source.parent.glob('*asahi*.json')) +data = json.loads(source.read_text()) +data['ICD']['library_path'] = str(prefix / 'vulkan/libvulkan_asahi.so') +(prefix / 'vulkan/honeykrisp_icd.aarch64.json').write_text(json.dumps(data, indent=2) + '\n') +PY +printf '%s\n' "$(git -C "$src" rev-parse --short=10 HEAD)" > "$prefix/vulkan/mesa-git-sha" + +icd=$prefix/vulkan/honeykrisp_icd.aarch64.json +VK_DRIVER_FILES=$icd vulkaninfo --summary 2>/dev/null | grep -E "deviceName|driverInfo" | head -2 +echo "MSERIES_HK_ICD=$icd" diff --git a/mseries/local-ai/mlx-gate.py b/mseries/local-ai/mlx-gate.py index 2e939d9a..d721af86 100755 --- a/mseries/local-ai/mlx-gate.py +++ b/mseries/local-ai/mlx-gate.py @@ -31,7 +31,9 @@ HERE = Path(__file__).resolve().parent MODEL = HOME / '.cache/mseries-metal2vk/qwen35-2b' WEIGHTS_SHA = '713fe7e5d3c3965f7106b0d0ee17615f7869c23c8d327996df8c1196fbcf07d5' -ICD = HOME / '.local/share/mlx-omarchy/vulkan/honeykrisp_icd.aarch64.json' +# MSERIES_HK_ICD selects a candidate driver built by honeykrisp-candidate.sh. +ICD = Path(os.environ.get('MSERIES_HK_ICD') or HOME / '.local/share/mlx-omarchy/vulkan/honeykrisp_icd.aarch64.json') +DRIVER = (ICD.parent / 'mesa-git-sha').read_text().strip() if (ICD.parent / 'mesa-git-sha').exists() else 'unknown' MLX_PY = HOME / '.local/share/mlx-omarchy/venv/bin/python' REF_DIR = HOME / '.cache/mseries-mlx-gate/reference-v1' POLICY = {'reserve_gib': 6, 'max_fan_rpm': float('inf'), 'max_temp_c': 80} @@ -298,9 +300,10 @@ def main(): if 'baseline' in names: names.remove('baseline') names.insert(0, 'baseline') - out = a.output or HERE / 'receipts' / f"{time.strftime('%Y-%m-%d')}-mlx-gate-sweep.json" + out = a.output or HERE / 'receipts' / (f"{time.strftime('%Y-%m-%d')}-mlx-gate-sweep" + + ('' if DRIVER == '7faf04c065' else f'-hk{DRIVER}') + '.json') report = {'model': 'mlx-community/Qwen3.5-2B-MLX-4bit@93760be4', 'weights_sha256': WEIGHTS_SHA, - 'kernel': os.uname().release, 'steps': STEPS, 'tie_margin': TIE_MARGIN, + 'kernel': os.uname().release, 'driver': 'Honeykrisp Mesa ' + DRIVER, 'steps': STEPS, 'tie_margin': TIE_MARGIN, 'margins': {'pooled': POOLED_MARGIN, 'case': CASE_MARGIN}, 'cases': list(CASES), 'configs': {}} base = None with tempfile.TemporaryDirectory(prefix='mlx-gate-', dir=HOME / '.cache') as tmp: diff --git a/mseries/local-ai/people-watch.json b/mseries/local-ai/people-watch.json index 7e9e078e..ffec430c 100644 --- a/mseries/local-ai/people-watch.json +++ b/mseries/local-ai/people-watch.json @@ -208,5 +208,11 @@ "who": "Joshua Warren", "why": "ANE on Linux primitives and cross-Mac receipts; our ANE decoder patches target it", "group": "omarchy-m" + }, + { + "repo": "joshuaswarren/coreglass", + "who": "Joshua Warren", + "why": "Profiler and daily ledger of local inference on M1/M1 Max/M2 Max under Linux; its release-vs-main rows show which MLX wheel and Honeykrisp driver are faster before we test them. Pinned in install.sh", + "group": "omarchy-m" } ] From 1f2060e485b2bf6da9b7b2967501c42b62a01949 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:02:25 -0400 Subject: [PATCH 5/9] Record Qwen 4B comparison; fix gate scoring and LFM3 loading Qwen3.5-4B: MLX 120k 24.8 tok/s vs 18.6 default (+34%), Rapid-MLX 23.4. The gate re-runs under the MLX venv for numpy; LFM3 runs on the MLX venv with the pinned mlx-lm PR 2016 model file, as the 2026-10-27 smoke test did. Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/engine-compare.py | 12 +- mseries/local-ai/mlx-gate.py | 4 + ...026-10-28-engine-compare-qwen4b-short.json | 834 ++++++++++++++++++ 3 files changed, 849 insertions(+), 1 deletion(-) create mode 100644 mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short.json diff --git a/mseries/local-ai/engine-compare.py b/mseries/local-ai/engine-compare.py index c0a3c322..f8d923c0 100755 --- a/mseries/local-ai/engine-compare.py +++ b/mseries/local-ai/engine-compare.py @@ -32,7 +32,7 @@ 'lfm3': (HOME / '.cache/mseries-metal2vk/lfm3-8bit', '2b06cea98d75527c248a0b04383f7cf0a1c72fb4ed7b45096618fc4e59d015ad', 'LiquidAI/LFM3-1.7B-MLX-8bit@ee7667f3cfccb2a41725f91820531823fcabc6b7', 4.5, - HOME / '.local/share/mseries-ai/lfm3-audio-venv/bin/python', ('mlx-5k', 'mlx-120k')), + HOME / '.local/share/mlx-omarchy/venv/bin/python', ('mlx-5k', 'mlx-120k')), } MODEL, WEIGHTS_SHA, MODEL_ID, ALLOWANCE_GIB, MLX_PY, MODEL_ARMS = MODELS['qwen2b'] # MSERIES_HK_ICD selects a candidate driver built by honeykrisp-candidate.sh. @@ -49,6 +49,7 @@ POLICY = {'reserve_gib': 6, 'max_fan_rpm': float('inf'), 'max_temp_c': 80} DEADLINE_S = 300 MODEL_NAME = 'qwen2b' +LFM3_MODULE_SHA = 'a4096cddc8f0d3f7923008b2e6afb896dabc9aef963a5ebe7d76d13a6069b0c4' def select_model(name): @@ -59,6 +60,15 @@ def select_model(name): def mlx_worker(prompt_text, max_tokens, output): """Runs inside the mlx-omarchy venv: load, warm up, time one greedy generation.""" t0 = time.monotonic() + if MODEL_NAME == 'lfm3': + # mlx-lm 0.31.3 has no LFM3; load the pinned model file from mlx-lm PR 2016 + # (head 9027ac5b), as the 2026-10-27 LFM3 smoke test did. + import hashlib as _h, importlib.util as _u + f = HOME / '.local/share/mseries-ai/runtime/lfm3.py' + if _h.sha256(f.read_bytes()).hexdigest() != LFM3_MODULE_SHA: + raise SystemExit('unexpected lfm3.py') + spec = _u.spec_from_file_location('mlx_lm.models.lfm3', f) + mod = _u.module_from_spec(spec); sys.modules[spec.name] = mod; spec.loader.exec_module(mod) from mlx_lm import load, stream_generate from mlx_lm.sample_utils import make_sampler import mlx.core as mx diff --git a/mseries/local-ai/mlx-gate.py b/mseries/local-ai/mlx-gate.py index d721af86..e199d140 100755 --- a/mseries/local-ai/mlx-gate.py +++ b/mseries/local-ai/mlx-gate.py @@ -277,6 +277,10 @@ def main(): a = p.parse_args() if a.worker: return worker(a.worker, a.out) + try: + import numpy # noqa: F401 scoring needs it; the system python has none + except ModuleNotFoundError: + os.execv(str(MLX_PY), [str(MLX_PY), __file__] + sys.argv[1:]) if not a.mode: p.error('mode required') with (MODEL / 'model.safetensors').open('rb') as f: diff --git a/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short.json b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short.json new file mode 100644 index 00000000..66882908 --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short.json @@ -0,0 +1,834 @@ +{ + "status": "complete", + "model_key": "qwen4b", + "model": "mlx-community/Qwen3.5-4B-MLX-4bit@32f3e8ecf65426fc3306969496342d504bfa13f3", + "weights_sha256": "5fb9acd0246866381cf8c5c354c6db1019f6498eec4ccb4f5edcc71ffeacb2db", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 7faf04c065", + "tensorfold_rev": "670902196c47f3e70e3f56ab933805713be31aa8", + "rapid_rev": "1d09cdb684bbf58fac130f5804b08ee2e1f56558", + "prompt_sha256": "af125b15dfba55caedb541e89e59fe1252c0f13553e5ce6bc181e237fada9926", + "max_tokens": 32, + "policy": { + "reserve_gib": 6, + "max_fan_rpm": null, + "max_temp_c": 80 + }, + "allowance_gib": 6.5, + "arms": [ + "mlx-5k", + "mlx-120k", + "rapid-120k" + ], + "runs": [ + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 17.747, + "max_temp_c": 42.298, + "max_fan_rpm": 0.0 + }, + { + "t": 1.01, + "available_gib": 17.4, + "max_temp_c": 42.201, + "max_fan_rpm": 0.0 + }, + { + "t": 2.02, + "available_gib": 15.784, + "max_temp_c": 43.239, + "max_fan_rpm": 0.0 + }, + { + "t": 3.03, + "available_gib": 14.905, + "max_temp_c": 42.864, + "max_fan_rpm": 0.0 + }, + { + "t": 4.03, + "available_gib": 14.878, + "max_temp_c": 42.521, + "max_fan_rpm": 0.0 + }, + { + "t": 5.04, + "available_gib": 14.689, + "max_temp_c": 41.809, + "max_fan_rpm": 0.0 + }, + { + "t": 6.05, + "available_gib": 14.751, + "max_temp_c": 42.217, + "max_fan_rpm": 0.0 + }, + { + "t": 7.05, + "available_gib": 14.666, + "max_temp_c": 42.554, + "max_fan_rpm": 0.0 + }, + { + "t": 8.06, + "available_gib": 14.613, + "max_temp_c": 42.472, + "max_fan_rpm": 0.0 + }, + { + "t": 9.08, + "available_gib": 14.524, + "max_temp_c": 41.989, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 6.484015215995896, + "ttft_s": 0.8006452310000896, + "total_s": 2.35083185100666, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 19.997592289803535, + "min_available_gib": 14.524, + "peak_temp_c": 43.239, + "round": 1, + "admission_available_gib": 17.747 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 16.919, + "max_temp_c": 42.554, + "max_fan_rpm": 0.0 + }, + { + "t": 1.03, + "available_gib": 16.604, + "max_temp_c": 42.423, + "max_fan_rpm": 0.0 + }, + { + "t": 2.04, + "available_gib": 14.837, + "max_temp_c": 42.635, + "max_fan_rpm": 0.0 + }, + { + "t": 3.04, + "available_gib": 13.899, + "max_temp_c": 43.108, + "max_fan_rpm": 0.0 + }, + { + "t": 4.05, + "available_gib": 13.733, + "max_temp_c": 42.728, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 13.744, + "max_temp_c": 43.114, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 13.637, + "max_temp_c": 43.407, + "max_fan_rpm": 0.0 + }, + { + "t": 7.08, + "available_gib": 13.547, + "max_temp_c": 43.451, + "max_fan_rpm": 0.0 + }, + { + "t": 8.09, + "available_gib": 13.427, + "max_temp_c": 43.364, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 6.182467660997645, + "ttft_s": 0.7153526620022603, + "total_s": 1.9814969660001225, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 24.483781115720554, + "min_available_gib": 13.427, + "peak_temp_c": 43.451, + "round": 1, + "admission_available_gib": 16.919 + }, + { + "arm": "rapid-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 16.655, + "max_temp_c": 43.413, + "max_fan_rpm": 0.0 + }, + { + "t": 1.02, + "available_gib": 16.656, + "max_temp_c": 43.413, + "max_fan_rpm": 0.0 + }, + { + "t": 2.02, + "available_gib": 16.678, + "max_temp_c": 43.788, + "max_fan_rpm": 0.0 + }, + { + "t": 3.03, + "available_gib": 16.635, + "max_temp_c": 43.913, + "max_fan_rpm": 0.0 + }, + { + "t": 4.04, + "available_gib": 15.175, + "max_temp_c": 43.369, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 14.576, + "max_temp_c": 44.13, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 14.377, + "max_temp_c": 44.548, + "max_fan_rpm": 0.0 + }, + { + "t": 7.09, + "available_gib": 14.384, + "max_temp_c": 43.875, + "max_fan_rpm": 0.0 + }, + { + "t": 8.1, + "available_gib": 14.352, + "max_temp_c": 44.902, + "max_fan_rpm": 0.0 + }, + { + "t": 9.11, + "available_gib": 14.388, + "max_temp_c": 45.186, + "max_fan_rpm": 0.0 + }, + { + "t": 10.11, + "available_gib": 14.477, + "max_temp_c": 43.798, + "max_fan_rpm": 0.0 + }, + { + "t": 11.12, + "available_gib": 13.955, + "max_temp_c": 43.967, + "max_fan_rpm": 0.0 + }, + { + "t": 12.14, + "available_gib": 13.929, + "max_temp_c": 44.929, + "max_fan_rpm": 0.0 + }, + { + "t": 13.15, + "available_gib": 13.414, + "max_temp_c": 45.033, + "max_fan_rpm": 0.0 + }, + { + "t": 14.15, + "available_gib": 13.596, + "max_temp_c": 44.516, + "max_fan_rpm": 0.0 + }, + { + "t": 15.16, + "available_gib": 13.925, + "max_temp_c": 44.57, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "irst chunk arrived, elapsed=0.0s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] post-first-chunk keepalive (R15 #291), elapsed=0.0s\nINFO:rapid_mlx.scheduler:[schedule] request=chatcmpl-a98 uid=2 prompt_tokens=27 tokens_to_prefill=1, 26 cached max_tokens=32 running=1 waiting=0\nINFO:rapid_mlx.scheduler:[prompt_cache_save] request=chatcmpl-a98 prompt_tokens=27 store_time=0.001s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-a98 first token after 0.1s\nINFO:rapid_mlx.scheduler:[cache_store] request=chatcmpl-a98 tokens=59 (27 prompt + 32 output) stored=True time=0.000s cache_entries=5 cache_mem=365MB\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-a98 finished normally, 32 tokens in 1.4s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-a98 cleanup done\nINFO:rapid_mlx.routes.chat:Chat completion (stream): 32 tokens in 1.43s (22.3 tok/s)\nWARNING:rapid_mlx._signal_observability:rapid-mlx received signal SIGTERM; thread stacks follow (faulthandler)\nThread 0x0000ffff6a897160 [rapid-mlx-infer] (most recent call first):\n File \"/usr/lib/python3.14/threading.py\", line 369 in wait\n File \"/usr/lib/python3.14/queue.py\", line 199 in get\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/telemetry/inference.py\", line 44 in _worker_main\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nThread 0x0000ffff7b7ef160 [mlx-step_0] (most recent call first):\n File \"/usr/lib/python3.14/concurrent/futures/thread.py\", line 116 in _worker\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nCurrent thread 0x0000ffff9d81c7a0 [python] (most recent call first):\n Garbage-collecting\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_signal_observability.py\", line 694 in _on_signal\n File \"/usr/lib/python3.14/_weakrefset.py\", line 15 in _remove\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/routes/chat.py\", line 8898 in stream_chat_completion\n File \"/usr/lib/python3.14/asyncio/events.py\", line 94 in _run\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 2057 in _run_once\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 677 in run_forever\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 706 in run_until_complete\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 127 in run\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 204 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-python/uvicorn/server.py\", line 86 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 258 in _run_server\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 285 in run_uvicorn\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4758 in main\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 3750 in wrapped\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4776 in \n File \"\", line 88 in _run_code\n File \"\", line 198 in _run_module_as_main\nINFO:rapid_mlx.service.helpers:[disconnect_guard] generator exhausted normally, 35 chunks (1 keepalives), elapsed=1.6s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] CLEANUP done, 35 chunks total, elapsed=1.6s\nINFO: Shutting down\nINFO: Waiting for application shutdown.\nINFO:__main__:[lifespan] Prefix-cache auto-save disabled with auto-load by RAPID_MLX_PREFIX_CACHE_AUTOLOAD\nINFO:rapid_mlx.engine_core:Engine stopped\nINFO:rapid_mlx.scheduler:Deep reset completed - all caches cleared\nINFO:rapid_mlx.engine.batched:BatchedEngine stopped\nINFO:__main__:Engine stopped\nINFO: Application shutdown complete.\nINFO: Finished server process [1745160]\n", + "ready_s": 14.434216231005848, + "ttft_s": 0.2584104990019114, + "total_s": 1.5808923090007738, + "completion_tokens": 32, + "token_count_source": "usage", + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "served_model": "/home/sdolbec/.cache/huggingface/hub/models--mlx-community--Qwen3.5-4B-MLX-4bit/snapshots/32f3e8ecf65426fc3306969496342d504bfa13f3", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 23.440776096592714, + "min_available_gib": 13.414, + "peak_temp_c": 45.186, + "round": 1, + "admission_available_gib": 16.657 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 17.371, + "max_temp_c": 45.793, + "max_fan_rpm": 0.0 + }, + { + "t": 1.02, + "available_gib": 17.081, + "max_temp_c": 45.38, + "max_fan_rpm": 0.0 + }, + { + "t": 2.03, + "available_gib": 15.228, + "max_temp_c": 45.66, + "max_fan_rpm": 0.0 + }, + { + "t": 3.04, + "available_gib": 14.31, + "max_temp_c": 45.26, + "max_fan_rpm": 0.0 + }, + { + "t": 4.05, + "available_gib": 14.034, + "max_temp_c": 44.538, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 13.404, + "max_temp_c": 44.929, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 13.152, + "max_temp_c": 44.5, + "max_fan_rpm": 0.0 + }, + { + "t": 7.08, + "available_gib": 12.941, + "max_temp_c": 44.771, + "max_fan_rpm": 0.0 + }, + { + "t": 8.09, + "available_gib": 12.836, + "max_temp_c": 46.22, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 6.478095051999844, + "ttft_s": 0.7083500410008128, + "total_s": 1.9591059390004375, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 24.78501204717829, + "min_available_gib": 12.836, + "peak_temp_c": 46.22, + "round": 2, + "admission_available_gib": 17.371 + }, + { + "arm": "rapid-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 16.523, + "max_temp_c": 46.22, + "max_fan_rpm": 0.0 + }, + { + "t": 1.01, + "available_gib": 16.867, + "max_temp_c": 44.826, + "max_fan_rpm": 0.0 + }, + { + "t": 2.03, + "available_gib": 16.755, + "max_temp_c": 47.04, + "max_fan_rpm": 0.0 + }, + { + "t": 3.04, + "available_gib": 15.558, + "max_temp_c": 45.153, + "max_fan_rpm": 0.0 + }, + { + "t": 4.04, + "available_gib": 14.398, + "max_temp_c": 45.88, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 14.053, + "max_temp_c": 46.406, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 13.985, + "max_temp_c": 47.066, + "max_fan_rpm": 0.0 + }, + { + "t": 7.08, + "available_gib": 13.891, + "max_temp_c": 47.453, + "max_fan_rpm": 0.0 + }, + { + "t": 8.09, + "available_gib": 13.875, + "max_temp_c": 46.533, + "max_fan_rpm": 0.0 + }, + { + "t": 9.1, + "available_gib": 13.843, + "max_temp_c": 47.273, + "max_fan_rpm": 0.0 + }, + { + "t": 10.11, + "available_gib": 13.307, + "max_temp_c": 45.473, + "max_fan_rpm": 0.0 + }, + { + "t": 11.11, + "available_gib": 13.769, + "max_temp_c": 48.546, + "max_fan_rpm": 0.0 + }, + { + "t": 12.12, + "available_gib": 13.567, + "max_temp_c": 46.906, + "max_fan_rpm": 0.0 + }, + { + "t": 13.12, + "available_gib": 13.326, + "max_temp_c": 47.246, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "irst chunk arrived, elapsed=0.0s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] post-first-chunk keepalive (R15 #291), elapsed=0.0s\nINFO:rapid_mlx.scheduler:[schedule] request=chatcmpl-904 uid=2 prompt_tokens=27 tokens_to_prefill=1, 26 cached max_tokens=32 running=1 waiting=0\nINFO:rapid_mlx.scheduler:[prompt_cache_save] request=chatcmpl-904 prompt_tokens=27 store_time=0.001s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-904 first token after 0.1s\nINFO:rapid_mlx.scheduler:[cache_store] request=chatcmpl-904 tokens=59 (27 prompt + 32 output) stored=True time=0.000s cache_entries=5 cache_mem=365MB\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-904 finished normally, 32 tokens in 1.4s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-904 cleanup done\nINFO:rapid_mlx.routes.chat:Chat completion (stream): 32 tokens in 1.40s (22.8 tok/s)\nWARNING:rapid_mlx._signal_observability:rapid-mlx received signal SIGTERM; thread stacks follow (faulthandler)\nThread 0x0000fffef3ccf160 [rapid-mlx-infer] (most recent call first):\n File \"/usr/lib/python3.14/threading.py\", line 369 in wait\n File \"/usr/lib/python3.14/queue.py\", line 199 in get\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/telemetry/inference.py\", line 44 in _worker_main\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nThread 0x0000ffff04ddb160 [mlx-step_0] (most recent call first):\n File \"/usr/lib/python3.14/concurrent/futures/thread.py\", line 116 in _worker\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nCurrent thread 0x0000ffff22d047a0 [python] (most recent call first):\n Garbage-collecting\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_signal_observability.py\", line 694 in _on_signal\n File \"/usr/lib/python3.14/_weakrefset.py\", line 15 in _remove\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/routes/chat.py\", line 8898 in stream_chat_completion\n File \"/usr/lib/python3.14/asyncio/events.py\", line 94 in _run\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 2057 in _run_once\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 677 in run_forever\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 706 in run_until_complete\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 127 in run\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 204 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-python/uvicorn/server.py\", line 86 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 258 in _run_server\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 285 in run_uvicorn\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4758 in main\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 3750 in wrapped\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4776 in \n File \"\", line 88 in _run_code\n File \"\", line 198 in _run_module_as_main\nINFO:rapid_mlx.service.helpers:[disconnect_guard] generator exhausted normally, 35 chunks (1 keepalives), elapsed=1.5s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] CLEANUP done, 35 chunks total, elapsed=1.5s\nINFO: Shutting down\nINFO: Waiting for application shutdown.\nINFO:__main__:[lifespan] Prefix-cache auto-save disabled with auto-load by RAPID_MLX_PREFIX_CACHE_AUTOLOAD\nINFO:rapid_mlx.engine_core:Engine stopped\nINFO:rapid_mlx.scheduler:Deep reset completed - all caches cleared\nINFO:rapid_mlx.engine.batched:BatchedEngine stopped\nINFO:__main__:Engine stopped\nINFO: Application shutdown complete.\nINFO: Finished server process [1746668]\n", + "ready_s": 12.511935602000449, + "ttft_s": 0.23887809500592994, + "total_s": 1.5633397370038438, + "completion_tokens": 32, + "token_count_source": "usage", + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "served_model": "/home/sdolbec/.cache/huggingface/hub/models--mlx-community--Qwen3.5-4B-MLX-4bit/snapshots/32f3e8ecf65426fc3306969496342d504bfa13f3", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 23.40573635129014, + "min_available_gib": 13.307, + "peak_temp_c": 48.546, + "round": 2, + "admission_available_gib": 16.523 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 17.118, + "max_temp_c": 47.326, + "max_fan_rpm": 0.0 + }, + { + "t": 1.03, + "available_gib": 16.813, + "max_temp_c": 48.22, + "max_fan_rpm": 0.0 + }, + { + "t": 2.04, + "available_gib": 15.105, + "max_temp_c": 47.713, + "max_fan_rpm": 0.0 + }, + { + "t": 3.06, + "available_gib": 14.45, + "max_temp_c": 47.013, + "max_fan_rpm": 0.0 + }, + { + "t": 4.07, + "available_gib": 14.562, + "max_temp_c": 48.353, + "max_fan_rpm": 0.0 + }, + { + "t": 5.09, + "available_gib": 14.46, + "max_temp_c": 48.68, + "max_fan_rpm": 0.0 + }, + { + "t": 6.1, + "available_gib": 14.476, + "max_temp_c": 46.6, + "max_fan_rpm": 0.0 + }, + { + "t": 7.11, + "available_gib": 14.474, + "max_temp_c": 47.3, + "max_fan_rpm": 0.0 + }, + { + "t": 8.12, + "available_gib": 14.489, + "max_temp_c": 47.326, + "max_fan_rpm": 0.0 + }, + { + "t": 9.13, + "available_gib": 16.528, + "max_temp_c": 47.693, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 6.340742266998859, + "ttft_s": 0.7117712889958057, + "total_s": 2.3826388309971662, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 18.55323610085111, + "min_available_gib": 14.45, + "peak_temp_c": 48.68, + "round": 2, + "admission_available_gib": 17.106 + }, + { + "arm": "rapid-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 17.199, + "max_temp_c": 47.846, + "max_fan_rpm": 0.0 + }, + { + "t": 1.03, + "available_gib": 17.221, + "max_temp_c": 47.76, + "max_fan_rpm": 0.0 + }, + { + "t": 2.04, + "available_gib": 17.223, + "max_temp_c": 47.646, + "max_fan_rpm": 0.0 + }, + { + "t": 3.05, + "available_gib": 15.998, + "max_temp_c": 47.273, + "max_fan_rpm": 0.0 + }, + { + "t": 4.06, + "available_gib": 14.979, + "max_temp_c": 48.513, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 14.74, + "max_temp_c": 48.32, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 14.71, + "max_temp_c": 47.693, + "max_fan_rpm": 0.0 + }, + { + "t": 7.09, + "available_gib": 14.712, + "max_temp_c": 47.3, + "max_fan_rpm": 0.0 + }, + { + "t": 8.11, + "available_gib": 14.713, + "max_temp_c": 47.013, + "max_fan_rpm": 0.0 + }, + { + "t": 9.12, + "available_gib": 14.716, + "max_temp_c": 47.38, + "max_fan_rpm": 0.0 + }, + { + "t": 10.13, + "available_gib": 14.335, + "max_temp_c": 47.246, + "max_fan_rpm": 0.0 + }, + { + "t": 11.16, + "available_gib": 13.91, + "max_temp_c": 47.693, + "max_fan_rpm": 0.0 + }, + { + "t": 12.17, + "available_gib": 13.648, + "max_temp_c": 48.006, + "max_fan_rpm": 0.0 + }, + { + "t": 13.18, + "available_gib": 13.824, + "max_temp_c": 46.406, + "max_fan_rpm": 0.0 + }, + { + "t": 14.2, + "available_gib": 13.625, + "max_temp_c": 48.2, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "irst chunk arrived, elapsed=0.0s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] post-first-chunk keepalive (R15 #291), elapsed=0.0s\nINFO:rapid_mlx.scheduler:[schedule] request=chatcmpl-d7d uid=2 prompt_tokens=27 tokens_to_prefill=1, 26 cached max_tokens=32 running=1 waiting=0\nINFO:rapid_mlx.scheduler:[prompt_cache_save] request=chatcmpl-d7d prompt_tokens=27 store_time=0.001s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-d7d first token after 0.1s\nINFO:rapid_mlx.scheduler:[cache_store] request=chatcmpl-d7d tokens=59 (27 prompt + 32 output) stored=True time=0.000s cache_entries=5 cache_mem=365MB\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-d7d finished normally, 32 tokens in 1.4s\nINFO:rapid_mlx.engine_core:[stream_outputs] chatcmpl-d7d cleanup done\nINFO:rapid_mlx.routes.chat:Chat completion (stream): 32 tokens in 1.42s (22.6 tok/s)\nWARNING:rapid_mlx._signal_observability:rapid-mlx received signal SIGTERM; thread stacks follow (faulthandler)\nThread 0x0000fffdf1637160 [rapid-mlx-infer] (most recent call first):\n File \"/usr/lib/python3.14/threading.py\", line 369 in wait\n File \"/usr/lib/python3.14/queue.py\", line 199 in get\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/telemetry/inference.py\", line 44 in _worker_main\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nThread 0x0000fffeae8eb160 [mlx-step_0] (most recent call first):\n File \"/usr/lib/python3.14/concurrent/futures/thread.py\", line 116 in _worker\n File \"/usr/lib/python3.14/threading.py\", line 1024 in run\n File \"/usr/lib/python3.14/threading.py\", line 1082 in _bootstrap_inner\n File \"/usr/lib/python3.14/threading.py\", line 1044 in _bootstrap\n\nCurrent thread 0x0000fffecc8f07a0 [python] (most recent call first):\n Garbage-collecting\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_signal_observability.py\", line 694 in _on_signal\n File \"/usr/lib/python3.14/_weakrefset.py\", line 15 in _remove\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/routes/chat.py\", line 8898 in stream_chat_completion\n File \"/usr/lib/python3.14/asyncio/events.py\", line 94 in _run\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 2057 in _run_once\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 677 in run_forever\n File \"/usr/lib/python3.14/asyncio/base_events.py\", line 706 in run_until_complete\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 127 in run\n File \"/usr/lib/python3.14/asyncio/runners.py\", line 204 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-python/uvicorn/server.py\", line 86 in run\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 258 in _run_server\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/_uvicorn.py\", line 285 in run_uvicorn\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4758 in main\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 3750 in wrapped\n File \"/home/sdolbec/.cache/mseries-metal2vk/rapid-src/rapid_mlx/server.py\", line 4776 in \n File \"\", line 88 in _run_code\n File \"\", line 198 in _run_module_as_main\nINFO:rapid_mlx.service.helpers:[disconnect_guard] generator exhausted normally, 35 chunks (1 keepalives), elapsed=1.6s\nINFO:rapid_mlx.service.helpers:[disconnect_guard] CLEANUP done, 35 chunks total, elapsed=1.6s\nINFO: Shutting down\nINFO: Waiting for application shutdown.\nINFO:__main__:[lifespan] Prefix-cache auto-save disabled with auto-load by RAPID_MLX_PREFIX_CACHE_AUTOLOAD\nINFO:rapid_mlx.engine_core:Engine stopped\nINFO:rapid_mlx.scheduler:Deep reset completed - all caches cleared\nINFO:rapid_mlx.engine.batched:BatchedEngine stopped\nINFO:__main__:Engine stopped\nINFO: Application shutdown complete.\nINFO: Finished server process [1747669]\n", + "ready_s": 13.399323608995473, + "ttft_s": 0.2289219759986736, + "total_s": 1.5363169210031629, + "completion_tokens": 32, + "token_count_source": "usage", + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "served_model": "/home/sdolbec/.cache/huggingface/hub/models--mlx-community--Qwen3.5-4B-MLX-4bit/snapshots/32f3e8ecf65426fc3306969496342d504bfa13f3", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 23.711274178051493, + "min_available_gib": 13.625, + "peak_temp_c": 48.513, + "round": 3, + "admission_available_gib": 17.199 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 16.997, + "max_temp_c": 47.74, + "max_fan_rpm": 0.0 + }, + { + "t": 1.03, + "available_gib": 16.791, + "max_temp_c": 47.8, + "max_fan_rpm": 0.0 + }, + { + "t": 2.03, + "available_gib": 15.134, + "max_temp_c": 46.593, + "max_fan_rpm": 0.0 + }, + { + "t": 3.04, + "available_gib": 14.549, + "max_temp_c": 46.186, + "max_fan_rpm": 0.0 + }, + { + "t": 4.05, + "available_gib": 14.558, + "max_temp_c": 47.04, + "max_fan_rpm": 0.0 + }, + { + "t": 5.06, + "available_gib": 14.468, + "max_temp_c": 46.82, + "max_fan_rpm": 0.0 + }, + { + "t": 6.07, + "available_gib": 14.479, + "max_temp_c": 47.693, + "max_fan_rpm": 0.0 + }, + { + "t": 7.09, + "available_gib": 14.458, + "max_temp_c": 48.22, + "max_fan_rpm": 0.0 + }, + { + "t": 8.1, + "available_gib": 14.479, + "max_temp_c": 47.38, + "max_fan_rpm": 0.0 + }, + { + "t": 9.11, + "available_gib": 14.723, + "max_temp_c": 46.793, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 6.36809916600032, + "ttft_s": 0.7304631099977996, + "total_s": 2.470208108003135, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 17.818703336145436, + "min_available_gib": 14.458, + "peak_temp_c": 48.22, + "round": 3, + "admission_available_gib": 16.997 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 17.28, + "max_temp_c": 46.793, + "max_fan_rpm": 0.0 + }, + { + "t": 1.02, + "available_gib": 17.033, + "max_temp_c": 46.88, + "max_fan_rpm": 0.0 + }, + { + "t": 2.02, + "available_gib": 15.347, + "max_temp_c": 47.22, + "max_fan_rpm": 0.0 + }, + { + "t": 3.03, + "available_gib": 14.768, + "max_temp_c": 46.693, + "max_fan_rpm": 0.0 + }, + { + "t": 4.04, + "available_gib": 14.738, + "max_temp_c": 47.846, + "max_fan_rpm": 0.0 + }, + { + "t": 5.04, + "available_gib": 14.212, + "max_temp_c": 46.966, + "max_fan_rpm": 0.0 + }, + { + "t": 6.06, + "available_gib": 14.243, + "max_temp_c": 46.626, + "max_fan_rpm": 0.0 + }, + { + "t": 7.06, + "available_gib": 14.219, + "max_temp_c": 47.58, + "max_fan_rpm": 0.0 + }, + { + "t": 8.08, + "available_gib": 15.954, + "max_temp_c": 45.673, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 5.758785351994447, + "ttft_s": 0.6271309270014171, + "total_s": 1.8391853920038557, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 25.576408400044656, + "min_available_gib": 14.212, + "peak_temp_c": 47.846, + "round": 3, + "admission_available_gib": 17.28 + } + ], + "summary": { + "mlx-5k": { + "ok_runs": 3, + "median_ttft_s": 0.7304631099977996, + "median_total_s": 2.3826388309971662, + "median_decode_tps": 18.55323610085111, + "texts": [ + "bdb76d67e763" + ] + }, + "mlx-120k": { + "ok_runs": 3, + "median_ttft_s": 0.7083500410008128, + "median_total_s": 1.9591059390004375, + "median_decode_tps": 24.78501204717829, + "texts": [ + "bdb76d67e763" + ] + }, + "rapid-120k": { + "ok_runs": 3, + "median_ttft_s": 0.23887809500592994, + "median_total_s": 1.5633397370038438, + "median_decode_tps": 23.440776096592714, + "texts": [ + "bdb76d67e763" + ] + } + } +} From 28b4301903e5072f7bd88d0d7062813996331e73 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:05:43 -0400 Subject: [PATCH 6/9] Watch Generated-Computers/Locals; note it on the scoreboard Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/branch-watch.json | 6 ++++++ mseries/local-ai/people-watch.json | 6 ++++++ mseries/local-ai/scoreboard-notes.json | 9 +++++++++ 3 files changed, 21 insertions(+) diff --git a/mseries/local-ai/branch-watch.json b/mseries/local-ai/branch-watch.json index ad3a4c86..4cbecab8 100644 --- a/mseries/local-ai/branch-watch.json +++ b/mseries/local-ai/branch-watch.json @@ -130,6 +130,12 @@ "base": "main", "open_prs": true, "discover_branches": true + }, + { + "repo": "Generated-Computers/Locals", + "base": "main", + "open_prs": true, + "discover_branches": false } ] } diff --git a/mseries/local-ai/people-watch.json b/mseries/local-ai/people-watch.json index ffec430c..32d1d45a 100644 --- a/mseries/local-ai/people-watch.json +++ b/mseries/local-ai/people-watch.json @@ -214,5 +214,11 @@ "who": "Joshua Warren", "why": "Profiler and daily ledger of local inference on M1/M1 Max/M2 Max under Linux; its release-vs-main rows show which MLX wheel and Honeykrisp driver are faster before we test them. Pinned in install.sh", "group": "omarchy-m" + }, + { + "repo": "Generated-Computers/Locals", + "who": "Generated Computers", + "why": "MLX agent server (Apache-2.0): multi-request batching 1.6-3x at 4-8 requests on macOS, plus a pure-MLX LFM3 model file. Its speedups use Metal kernels and mlx-lm 0.32; re-test on omarchy-mlx when our MLX stack reaches mlx-lm 0.32", + "group": "omarchy-m" } ] diff --git a/mseries/local-ai/scoreboard-notes.json b/mseries/local-ai/scoreboard-notes.json index b2433ede..36d67ddc 100644 --- a/mseries/local-ai/scoreboard-notes.json +++ b/mseries/local-ai/scoreboard-notes.json @@ -45,6 +45,15 @@ "status": "measured here 2026-10-27", "blocker": "No Linux GPU backend; Metal only", "source": "UZU-AND-ANE-EVALUATION-2026-10-27.md" + }, + { + "model": "LFM3-1.7B", + "engine": "Locals (Generated-Computers) batched server", + "settings": "8 requests at once", + "decode_tok_s": "620 total (2.99x mlx-lm)", + "status": "reported: M2 Pro 16 GB, macOS; not run here", + "blocker": "Metal custom kernels and mlx-lm 0.32 (our MLX stack is 0.31.3); single-request gain is only 1.07x", + "source": "Generated-Computers/Locals README" } ] } From 80f4390aa2388df97b4e53ac1d57c46fdbd821cf Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:10:32 -0400 Subject: [PATCH 7/9] Scoreboard: version steps follow omarchy-mlx's own defaults Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/ENGINE-SCOREBOARD.md | 13 +++++++++---- mseries/local-ai/engine-scoreboard.csv | 12 ++++++++---- mseries/local-ai/engine-scoreboard.svg | 2 +- mseries/local-ai/scoreboard.py | 5 ++++- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/mseries/local-ai/ENGINE-SCOREBOARD.md b/mseries/local-ai/ENGINE-SCOREBOARD.md index 35321262..8d20d190 100644 --- a/mseries/local-ai/ENGINE-SCOREBOARD.md +++ b/mseries/local-ai/ENGINE-SCOREBOARD.md @@ -8,14 +8,17 @@ One table for every engine we run or watch on the M1 Pro. ★ marks the most fun | ★ | Model | Engine | Settings | Tokens | Decode tok/s | TTFT s | Total s | Runs | Same output as MLX default | Gate | Kernel | Driver | Date | Receipt | |---|---|---|---|---:|---:|---:|---:|---:|---|---|---|---|---|---| -| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **47.19** | 0.46 | 1.13 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | +| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **47.19** | 0.46 | 1.13 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | | | Qwen3.5-2B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 42.42 | 0.19 | 0.92 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | -| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 36.02 | 0.51 | 1.37 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | +| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 36.02 | 0.51 | 1.37 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | | | Qwen3.5-2B MLX 4-bit | TensorFold Vulkan PR 1517 (HTTP server) | `serve --backend vulkan --context 1024 --no-thinking` | 32 | 2.40 | 2.00 | 14.92 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | -| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 256 | **49.28** | 0.56 | 5.74 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | +| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 256 | **49.28** | 0.56 | 5.74 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | | | Qwen3.5-2B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 256 | 43.17 | 0.40 | 6.27 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | -| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 256 | 37.19 | 0.55 | 7.41 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | +| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 256 | 37.19 | 0.55 | 7.41 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | | | Qwen3.5-2B MLX 4-bit | TensorFold Vulkan PR 1517 (HTTP server) | `serve --backend vulkan --context 1024 --no-thinking` | 256 | 2.77 | 3.12 | 95.26 | 3 | no: diverges after 880 of 1301 chars | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | +| ★ | Qwen3.5-4B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **24.79** | 0.71 | 1.96 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | +| | Qwen3.5-4B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 23.44 | 0.24 | 1.56 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | +| | Qwen3.5-4B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 18.55 | 0.73 | 2.38 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | ## Watched or reported elsewhere (not comparable to the table above) @@ -26,6 +29,7 @@ One table for every engine we run or watch on the M1 Pro. ★ marks the most fun | Parakeet TDT (dictation encoder) | ANE (whole encoder) | CPU-cluster boost held | 138 ms/encode (GPU 113 ms) | reported: 13-inch M1, not run here | Worth it for CPU and power, not speed | ane-linux-experiments README; UZU-AND-ANE-EVALUATION-2026-10-27.md | | Qwen3.5-2B MLX 4-bit | TensorFold Vulkan + submit batching | unpublished follow-up to PR 1517 | ~10.6 (M1 Max), ~6.9 (M1) | reported upstream, code not public | Watched in people-watch/branch-watch; re-run engine-compare when it lands | ashhart/TensorFold issue 1420 | | Qwen3.5 0.8B (Mirai format) | uzu (CPU backend) | backend-cpu, stable Rust | 0.36 | measured here 2026-10-27 | No Linux GPU backend; Metal only | UZU-AND-ANE-EVALUATION-2026-10-27.md | +| LFM3-1.7B | Locals (Generated-Computers) batched server | 8 requests at once | 620 total (2.99x mlx-lm) | reported: M2 Pro 16 GB, macOS; not run here | Metal custom kernels and mlx-lm 0.32 (our MLX stack is 0.31.3); single-request gain is only 1.07x | Generated-Computers/Locals README | ## How we track upstream @@ -36,6 +40,7 @@ The engines above move fast, so this page is a living record on `dev`, not a one 3. **Re-test.** Build it in a private prefix (never system-wide), run its own gates first (`tensorfold-vulkan.sh test` / `gpu`, `mlx-gate.py sweep`), then `engine-compare.py` with the same models, prompts and guards. 4. **Publish.** Commit the new receipt JSON, run `scoreboard.py`, and open a PR to `dev` with the regenerated CSV, SVG and this page. Rows are replaced by the newest receipt; old receipts stay for history. 5. **Adopt.** A setting becomes our default only when it holds ★ *and* passes the MLX gate; change defaults in a separate PR. +6. **Version steps follow upstream.** We move mlx-lm (now 0.31.3) and the omarchy-mlx pin (now v0.7.33, `33630f9c`) only when omarchy-mlx moves its own `install.sh` default or cuts a release. Its 0.32 line (mlx-lm `94cdcae`, used by its oMLX packaging) is tested as a separate engine, not adopted as our default. Rules: everything is documented in our own repo only; we do not post to upstream projects. Rows under "reported elsewhere" are other people's numbers on other hardware and are never ranked against ours. diff --git a/mseries/local-ai/engine-scoreboard.csv b/mseries/local-ai/engine-scoreboard.csv index dbb3cd54..c071f43d 100644 --- a/mseries/local-ai/engine-scoreboard.csv +++ b/mseries/local-ai/engine-scoreboard.csv @@ -1,14 +1,18 @@ best,model,engine,settings,tokens,decode_tok_s,ttft_s,total_s,runs,same_output,gate,kernel,driver,date,status,source,blocker -★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,47.19,0.46,1.13,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, -★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,256,49.28,0.56,5.74,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, -,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,36.02,0.51,1.37,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, -,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),256,37.19,0.55,7.41,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, +★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,47.19,0.46,1.13,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, +★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,256,49.28,0.56,5.74,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, +,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,36.02,0.51,1.37,3,reference,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, +,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),256,37.19,0.55,7.41,3,reference,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, ,Qwen3.5-2B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,32,42.42,0.19,0.92,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, ,Qwen3.5-2B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,256,43.17,0.40,6.27,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, ,Qwen3.5-2B MLX 4-bit,TensorFold Vulkan PR 1517 (HTTP server),serve --backend vulkan --context 1024 --no-thinking,32,2.40,2.00,14.92,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, ,Qwen3.5-2B MLX 4-bit,TensorFold Vulkan PR 1517 (HTTP server),serve --backend vulkan --context 1024 --no-thinking,256,2.77,3.12,95.26,3,no: diverges after 880 of 1301 chars,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, +★,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,24.79,0.71,1.96,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, +,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,18.55,0.73,2.38,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, +,Qwen3.5-4B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,32,23.44,0.24,1.56,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, ,"Qwen3.8-2B (Q4_K_M GGUF, staged)",ANE (omarchy-ane staged decoder),fp16 / int8 staged programs,,12-16,,,,,,,,,"reported: 13-inch M1 (H13), not run here",UZU-AND-ANE-EVALUATION-2026-10-27.md; receipts/2026-10-27-ane-binding-handoff.md,Needs the compiled 38-program H13 bundle and stride-aware layout binding; six incompatible packed surfaces found locally ,"Qwen3.8-2B (Q4_K_M GGUF, staged)",ANE (ane-linux-experiments decoder preflight),38 ANE submissions per token,,8.23,,,,,,,,,"reported: M1, peak RSS 8.38 GB, not run here",receipts/2026-10-27-ane-qwen-preflight.md,Memory: does not fit beside the 6 GiB desktop reserve on our 32 GB M1 Pro today ,Parakeet TDT (dictation encoder),ANE (whole encoder),CPU-cluster boost held,,138 ms/encode (GPU 113 ms),,,,,,,,,"reported: 13-inch M1, not run here",ane-linux-experiments README; UZU-AND-ANE-EVALUATION-2026-10-27.md,"Worth it for CPU and power, not speed" ,Qwen3.5-2B MLX 4-bit,TensorFold Vulkan + submit batching,unpublished follow-up to PR 1517,,"~10.6 (M1 Max), ~6.9 (M1)",,,,,,,,,"reported upstream, code not public",ashhart/TensorFold issue 1420,Watched in people-watch/branch-watch; re-run engine-compare when it lands ,Qwen3.5 0.8B (Mirai format),uzu (CPU backend),"backend-cpu, stable Rust",,0.36,,,,,,,,,measured here 2026-10-27,UZU-AND-ANE-EVALUATION-2026-10-27.md,No Linux GPU backend; Metal only +,LFM3-1.7B,Locals (Generated-Computers) batched server,8 requests at once,,620 total (2.99x mlx-lm),,,,,,,,,"reported: M2 Pro 16 GB, macOS; not run here",Generated-Computers/Locals README,Metal custom kernels and mlx-lm 0.32 (our MLX stack is 0.31.3); single-request gain is only 1.07x diff --git a/mseries/local-ai/engine-scoreboard.svg b/mseries/local-ai/engine-scoreboard.svg index 03d80d36..534a7240 100644 --- a/mseries/local-ai/engine-scoreboard.svg +++ b/mseries/local-ai/engine-scoreboard.svg @@ -1 +1 @@ -Decode speed by engine on Apple M1 ProQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned47.2 tok/s ★Rapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/s +Decode speed by engine on Apple M1 ProQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned47.2 tok/s ★Rapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/sQwen3.5-4B MLX 4-bit, 32 tokensMLX tuned24.8 tok/s ★Rapid-MLX 1d09cdb tuned23.4 tok/sMLX default18.6 tok/s diff --git a/mseries/local-ai/scoreboard.py b/mseries/local-ai/scoreboard.py index eed26b5e..505f3764 100644 --- a/mseries/local-ai/scoreboard.py +++ b/mseries/local-ai/scoreboard.py @@ -156,7 +156,10 @@ def main(): '4. **Publish.** Commit the new receipt JSON, run `scoreboard.py`, and open a PR to `dev` with the regenerated ' 'CSV, SVG and this page. Rows are replaced by the newest receipt; old receipts stay for history.', '5. **Adopt.** A setting becomes our default only when it holds ★ *and* passes the MLX gate; ' - 'change defaults in a separate PR.', '', + 'change defaults in a separate PR.', + '6. **Version steps follow upstream.** We move mlx-lm (now 0.31.3) and the omarchy-mlx pin (now v0.7.33, ' + '`33630f9c`) only when omarchy-mlx moves its own `install.sh` default or cuts a release. Its 0.32 line ' + '(mlx-lm `94cdcae`, used by its oMLX packaging) is tested as a separate engine, not adopted as our default.', '', 'Rules: everything is documented in our own repo only; we do not post to upstream projects. ' 'Rows under "reported elsewhere" are other people\'s numbers on other hardware and are never ranked against ours.', '', '## Reproduce', '', From 4bc84a7223e8048abac5456f33bed3470cb9ae0d Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:11:12 -0400 Subject: [PATCH 8/9] Gate both Honeykrisp drivers; new driver 9323171c12 decodes faster MLX gate (CPU float32 reference, 6 prompts): all 9 tuning configs PASS on 7faf04c065 and 9323171c12, the SDPA_BF16_FAST negative control FAILS on both, and pooled RMSE is identical (0.03647) across drivers. Decode, 32 tokens, 3 rotated rounds, identical output text across drivers: Qwen 2B default 36.0 -> 48.9 (+36%), 120k 47.2 -> 56.4 (+19%) Qwen 4B default 18.6 -> 23.1 (+24%), 120k 24.8 -> 27.0 (+9%) Scoreboard rows and gate verdicts are now keyed by driver. Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/ENGINE-SCOREBOARD.md | 8 +- mseries/local-ai/engine-scoreboard.csv | 8 +- mseries/local-ai/engine-scoreboard.svg | 2 +- ...ine-compare-qwen2b-short-hk9323171c12.json | 368 +++ ...ine-compare-qwen4b-short-hk9323171c12.json | 458 +++ ...026-10-28-mlx-gate-sweep-hk9323171c12.json | 2713 +++++++++++++++++ .../receipts/2026-10-28-mlx-gate-sweep.json | 2713 +++++++++++++++++ mseries/local-ai/scoreboard.py | 12 +- 8 files changed, 6272 insertions(+), 10 deletions(-) create mode 100644 mseries/local-ai/receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json create mode 100644 mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json create mode 100644 mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep-hk9323171c12.json create mode 100644 mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep.json diff --git a/mseries/local-ai/ENGINE-SCOREBOARD.md b/mseries/local-ai/ENGINE-SCOREBOARD.md index 8d20d190..fa73f139 100644 --- a/mseries/local-ai/ENGINE-SCOREBOARD.md +++ b/mseries/local-ai/ENGINE-SCOREBOARD.md @@ -8,7 +8,9 @@ One table for every engine we run or watch on the M1 Pro. ★ marks the most fun | ★ | Model | Engine | Settings | Tokens | Decode tok/s | TTFT s | Total s | Runs | Same output as MLX default | Gate | Kernel | Driver | Date | Receipt | |---|---|---|---|---:|---:|---:|---:|---:|---|---|---|---|---|---| -| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **47.19** | 0.46 | 1.13 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | +| ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **56.39** | 0.45 | 1.00 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json) | +| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 48.86 | 0.46 | 1.10 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json) | +| | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 47.19 | 0.46 | 1.13 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | | | Qwen3.5-2B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 42.42 | 0.19 | 0.92 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | | | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 36.02 | 0.51 | 1.37 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | | | Qwen3.5-2B MLX 4-bit | TensorFold Vulkan PR 1517 (HTTP server) | `serve --backend vulkan --context 1024 --no-thinking` | 32 | 2.40 | 2.00 | 14.92 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | @@ -16,8 +18,10 @@ One table for every engine we run or watch on the M1 Pro. ★ marks the most fun | | Qwen3.5-2B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 256 | 43.17 | 0.40 | 6.27 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | | | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 256 | 37.19 | 0.55 | 7.41 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | | | Qwen3.5-2B MLX 4-bit | TensorFold Vulkan PR 1517 (HTTP server) | `serve --backend vulkan --context 1024 --no-thinking` | 256 | 2.77 | 3.12 | 95.26 | 3 | no: diverges after 880 of 1301 chars | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-long.json](receipts/2026-10-28-engine-compare-long.json) | -| ★ | Qwen3.5-4B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **24.79** | 0.71 | 1.96 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | +| ★ | Qwen3.5-4B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **27.01** | 0.64 | 1.78 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json) | +| | Qwen3.5-4B MLX 4-bit | MLX (omarchy-mlx, in-process) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 24.79 | 0.71 | 1.96 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | | | Qwen3.5-4B MLX 4-bit | Rapid-MLX 1d09cdb (HTTP server) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 23.44 | 0.24 | 1.56 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | +| | Qwen3.5-4B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 23.14 | 0.65 | 1.99 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json) | | | Qwen3.5-4B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 18.55 | 0.73 | 2.38 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-qwen4b-short.json](receipts/2026-10-28-engine-compare-qwen4b-short.json) | ## Watched or reported elsewhere (not comparable to the table above) diff --git a/mseries/local-ai/engine-scoreboard.csv b/mseries/local-ai/engine-scoreboard.csv index c071f43d..7e5b5499 100644 --- a/mseries/local-ai/engine-scoreboard.csv +++ b/mseries/local-ai/engine-scoreboard.csv @@ -1,14 +1,18 @@ best,model,engine,settings,tokens,decode_tok_s,ttft_s,total_s,runs,same_output,gate,kernel,driver,date,status,source,blocker -★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,47.19,0.46,1.13,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, +,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,47.19,0.46,1.13,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, +★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,56.39,0.45,1.00,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json, ★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,256,49.28,0.56,5.74,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, ,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,36.02,0.51,1.37,3,reference,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, +,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,48.86,0.46,1.10,3,reference,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json, ,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),256,37.19,0.55,7.41,3,reference,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, ,Qwen3.5-2B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,32,42.42,0.19,0.92,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, ,Qwen3.5-2B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,256,43.17,0.40,6.27,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, ,Qwen3.5-2B MLX 4-bit,TensorFold Vulkan PR 1517 (HTTP server),serve --backend vulkan --context 1024 --no-thinking,32,2.40,2.00,14.92,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, ,Qwen3.5-2B MLX 4-bit,TensorFold Vulkan PR 1517 (HTTP server),serve --backend vulkan --context 1024 --no-thinking,256,2.77,3.12,95.26,3,no: diverges after 880 of 1301 chars,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, -★,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,24.79,0.71,1.96,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, +,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,24.79,0.71,1.96,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, +★,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,27.01,0.64,1.78,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json, ,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,18.55,0.73,2.38,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, +,Qwen3.5-4B MLX 4-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,23.14,0.65,1.99,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json, ,Qwen3.5-4B MLX 4-bit,Rapid-MLX 1d09cdb (HTTP server),MLX_OMARCHY_BATCH_WORK=120000,32,23.44,0.24,1.56,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen4b-short.json, ,"Qwen3.8-2B (Q4_K_M GGUF, staged)",ANE (omarchy-ane staged decoder),fp16 / int8 staged programs,,12-16,,,,,,,,,"reported: 13-inch M1 (H13), not run here",UZU-AND-ANE-EVALUATION-2026-10-27.md; receipts/2026-10-27-ane-binding-handoff.md,Needs the compiled 38-program H13 bundle and stride-aware layout binding; six incompatible packed surfaces found locally ,"Qwen3.8-2B (Q4_K_M GGUF, staged)",ANE (ane-linux-experiments decoder preflight),38 ANE submissions per token,,8.23,,,,,,,,,"reported: M1, peak RSS 8.38 GB, not run here",receipts/2026-10-27-ane-qwen-preflight.md,Memory: does not fit beside the 6 GiB desktop reserve on our 32 GB M1 Pro today diff --git a/mseries/local-ai/engine-scoreboard.svg b/mseries/local-ai/engine-scoreboard.svg index 534a7240..8a4c9f49 100644 --- a/mseries/local-ai/engine-scoreboard.svg +++ b/mseries/local-ai/engine-scoreboard.svg @@ -1 +1 @@ -Decode speed by engine on Apple M1 ProQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned47.2 tok/s ★Rapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/sQwen3.5-4B MLX 4-bit, 32 tokensMLX tuned24.8 tok/s ★Rapid-MLX 1d09cdb tuned23.4 tok/sMLX default18.6 tok/s +Decode speed by engine on Apple M1 ProQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned56.4 tok/s ★MLX default48.9 tok/sMLX tuned47.2 tok/sRapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/sQwen3.5-4B MLX 4-bit, 32 tokensMLX tuned27.0 tok/s ★MLX tuned24.8 tok/sRapid-MLX 1d09cdb tuned23.4 tok/sMLX default23.1 tok/sMLX default18.6 tok/s diff --git a/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json new file mode 100644 index 00000000..fd00815b --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json @@ -0,0 +1,368 @@ +{ + "status": "complete", + "model_key": "qwen2b", + "model": "mlx-community/Qwen3.5-2B-MLX-4bit@93760be4f1f69842a46bc13dbdc0f19e291392a3", + "weights_sha256": "713fe7e5d3c3965f7106b0d0ee17615f7869c23c8d327996df8c1196fbcf07d5", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 9323171c12", + "tensorfold_rev": "670902196c47f3e70e3f56ab933805713be31aa8", + "rapid_rev": "1d09cdb684bbf58fac130f5804b08ee2e1f56558", + "prompt_sha256": "af125b15dfba55caedb541e89e59fe1252c0f13553e5ce6bc181e237fada9926", + "max_tokens": 32, + "policy": { + "reserve_gib": 6, + "max_fan_rpm": null, + "max_temp_c": 80 + }, + "allowance_gib": 4.5, + "arms": [ + "mlx-5k", + "mlx-120k" + ], + "runs": [ + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 13.788, + "max_temp_c": 48.433, + "max_fan_rpm": 0.0 + }, + { + "t": 1.01, + "available_gib": 13.511, + "max_temp_c": 48.613, + "max_fan_rpm": 0.0 + }, + { + "t": 2.02, + "available_gib": 12.709, + "max_temp_c": 48.986, + "max_fan_rpm": 0.0 + }, + { + "t": 3.03, + "available_gib": 12.69, + "max_temp_c": 48.973, + "max_fan_rpm": 0.0 + }, + { + "t": 4.03, + "available_gib": 12.614, + "max_temp_c": 47.78, + "max_fan_rpm": 0.0 + }, + { + "t": 5.04, + "available_gib": 12.624, + "max_temp_c": 48.82, + "max_fan_rpm": 0.0 + } + ], + "log_tail": "", + "ready_s": 4.251419492997229, + "ttft_s": 0.4694931020057993, + "total_s": 1.103970276999462, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 48.85912562624438, + "min_available_gib": 12.614, + "peak_temp_c": 48.986, + "round": 1, + "admission_available_gib": 13.788 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 13.952, + "max_temp_c": 48.14, + "max_fan_rpm": 0.0 + }, + { + "t": 1.01, + "available_gib": 13.649, + "max_temp_c": 48.633, + "max_fan_rpm": 0.0 + }, + { + "t": 2.02, + "available_gib": 12.718, + "max_temp_c": 48.633, + "max_fan_rpm": 0.0 + }, + { + "t": 3.02, + "available_gib": 12.672, + "max_temp_c": 48.3, + "max_fan_rpm": 570.0 + }, + { + "t": 4.03, + "available_gib": 12.489, + "max_temp_c": 48.82, + "max_fan_rpm": 2165.0 + }, + { + "t": 5.04, + "available_gib": 12.516, + "max_temp_c": 47.98, + "max_fan_rpm": 2433.0 + } + ], + "log_tail": "", + "ready_s": 4.201572758000111, + "ttft_s": 0.4404696529963985, + "total_s": 0.9843637730009505, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 56.99638745817027, + "min_available_gib": 12.489, + "peak_temp_c": 48.82, + "round": 1, + "admission_available_gib": 13.95 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 13.91, + "max_temp_c": 48.713, + "max_fan_rpm": 2487.0 + }, + { + "t": 1.03, + "available_gib": 13.581, + "max_temp_c": 46.793, + "max_fan_rpm": 2504.0 + }, + { + "t": 2.04, + "available_gib": 12.558, + "max_temp_c": 47.666, + "max_fan_rpm": 2521.0 + }, + { + "t": 3.06, + "available_gib": 12.501, + "max_temp_c": 48.973, + "max_fan_rpm": 2530.0 + }, + { + "t": 4.06, + "available_gib": 12.3, + "max_temp_c": 48.713, + "max_fan_rpm": 2492.0 + }, + { + "t": 5.07, + "available_gib": 12.278, + "max_temp_c": 48.666, + "max_fan_rpm": 2500.0 + } + ], + "log_tail": "", + "ready_s": 4.159727312995528, + "ttft_s": 0.45267814899852965, + "total_s": 1.0023786419988028, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 56.39434636633043, + "min_available_gib": 12.278, + "peak_temp_c": 48.973, + "round": 2, + "admission_available_gib": 13.91 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 13.864, + "max_temp_c": 47.533, + "max_fan_rpm": 2504.0 + }, + { + "t": 1.03, + "available_gib": 13.614, + "max_temp_c": 46.766, + "max_fan_rpm": 2505.0 + }, + { + "t": 2.03, + "available_gib": 12.725, + "max_temp_c": 48.2, + "max_fan_rpm": 2508.0 + }, + { + "t": 3.04, + "available_gib": 12.661, + "max_temp_c": 48.026, + "max_fan_rpm": 2505.0 + }, + { + "t": 4.04, + "available_gib": 12.613, + "max_temp_c": 47.826, + "max_fan_rpm": 2504.0 + }, + { + "t": 5.05, + "available_gib": 12.611, + "max_temp_c": 48.493, + "max_fan_rpm": 2505.0 + } + ], + "log_tail": "", + "ready_s": 4.232402248002472, + "ttft_s": 0.4607894380023936, + "total_s": 1.0962668210049742, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 48.78222392987055, + "min_available_gib": 12.611, + "peak_temp_c": 48.493, + "round": 2, + "admission_available_gib": 13.864 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 13.951, + "max_temp_c": 47.713, + "max_fan_rpm": 2492.0 + }, + { + "t": 1.03, + "available_gib": 13.641, + "max_temp_c": 48.2, + "max_fan_rpm": 2504.0 + }, + { + "t": 2.06, + "available_gib": 12.696, + "max_temp_c": 48.713, + "max_fan_rpm": 2505.0 + }, + { + "t": 3.07, + "available_gib": 12.633, + "max_temp_c": 47.22, + "max_fan_rpm": 2505.0 + }, + { + "t": 4.08, + "available_gib": 12.557, + "max_temp_c": 46.853, + "max_fan_rpm": 2487.0 + }, + { + "t": 5.08, + "available_gib": 12.577, + "max_temp_c": 45.76, + "max_fan_rpm": 2487.0 + } + ], + "log_tail": "", + "ready_s": 4.14972352499899, + "ttft_s": 0.43540602899884107, + "total_s": 1.069362870999612, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 48.89922774894873, + "min_available_gib": 12.557, + "peak_temp_c": 48.713, + "round": 3, + "admission_available_gib": 13.951 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.016, + "max_temp_c": 46.693, + "max_fan_rpm": 2500.0 + }, + { + "t": 1.01, + "available_gib": 13.31, + "max_temp_c": 46.026, + "max_fan_rpm": 2505.0 + }, + { + "t": 2.02, + "available_gib": 12.664, + "max_temp_c": 46.473, + "max_fan_rpm": 2487.0 + }, + { + "t": 3.02, + "available_gib": 12.614, + "max_temp_c": 46.966, + "max_fan_rpm": 2509.0 + }, + { + "t": 4.03, + "available_gib": 12.384, + "max_temp_c": 46.593, + "max_fan_rpm": 2501.0 + }, + { + "t": 5.04, + "available_gib": 12.448, + "max_temp_c": 47.933, + "max_fan_rpm": 2500.0 + } + ], + "log_tail": "", + "ready_s": 3.8014776350028114, + "ttft_s": 0.4730794759962009, + "total_s": 1.0499767099972814, + "completion_tokens": 32, + "text": "Sunlight travels through the atmosphere and gets refracted (bent) as it enters a raindrop.\nThe light then reflects off the back of the dro", + "text_sha256": "ffbf23cb27bb50106bf151750276ab30f61683b0bec1ceb077bab1d61844393e", + "decode_tps": 53.735740393482175, + "min_available_gib": 12.384, + "peak_temp_c": 47.933, + "round": 3, + "admission_available_gib": 14.011 + } + ], + "summary": { + "mlx-5k": { + "ok_runs": 3, + "median_ttft_s": 0.4607894380023936, + "median_total_s": 1.0962668210049742, + "median_decode_tps": 48.85912562624438, + "texts": [ + "ffbf23cb27bb" + ] + }, + "mlx-120k": { + "ok_runs": 3, + "median_ttft_s": 0.45267814899852965, + "median_total_s": 1.0023786419988028, + "median_decode_tps": 56.39434636633043, + "texts": [ + "ffbf23cb27bb" + ] + } + } +} diff --git a/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json new file mode 100644 index 00000000..a7eef194 --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-engine-compare-qwen4b-short-hk9323171c12.json @@ -0,0 +1,458 @@ +{ + "status": "complete", + "model_key": "qwen4b", + "model": "mlx-community/Qwen3.5-4B-MLX-4bit@32f3e8ecf65426fc3306969496342d504bfa13f3", + "weights_sha256": "5fb9acd0246866381cf8c5c354c6db1019f6498eec4ccb4f5edcc71ffeacb2db", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 9323171c12", + "tensorfold_rev": "670902196c47f3e70e3f56ab933805713be31aa8", + "rapid_rev": "1d09cdb684bbf58fac130f5804b08ee2e1f56558", + "prompt_sha256": "af125b15dfba55caedb541e89e59fe1252c0f13553e5ce6bc181e237fada9926", + "max_tokens": 32, + "policy": { + "reserve_gib": 6, + "max_fan_rpm": null, + "max_temp_c": 80 + }, + "allowance_gib": 6.5, + "arms": [ + "mlx-5k", + "mlx-120k" + ], + "runs": [ + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.352, + "max_temp_c": 46.06, + "max_fan_rpm": 2501.0 + }, + { + "t": 1.01, + "available_gib": 13.695, + "max_temp_c": 46.906, + "max_fan_rpm": 2500.0 + }, + { + "t": 2.02, + "available_gib": 11.877, + "max_temp_c": 46.026, + "max_fan_rpm": 2505.0 + }, + { + "t": 3.02, + "available_gib": 11.559, + "max_temp_c": 46.313, + "max_fan_rpm": 2500.0 + }, + { + "t": 4.04, + "available_gib": 11.476, + "max_temp_c": 46.093, + "max_fan_rpm": 2504.0 + }, + { + "t": 5.05, + "available_gib": 11.44, + "max_temp_c": 47.22, + "max_fan_rpm": 2514.0 + }, + { + "t": 6.06, + "available_gib": 11.439, + "max_temp_c": 47.96, + "max_fan_rpm": 2491.0 + }, + { + "t": 7.07, + "available_gib": 11.408, + "max_temp_c": 48.12, + "max_fan_rpm": 2509.0 + } + ], + "log_tail": "", + "ready_s": 5.37237047200324, + "ttft_s": 0.6280053439986659, + "total_s": 1.906358108004497, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 24.24995734577893, + "min_available_gib": 11.408, + "peak_temp_c": 48.12, + "round": 1, + "admission_available_gib": 14.349 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 14.217, + "max_temp_c": 47.893, + "max_fan_rpm": 2487.0 + }, + { + "t": 1.04, + "available_gib": 13.535, + "max_temp_c": 46.673, + "max_fan_rpm": 2526.0 + }, + { + "t": 2.04, + "available_gib": 11.735, + "max_temp_c": 47.866, + "max_fan_rpm": 2508.0 + }, + { + "t": 3.05, + "available_gib": 11.458, + "max_temp_c": 49.006, + "max_fan_rpm": 2509.0 + }, + { + "t": 4.05, + "available_gib": 11.002, + "max_temp_c": 47.466, + "max_fan_rpm": 2504.0 + }, + { + "t": 5.06, + "available_gib": 11.024, + "max_temp_c": 47.8, + "max_fan_rpm": 2504.0 + }, + { + "t": 6.07, + "available_gib": 11.314, + "max_temp_c": 49.24, + "max_fan_rpm": 2509.0 + }, + { + "t": 7.08, + "available_gib": 11.228, + "max_temp_c": 48.4, + "max_fan_rpm": 2504.0 + } + ], + "log_tail": "", + "ready_s": 5.235845848997997, + "ttft_s": 0.5990534359953017, + "total_s": 1.7722483580000699, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 26.423571580949964, + "min_available_gib": 11.002, + "peak_temp_c": 49.24, + "round": 1, + "admission_available_gib": 14.228 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.4, + "max_temp_c": 48.893, + "max_fan_rpm": 2487.0 + }, + { + "t": 1.03, + "available_gib": 13.782, + "max_temp_c": 49.693, + "max_fan_rpm": 2508.0 + }, + { + "t": 2.04, + "available_gib": 11.95, + "max_temp_c": 48.826, + "max_fan_rpm": 2507.0 + }, + { + "t": 3.05, + "available_gib": 11.662, + "max_temp_c": 49.04, + "max_fan_rpm": 2499.0 + }, + { + "t": 4.05, + "available_gib": 11.313, + "max_temp_c": 50.233, + "max_fan_rpm": 2508.0 + }, + { + "t": 5.07, + "available_gib": 11.171, + "max_temp_c": 48.846, + "max_fan_rpm": 2508.0 + }, + { + "t": 6.1, + "available_gib": 11.091, + "max_temp_c": 49.313, + "max_fan_rpm": 2499.0 + }, + { + "t": 7.11, + "available_gib": 11.085, + "max_temp_c": 48.68, + "max_fan_rpm": 2499.0 + } + ], + "log_tail": "", + "ready_s": 5.375167304002389, + "ttft_s": 0.6414775480006938, + "total_s": 1.7810257719975198, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 27.203763164380437, + "min_available_gib": 11.085, + "peak_temp_c": 50.233, + "round": 2, + "admission_available_gib": 14.407 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.03, + "available_gib": 14.097, + "max_temp_c": 48.773, + "max_fan_rpm": 2508.0 + }, + { + "t": 1.03, + "available_gib": 13.476, + "max_temp_c": 49.666, + "max_fan_rpm": 2508.0 + }, + { + "t": 2.04, + "available_gib": 11.718, + "max_temp_c": 49.666, + "max_fan_rpm": 2486.0 + }, + { + "t": 3.05, + "available_gib": 11.463, + "max_temp_c": 50.403, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.06, + "available_gib": 11.217, + "max_temp_c": 49.826, + "max_fan_rpm": 2508.0 + }, + { + "t": 5.06, + "available_gib": 10.882, + "max_temp_c": 49.36, + "max_fan_rpm": 2499.0 + }, + { + "t": 6.07, + "available_gib": 10.913, + "max_temp_c": 51.37, + "max_fan_rpm": 2507.0 + }, + { + "t": 7.08, + "available_gib": 11.3, + "max_temp_c": 50.967, + "max_fan_rpm": 2507.0 + }, + { + "t": 8.08, + "available_gib": 11.261, + "max_temp_c": 49.466, + "max_fan_rpm": 2503.0 + }, + { + "t": 9.09, + "available_gib": 11.269, + "max_temp_c": 51.564, + "max_fan_rpm": 2507.0 + } + ], + "log_tail": "", + "ready_s": 6.360500784998294, + "ttft_s": 1.311232210995513, + "total_s": 2.746562799999083, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 21.59781184731854, + "min_available_gib": 10.882, + "peak_temp_c": 51.564, + "round": 2, + "admission_available_gib": 14.097 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.091, + "max_temp_c": 49.62, + "max_fan_rpm": 2477.0 + }, + { + "t": 1.02, + "available_gib": 13.529, + "max_temp_c": 50.153, + "max_fan_rpm": 2508.0 + }, + { + "t": 2.02, + "available_gib": 11.654, + "max_temp_c": 49.98, + "max_fan_rpm": 2507.0 + }, + { + "t": 3.03, + "available_gib": 11.366, + "max_temp_c": 49.453, + "max_fan_rpm": 2499.0 + }, + { + "t": 4.03, + "available_gib": 11.277, + "max_temp_c": 50.766, + "max_fan_rpm": 2486.0 + }, + { + "t": 5.04, + "available_gib": 11.151, + "max_temp_c": 50.58, + "max_fan_rpm": 2507.0 + }, + { + "t": 6.04, + "available_gib": 11.138, + "max_temp_c": 50.758, + "max_fan_rpm": 2498.0 + }, + { + "t": 7.05, + "available_gib": 11.142, + "max_temp_c": 50.564, + "max_fan_rpm": 2507.0 + }, + { + "t": 8.06, + "available_gib": 11.248, + "max_temp_c": 50.951, + "max_fan_rpm": 2498.0 + } + ], + "log_tail": "", + "ready_s": 5.806071044004057, + "ttft_s": 0.6520995860046241, + "total_s": 1.9919909969976288, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 23.13620323681726, + "min_available_gib": 11.138, + "peak_temp_c": 50.951, + "round": 3, + "admission_available_gib": 14.091 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 14.057, + "max_temp_c": 52.508, + "max_fan_rpm": 2507.0 + }, + { + "t": 1.03, + "available_gib": 13.425, + "max_temp_c": 51.935, + "max_fan_rpm": 2506.0 + }, + { + "t": 2.03, + "available_gib": 11.688, + "max_temp_c": 51.548, + "max_fan_rpm": 2489.0 + }, + { + "t": 3.04, + "available_gib": 11.413, + "max_temp_c": 51.548, + "max_fan_rpm": 2506.0 + }, + { + "t": 4.05, + "available_gib": 11.168, + "max_temp_c": 51.37, + "max_fan_rpm": 2498.0 + }, + { + "t": 5.08, + "available_gib": 10.803, + "max_temp_c": 50.112, + "max_fan_rpm": 2507.0 + }, + { + "t": 6.08, + "available_gib": 11.008, + "max_temp_c": 51.362, + "max_fan_rpm": 2485.0 + }, + { + "t": 7.1, + "available_gib": 10.972, + "max_temp_c": 52.33, + "max_fan_rpm": 2507.0 + } + ], + "log_tail": "", + "ready_s": 5.287809624001966, + "ttft_s": 0.6546849180012941, + "total_s": 1.8023895139995147, + "completion_tokens": 32, + "text": "A rainbow forms when sunlight hits raindrops in the air and gets split into its seven colors, creating a spectrum. Each raindrop acts like a tiny prism,", + "text_sha256": "bdb76d67e763d4e8ae7176616718338bafdab9ecab8cea1f66e0a73e706abe84", + "decode_tps": 27.01043466070433, + "min_available_gib": 10.803, + "peak_temp_c": 52.508, + "round": 3, + "admission_available_gib": 14.057 + } + ], + "summary": { + "mlx-5k": { + "ok_runs": 3, + "median_ttft_s": 0.6520995860046241, + "median_total_s": 1.9919909969976288, + "median_decode_tps": 23.13620323681726, + "texts": [ + "bdb76d67e763" + ] + }, + "mlx-120k": { + "ok_runs": 3, + "median_ttft_s": 0.6414775480006938, + "median_total_s": 1.7810257719975198, + "median_decode_tps": 27.01043466070433, + "texts": [ + "bdb76d67e763" + ] + } + } +} diff --git a/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep-hk9323171c12.json b/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep-hk9323171c12.json new file mode 100644 index 00000000..70152a60 --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep-hk9323171c12.json @@ -0,0 +1,2713 @@ +{ + "model": "mlx-community/Qwen3.5-2B-MLX-4bit@93760be4", + "weights_sha256": "713fe7e5d3c3965f7106b0d0ee17615f7869c23c8d327996df8c1196fbcf07d5", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 9323171c12", + "steps": 32, + "tie_margin": 0.5, + "margins": { + "pooled": 1.05, + "case": 1.15 + }, + "cases": [ + "rainbow", + "single", + "unicode", + "code", + "prose", + "math" + ], + "configs": { + "baseline": { + "env": {}, + "exit": 0, + "stopped": null, + "seconds": 14.1, + "min_available_gib": 12.47, + "peak_temp_c": 49.653, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 38.48945950823416 + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 37.97197730060114 + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 37.47400216912097 + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 38.90131273424795 + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 38.26448665728108 + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 38.57959172529671 + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 38.48945950823416, + "pass": true, + "gate": "PASS" + }, + "work20k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "20000" + }, + "exit": 0, + "stopped": null, + "seconds": 14.2, + "min_available_gib": 12.33, + "peak_temp_c": 49.92, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 30.367769459892305, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 32.29120547415663, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 29.00177484233061, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.898239130745367, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 31.13316495256603, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 29.87838876984604, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 30.367769459892305, + "pass": true, + "gate": "PASS" + }, + "work80k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "80000" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.79, + "peak_temp_c": 49.733, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 29.754313212737312, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 28.638420012368382, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.40677322664246, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 29.90554050459062, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 29.14156020582967, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.2839600208724, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 29.14156020582967, + "pass": true, + "gate": "PASS" + }, + "work120k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.72, + "peak_temp_c": 49.78, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.71336697468626, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 31.1821224603883, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.695613776148658, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.60441724167713, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 27.975945311227168, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.315723093910893, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 28.60441724167713, + "pass": true, + "gate": "PASS" + }, + "work-uncapped": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "0" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.54, + "peak_temp_c": 50.08, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.955718254140194, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 28.458930811215236, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.1235229508439, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.277620730018743, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 29.523049122667434, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.781708391749692, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 28.277620730018743, + "pass": true, + "gate": "PASS" + }, + "work120k-nodes8k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_BATCH_NODES": "8192" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.81, + "peak_temp_c": 49.58, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 29.014033046168283, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 29.77148808845613, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.0877448173271, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.477069578351202, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 28.293418897774277, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.305417751230877, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 28.477069578351202, + "pass": true, + "gate": "PASS" + }, + "work120k-first64": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_BATCH_FIRST": "64" + }, + "exit": 0, + "stopped": null, + "seconds": 14.1, + "min_available_gib": 11.66, + "peak_temp_c": 49.44, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 32.54603457331415, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 31.65940257495414, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 31.009962663757705, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 32.20073350594745, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 31.450568008123433, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 31.007341732383374, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 31.65940257495414, + "pass": true, + "gate": "PASS" + }, + "work120k-wave": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_WAVE_SCHED": "1" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.82, + "peak_temp_c": 49.266, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.833887722180222, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 27.42539521490356, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.508715426396936, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 25.783825788000183, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 27.232349540598246, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.530271426119903, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 26.833887722180222, + "pass": true, + "gate": "PASS" + }, + "work120k-prio": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_QUEUE_PRIORITY": "medium" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.44, + "peak_temp_c": 49.16, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.991456309416257, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 28.84466321953603, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.79307458136976, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.66147799549567, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 28.878660415069533, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.8302522003683, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 28.84466321953603, + "pass": true, + "gate": "PASS" + }, + "neg-sdpa-bf16-fast": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_SDPA_BF16_FAST": "1" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 11.56, + "peak_temp_c": 49.466, + "cases": { + "rainbow": { + "rmse": 0.03430509993406542, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.510028244759667, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04641872875442843, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 29.01531958518293, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.058481357343631316, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.124007749904496, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.034218886708370096, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.61750803437635, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.031414393233849605, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 8559, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.285911725707415, + "first_divergence_vs_baseline": 20 + }, + "math": { + "rmse": 0.029792264088769862, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.831715774127932, + "first_divergence_vs_baseline": null + } + }, + "violations": [ + "R3 pooled RMSE 0.04041 > 1.05 x baseline 0.03647", + "R3 unicode: RMSE 0.05848 > 1.15 x baseline 0.04732", + "R3 code: RMSE 0.03422 > 1.15 x baseline 0.02948" + ], + "pooled_rmse": 0.04040829685176698, + "median_decode_tok_s": 28.61750803437635, + "pass": false, + "gate": "FAIL" + } + } +} diff --git a/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep.json b/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep.json new file mode 100644 index 00000000..5863cc3f --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-mlx-gate-sweep.json @@ -0,0 +1,2713 @@ +{ + "model": "mlx-community/Qwen3.5-2B-MLX-4bit@93760be4", + "weights_sha256": "713fe7e5d3c3965f7106b0d0ee17615f7869c23c8d327996df8c1196fbcf07d5", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 7faf04c065", + "steps": 32, + "tie_margin": 0.5, + "margins": { + "pooled": 1.05, + "case": 1.15 + }, + "cases": [ + "rainbow", + "single", + "unicode", + "code", + "prose", + "math" + ], + "configs": { + "baseline": { + "env": {}, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 15.3, + "peak_temp_c": 44.527, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.646109559868354 + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 27.968112385830175 + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.53864844856607 + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 26.870242884656943 + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 26.38002573212279 + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.916103697553407 + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 27.968112385830175, + "pass": true, + "gate": "PASS" + }, + "work20k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "20000" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 15.17, + "peak_temp_c": 44.771, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.3532455054075, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 27.29451150261813, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.889181477183808, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 27.43708786834672, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 27.61618378174163, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.201062961434197, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 27.43708786834672, + "pass": true, + "gate": "PASS" + }, + "work80k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "80000" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 14.77, + "peak_temp_c": 45.493, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.50151658402249, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 26.36536562705011, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 30.890018159844345, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 29.426791494117246, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 26.44342185930045, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 23.929851686934875, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 28.50151658402249, + "pass": true, + "gate": "PASS" + }, + "work120k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 14.68, + "peak_temp_c": 46.0, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.162434433109468, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 26.896923559369352, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 25.542626191292566, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 24.312455712705873, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 23.502913768132807, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.543794744459547, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 26.162434433109468, + "pass": true, + "gate": "PASS" + }, + "work-uncapped": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "0" + }, + "exit": 0, + "stopped": null, + "seconds": 17.2, + "min_available_gib": 14.16, + "peak_temp_c": 46.193, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.210455970586366, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 25.727115848284235, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.245084082177854, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 23.771196315638985, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 27.55115603988337, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.474612223393866, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 24.474612223393866, + "pass": true, + "gate": "PASS" + }, + "work120k-nodes8k": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_BATCH_NODES": "8192" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 13.56, + "peak_temp_c": 46.653, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.25729681305583, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 27.192039011651133, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.043601175113995, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.212582797761915, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 26.06398465409619, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 28.164763700560204, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 27.25729681305583, + "pass": true, + "gate": "PASS" + }, + "work120k-first64": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_BATCH_FIRST": "64" + }, + "exit": 0, + "stopped": null, + "seconds": 15.2, + "min_available_gib": 13.84, + "peak_temp_c": 47.426, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 33.58118770260538, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 29.506231453441046, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 26.419479043645445, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 30.797193642898147, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 30.97568866868666, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 33.13941809953614, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 30.97568866868666, + "pass": true, + "gate": "PASS" + }, + "work120k-wave": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_WAVE_SCHED": "1" + }, + "exit": 0, + "stopped": null, + "seconds": 17.2, + "min_available_gib": 14.42, + "peak_temp_c": 48.046, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 25.26058645802358, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 22.806948047781745, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 23.590851258372236, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 22.176403404181926, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 21.783562011796405, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.030848664067666, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 23.590851258372236, + "pass": true, + "gate": "PASS" + }, + "work120k-prio": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_QUEUE_PRIORITY": "medium" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 14.15, + "peak_temp_c": 48.546, + "cases": { + "rainbow": { + "rmse": 0.031829616408239544, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.815758925407607, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04655662537948323, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 27.84701301269957, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.04732244977098923, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.603369154780513, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.029475553767825832, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 28.363025685223967, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.028039759816311564, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 383, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": 20, + "decode_tok_s": 24.992536059640006, + "first_divergence_vs_baseline": null + }, + "math": { + "rmse": 0.03005468944964068, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 23.99335624276892, + "first_divergence_vs_baseline": null + } + }, + "violations": [], + "pooled_rmse": 0.03646546050291926, + "median_decode_tok_s": 27.815758925407607, + "pass": true, + "gate": "PASS" + }, + "neg-sdpa-bf16-fast": { + "env": { + "MLX_OMARCHY_BATCH_WORK": "120000", + "MLX_OMARCHY_SDPA_BF16_FAST": "1" + }, + "exit": 0, + "stopped": null, + "seconds": 16.2, + "min_available_gib": 11.57, + "peak_temp_c": 48.666, + "cases": { + "rainbow": { + "rmse": 0.03430509993406542, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 29108, + 4009, + 33060, + 1472, + 279, + 16078, + 321, + 5055, + 18766, + 21479, + 318, + 65, + 305, + 8, + 430, + 424, + 27891, + 264, + 10849, + 6508, + 13, + 198, + 760, + 3000, + 1179, + 25133, + 974, + 279, + 1142, + 314, + 279, + 6756 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 31.492233178165677, + "first_divergence_vs_baseline": null + }, + "single": { + "rmse": 0.04641872875442843, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30, + 248046, + 198, + 248044, + 248045, + 846, + 198, + 12675, + 248046, + 198, + 248045, + 74455, + 198, + 248068, + 271, + 248069, + 271, + 9419, + 0, + 2500, + 628, + 353, + 1438, + 488, + 30 + ], + "first_divergence_vs_reference": 24, + "decode_tok_s": 26.91855087607279, + "first_divergence_vs_baseline": null + }, + "unicode": { + "rmse": 0.058481357343631316, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 22961, + 1900, + 25213, + 1725, + 191718, + 72163, + 84146, + 11, + 307, + 16811, + 51424, + 6167, + 907, + 7925, + 10838, + 234, + 99, + 29545, + 248046, + 198, + 248044, + 248045, + 74455, + 271, + 248068, + 198, + 31248, + 11, + 353, + 1144, + 310, + 14260 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 24.828967479608345, + "first_divergence_vs_baseline": null + }, + "code": { + "rmse": 0.034218886708370096, + "argmax_agree": 0.96875, + "non_tie_flips": [], + "ids": [ + 71093, + 12305, + 198, + 12237, + 198, + 8275, + 1340, + 76938, + 27435, + 271, + 1919, + 4536, + 5529, + 264, + 709, + 310, + 10724, + 279, + 307, + 7324, + 76938, + 1324, + 198, + 940, + 449, + 83876, + 5313, + 11, + 864, + 369, + 777, + 4779 + ], + "first_divergence_vs_reference": 16, + "decode_tok_s": 25.795075732276985, + "first_divergence_vs_baseline": null + }, + "prose": { + "rmse": 0.031414393233849605, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 760, + 12433, + 2197, + 383, + 7348, + 310, + 3286, + 279, + 7786, + 364, + 279, + 491, + 6522, + 19403, + 11, + 694, + 1238, + 264, + 33073, + 9915, + 8559, + 6829, + 11, + 61892, + 11, + 321, + 279, + 7832, + 24024, + 11, + 781, + 6426 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 27.389858669991046, + "first_divergence_vs_baseline": 20 + }, + "math": { + "rmse": 0.029792264088769862, + "argmax_agree": 1.0, + "non_tie_flips": [], + "ids": [ + 1206, + 1423, + 279, + 18085, + 854, + 11, + 567, + 1144, + 310, + 10724, + 279, + 2702, + 854, + 4284, + 310, + 5640, + 279, + 5821, + 321, + 1179, + 884, + 421, + 7836, + 310, + 279, + 24125, + 854, + 13, + 271, + 13962, + 14392, + 220 + ], + "first_divergence_vs_reference": null, + "decode_tok_s": 29.948195794340414, + "first_divergence_vs_baseline": null + } + }, + "violations": [ + "R3 pooled RMSE 0.04041 > 1.05 x baseline 0.03647", + "R3 unicode: RMSE 0.05848 > 1.15 x baseline 0.04732", + "R3 code: RMSE 0.03422 > 1.15 x baseline 0.02948" + ], + "pooled_rmse": 0.04040829685176698, + "median_decode_tok_s": 27.389858669991046, + "pass": false, + "gate": "FAIL" + } + } +} diff --git a/mseries/local-ai/scoreboard.py b/mseries/local-ai/scoreboard.py index 505f3764..6b8df69f 100644 --- a/mseries/local-ai/scoreboard.py +++ b/mseries/local-ai/scoreboard.py @@ -37,8 +37,9 @@ def gate_results(): for f in sorted(RECEIPTS.glob('*mlx-gate-sweep*.json')): r = json.loads(f.read_text()) key = 'qwen2b' if '2B' in r.get('model', '') else r.get('model_key', '?') + drv = r.get('driver', 'Honeykrisp Mesa 7faf04c065') for name, row in r.get('configs', {}).items(): - out[(key, name)] = (row.get('gate'), f.name) + out[(key, drv, name)] = (row.get('gate'), f.name) return out @@ -50,10 +51,11 @@ def measured_rows(): if r.get('status') != 'complete': continue model = r.get('model_key', 'qwen2b') + drv = r.get('driver', 'Honeykrisp Mesa 7faf04c065') for arm in r['arms']: - latest[(model, arm, r['max_tokens'])] = (f, r) + latest[(model, arm, r['max_tokens'], drv)] = (f, r) rows = [] - for (model, arm, tokens), (f, r) in sorted(latest.items()): + for (model, arm, tokens, drv), (f, r) in sorted(latest.items()): ok = [x for x in r['runs'] if x['arm'] == arm and 'text' in x and not x.get('error')] if not ok: continue @@ -69,14 +71,14 @@ def measured_rows(): i = next((i for i, (u, v) in enumerate(zip(mt, at)) if u != v), min(len(mt), len(at))) same = f'no: diverges after {i} of {len(mt)} chars' engine, settings, gate_key = ARM_SETTINGS[arm] - gate = gates.get((model, gate_key), (None, None))[0] if gate_key else None + gate = gates.get((model, drv, gate_key), (None, None))[0] if gate_key else None rows.append({ 'model': MODEL_NAMES.get(model, model), 'engine': engine, 'settings': settings, 'tokens': tokens, 'decode_tok_s': med([x.get('decode_tps') for x in ok]), 'ttft_s': med([x['ttft_s'] for x in ok]), 'total_s': med([x['total_s'] for x in ok]), 'runs': len(ok), 'same_output': same if len(texts) == 1 else f'{same}; {len(texts)} variants across its own runs', 'gate': gate or 'not gated', 'kernel': r.get('kernel', ''), - 'driver': r.get('driver', 'Honeykrisp Mesa 7faf04c065'), 'date': f.name[:10], + 'driver': drv, 'date': f.name[:10], 'status': 'measured here', 'source': f'receipts/{f.name}', '_model': model}) # Most functional per model and length: fastest decode among rows whose output matched # and whose gate did not fail. From 3f1dfe80a600a1cb9c97d0fa581d62a3e602ac47 Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:12:40 -0400 Subject: [PATCH 9/9] Record LFM3-1.7B on both drivers: 15.3 -> 27.5 tok/s LFM3-1.7B MLX 8-bit, 32 tokens, 3 rotated rounds, identical output: 7faf04c065: default 15.3, 120k 16.9 tok/s 9323171c12: default 22.6, 120k 27.5 tok/s Co-Authored-By: Claude Opus 5.5 --- mseries/local-ai/ENGINE-SCOREBOARD.md | 4 + mseries/local-ai/engine-scoreboard.csv | 4 + mseries/local-ai/engine-scoreboard.svg | 2 +- ...ngine-compare-lfm3-short-hk9323171c12.json | 386 +++++++++++++++ .../2026-10-28-engine-compare-lfm3-short.json | 440 ++++++++++++++++++ 5 files changed, 835 insertions(+), 1 deletion(-) create mode 100644 mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json create mode 100644 mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short.json diff --git a/mseries/local-ai/ENGINE-SCOREBOARD.md b/mseries/local-ai/ENGINE-SCOREBOARD.md index fa73f139..ddfc8128 100644 --- a/mseries/local-ai/ENGINE-SCOREBOARD.md +++ b/mseries/local-ai/ENGINE-SCOREBOARD.md @@ -8,6 +8,10 @@ One table for every engine we run or watch on the M1 Pro. ★ marks the most fun | ★ | Model | Engine | Settings | Tokens | Decode tok/s | TTFT s | Total s | Runs | Same output as MLX default | Gate | Kernel | Driver | Date | Receipt | |---|---|---|---|---:|---:|---:|---:|---:|---|---|---|---|---|---| +| ★ | LFM3-1.7B MLX 8-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **27.49** | 0.30 | 1.44 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-lfm3-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json) | +| | LFM3-1.7B MLX 8-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 22.63 | 0.33 | 1.69 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-lfm3-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json) | +| | LFM3-1.7B MLX 8-bit | MLX (omarchy-mlx, in-process) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 16.90 | 0.39 | 2.23 | 3 | yes | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-lfm3-short.json](receipts/2026-10-28-engine-compare-lfm3-short.json) | +| | LFM3-1.7B MLX 8-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 15.27 | 0.40 | 2.38 | 3 | reference | not gated | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-lfm3-short.json](receipts/2026-10-28-engine-compare-lfm3-short.json) | | ★ | Qwen3.5-2B MLX 4-bit | **MLX (omarchy-mlx, in-process)** | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | **56.39** | 0.45 | 1.00 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json) | | | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `defaults (MLX_OMARCHY_BATCH_WORK fallback 5000)` | 32 | 48.86 | 0.46 | 1.10 | 3 | reference | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 9323171c12 | 2026-10-28 | [2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json](receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json) | | | Qwen3.5-2B MLX 4-bit | MLX (omarchy-mlx, in-process) | `MLX_OMARCHY_BATCH_WORK=120000` | 32 | 47.19 | 0.46 | 1.13 | 3 | yes | PASS | `7.2.11-elementary-aurora72-wip4` | Honeykrisp Mesa 7faf04c065 | 2026-10-28 | [2026-10-28-engine-compare-short.json](receipts/2026-10-28-engine-compare-short.json) | diff --git a/mseries/local-ai/engine-scoreboard.csv b/mseries/local-ai/engine-scoreboard.csv index 7e5b5499..3ffea0ca 100644 --- a/mseries/local-ai/engine-scoreboard.csv +++ b/mseries/local-ai/engine-scoreboard.csv @@ -1,4 +1,8 @@ best,model,engine,settings,tokens,decode_tok_s,ttft_s,total_s,runs,same_output,gate,kernel,driver,date,status,source,blocker +,LFM3-1.7B MLX 8-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,16.90,0.39,2.23,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-lfm3-short.json, +★,LFM3-1.7B MLX 8-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,27.49,0.30,1.44,3,yes,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json, +,LFM3-1.7B MLX 8-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,15.27,0.40,2.38,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-lfm3-short.json, +,LFM3-1.7B MLX 8-bit,"MLX (omarchy-mlx, in-process)",defaults (MLX_OMARCHY_BATCH_WORK fallback 5000),32,22.63,0.33,1.69,3,reference,not gated,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json, ,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,47.19,0.46,1.13,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-short.json, ★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,32,56.39,0.45,1.00,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 9323171c12,2026-10-28,measured here,receipts/2026-10-28-engine-compare-qwen2b-short-hk9323171c12.json, ★,Qwen3.5-2B MLX 4-bit,"MLX (omarchy-mlx, in-process)",MLX_OMARCHY_BATCH_WORK=120000,256,49.28,0.56,5.74,3,yes,PASS,7.2.11-elementary-aurora72-wip4,Honeykrisp Mesa 7faf04c065,2026-10-28,measured here,receipts/2026-10-28-engine-compare-long.json, diff --git a/mseries/local-ai/engine-scoreboard.svg b/mseries/local-ai/engine-scoreboard.svg index 8a4c9f49..f4211fe6 100644 --- a/mseries/local-ai/engine-scoreboard.svg +++ b/mseries/local-ai/engine-scoreboard.svg @@ -1 +1 @@ -Decode speed by engine on Apple M1 ProQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned56.4 tok/s ★MLX default48.9 tok/sMLX tuned47.2 tok/sRapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/sQwen3.5-4B MLX 4-bit, 32 tokensMLX tuned27.0 tok/s ★MLX tuned24.8 tok/sRapid-MLX 1d09cdb tuned23.4 tok/sMLX default23.1 tok/sMLX default18.6 tok/s +Decode speed by engine on Apple M1 ProLFM3-1.7B MLX 8-bit, 32 tokensMLX tuned27.5 tok/s ★MLX default22.6 tok/sMLX tuned16.9 tok/sMLX default15.3 tok/sQwen3.5-2B MLX 4-bit, 32 tokensMLX tuned56.4 tok/s ★MLX default48.9 tok/sMLX tuned47.2 tok/sRapid-MLX 1d09cdb tuned42.4 tok/sMLX default36.0 tok/sTensorFold Vulkan PR 15172.4 tok/sQwen3.5-2B MLX 4-bit, 256 tokensMLX tuned49.3 tok/s ★Rapid-MLX 1d09cdb tuned43.2 tok/sMLX default37.2 tok/sTensorFold Vulkan PR 15172.8 tok/sQwen3.5-4B MLX 4-bit, 32 tokensMLX tuned27.0 tok/s ★MLX tuned24.8 tok/sRapid-MLX 1d09cdb tuned23.4 tok/sMLX default23.1 tok/sMLX default18.6 tok/s diff --git a/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json b/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json new file mode 100644 index 00000000..00cac84e --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short-hk9323171c12.json @@ -0,0 +1,386 @@ +{ + "status": "complete", + "model_key": "lfm3", + "model": "LiquidAI/LFM3-1.7B-MLX-8bit@ee7667f3cfccb2a41725f91820531823fcabc6b7", + "weights_sha256": "2b06cea98d75527c248a0b04383f7cf0a1c72fb4ed7b45096618fc4e59d015ad", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 9323171c12", + "tensorfold_rev": "670902196c47f3e70e3f56ab933805713be31aa8", + "rapid_rev": "1d09cdb684bbf58fac130f5804b08ee2e1f56558", + "prompt_sha256": "af125b15dfba55caedb541e89e59fe1252c0f13553e5ce6bc181e237fada9926", + "max_tokens": 32, + "policy": { + "reserve_gib": 6, + "max_fan_rpm": null, + "max_temp_c": 80 + }, + "allowance_gib": 4.5, + "arms": [ + "mlx-5k", + "mlx-120k" + ], + "runs": [ + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.135, + "max_temp_c": 52.903, + "max_fan_rpm": 2511.0 + }, + { + "t": 1.01, + "available_gib": 13.482, + "max_temp_c": 51.54, + "max_fan_rpm": 2503.0 + }, + { + "t": 2.02, + "available_gib": 12.016, + "max_temp_c": 51.145, + "max_fan_rpm": 2511.0 + }, + { + "t": 3.02, + "available_gib": 11.88, + "max_temp_c": 51.935, + "max_fan_rpm": 2503.0 + }, + { + "t": 4.04, + "available_gib": 11.881, + "max_temp_c": 52.532, + "max_fan_rpm": 2507.0 + }, + { + "t": 5.04, + "available_gib": 11.873, + "max_temp_c": 51.161, + "max_fan_rpm": 2490.0 + }, + { + "t": 6.05, + "available_gib": 11.882, + "max_temp_c": 51.935, + "max_fan_rpm": 2498.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.6393770779977785, + "ttft_s": 0.3018882379983552, + "total_s": 1.67161630600458, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 22.632229508973687, + "min_available_gib": 11.873, + "peak_temp_c": 52.903, + "round": 1, + "admission_available_gib": 14.135 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 13.983, + "max_temp_c": 49.4, + "max_fan_rpm": 2502.0 + }, + { + "t": 1.03, + "available_gib": 13.384, + "max_temp_c": 51.548, + "max_fan_rpm": 2503.0 + }, + { + "t": 2.04, + "available_gib": 11.999, + "max_temp_c": 51.935, + "max_fan_rpm": 2507.0 + }, + { + "t": 3.06, + "available_gib": 11.929, + "max_temp_c": 51.741, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.07, + "available_gib": 11.924, + "max_temp_c": 53.104, + "max_fan_rpm": 2478.0 + }, + { + "t": 5.09, + "available_gib": 11.942, + "max_temp_c": 51.33, + "max_fan_rpm": 2507.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.194089176999114, + "ttft_s": 0.3581528449940379, + "total_s": 1.4765102009987459, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 27.719225731877334, + "min_available_gib": 11.924, + "peak_temp_c": 53.104, + "round": 1, + "admission_available_gib": 13.983 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 14.047, + "max_temp_c": 51.145, + "max_fan_rpm": 2507.0 + }, + { + "t": 1.03, + "available_gib": 13.432, + "max_temp_c": 50.758, + "max_fan_rpm": 2503.0 + }, + { + "t": 2.05, + "available_gib": 11.975, + "max_temp_c": 51.54, + "max_fan_rpm": 2511.0 + }, + { + "t": 3.07, + "available_gib": 14.776, + "max_temp_c": 51.548, + "max_fan_rpm": 2503.0 + }, + { + "t": 4.09, + "available_gib": 14.692, + "max_temp_c": 51.935, + "max_fan_rpm": 2490.0 + }, + { + "t": 5.09, + "available_gib": 14.736, + "max_temp_c": 51.935, + "max_fan_rpm": 2502.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.194806927000172, + "ttft_s": 0.3023557790002087, + "total_s": 1.4302277989991126, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 27.48538792551138, + "min_available_gib": 11.975, + "peak_temp_c": 51.935, + "round": 2, + "admission_available_gib": 14.047 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.921, + "max_temp_c": 54.604, + "max_fan_rpm": 2507.0 + }, + { + "t": 1.01, + "available_gib": 14.197, + "max_temp_c": 51.935, + "max_fan_rpm": 2489.0 + }, + { + "t": 2.02, + "available_gib": 12.388, + "max_temp_c": 51.75, + "max_fan_rpm": 2507.0 + }, + { + "t": 3.04, + "available_gib": 12.438, + "max_temp_c": 51.145, + "max_fan_rpm": 2498.0 + }, + { + "t": 4.05, + "available_gib": 12.433, + "max_temp_c": 50.564, + "max_fan_rpm": 2503.0 + }, + { + "t": 5.08, + "available_gib": 12.475, + "max_temp_c": 51.54, + "max_fan_rpm": 2511.0 + }, + { + "t": 6.09, + "available_gib": 12.466, + "max_temp_c": 49.966, + "max_fan_rpm": 2529.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.489479042000312, + "ttft_s": 0.32832943800167413, + "total_s": 1.7985287240007892, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 21.085576829765007, + "min_available_gib": 12.388, + "peak_temp_c": 54.604, + "round": 2, + "admission_available_gib": 14.881 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 14.52, + "max_temp_c": 53.08, + "max_fan_rpm": 2503.0 + }, + { + "t": 1.03, + "available_gib": 13.851, + "max_temp_c": 51.548, + "max_fan_rpm": 2507.0 + }, + { + "t": 2.05, + "available_gib": 12.283, + "max_temp_c": 50.137, + "max_fan_rpm": 2481.0 + }, + { + "t": 3.07, + "available_gib": 12.484, + "max_temp_c": 52.508, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.09, + "available_gib": 12.489, + "max_temp_c": 50.943, + "max_fan_rpm": 2511.0 + }, + { + "t": 5.11, + "available_gib": 12.505, + "max_temp_c": 51.935, + "max_fan_rpm": 2503.0 + }, + { + "t": 6.12, + "available_gib": 12.516, + "max_temp_c": 50.346, + "max_fan_rpm": 2489.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.421406981004111, + "ttft_s": 0.33374268600164214, + "total_s": 1.6868974680037354, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 22.909426484184753, + "min_available_gib": 12.283, + "peak_temp_c": 53.08, + "round": 3, + "admission_available_gib": 14.513 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 17.207, + "max_temp_c": 54.209, + "max_fan_rpm": 2499.0 + }, + { + "t": 1.02, + "available_gib": 16.607, + "max_temp_c": 49.733, + "max_fan_rpm": 2498.0 + }, + { + "t": 2.03, + "available_gib": 15.296, + "max_temp_c": 52.33, + "max_fan_rpm": 2506.0 + }, + { + "t": 3.06, + "available_gib": 15.19, + "max_temp_c": 51.935, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.07, + "available_gib": 15.182, + "max_temp_c": 50.225, + "max_fan_rpm": 2529.0 + }, + { + "t": 5.08, + "available_gib": 15.179, + "max_temp_c": 52.717, + "max_fan_rpm": 2499.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.247773451999819, + "ttft_s": 0.30311852999875555, + "total_s": 1.4424841290019685, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 27.20812356202496, + "min_available_gib": 15.179, + "peak_temp_c": 54.209, + "round": 3, + "admission_available_gib": 17.207 + } + ], + "summary": { + "mlx-5k": { + "ok_runs": 3, + "median_ttft_s": 0.32832943800167413, + "median_total_s": 1.6868974680037354, + "median_decode_tps": 22.632229508973687, + "texts": [ + "b8cc5b9478a0" + ] + }, + "mlx-120k": { + "ok_runs": 3, + "median_ttft_s": 0.30311852999875555, + "median_total_s": 1.4424841290019685, + "median_decode_tps": 27.48538792551138, + "texts": [ + "b8cc5b9478a0" + ] + } + } +} diff --git a/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short.json b/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short.json new file mode 100644 index 00000000..75440157 --- /dev/null +++ b/mseries/local-ai/receipts/2026-10-28-engine-compare-lfm3-short.json @@ -0,0 +1,440 @@ +{ + "status": "complete", + "model_key": "lfm3", + "model": "LiquidAI/LFM3-1.7B-MLX-8bit@ee7667f3cfccb2a41725f91820531823fcabc6b7", + "weights_sha256": "2b06cea98d75527c248a0b04383f7cf0a1c72fb4ed7b45096618fc4e59d015ad", + "kernel": "7.2.11-elementary-aurora72-wip4", + "driver": "Honeykrisp Mesa 7faf04c065", + "tensorfold_rev": "670902196c47f3e70e3f56ab933805713be31aa8", + "rapid_rev": "1d09cdb684bbf58fac130f5804b08ee2e1f56558", + "prompt_sha256": "af125b15dfba55caedb541e89e59fe1252c0f13553e5ce6bc181e237fada9926", + "max_tokens": 32, + "policy": { + "reserve_gib": 6, + "max_fan_rpm": null, + "max_temp_c": 80 + }, + "allowance_gib": 4.5, + "arms": [ + "mlx-5k", + "mlx-120k" + ], + "runs": [ + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.156, + "max_temp_c": 51.75, + "max_fan_rpm": 2511.0 + }, + { + "t": 1.01, + "available_gib": 13.687, + "max_temp_c": 51.346, + "max_fan_rpm": 2507.0 + }, + { + "t": 2.02, + "available_gib": 12.343, + "max_temp_c": 51.161, + "max_fan_rpm": 2498.0 + }, + { + "t": 3.02, + "available_gib": 12.276, + "max_temp_c": 53.298, + "max_fan_rpm": 2506.0 + }, + { + "t": 4.03, + "available_gib": 12.238, + "max_temp_c": 50.975, + "max_fan_rpm": 2507.0 + }, + { + "t": 5.05, + "available_gib": 12.228, + "max_temp_c": 51.161, + "max_fan_rpm": 2490.0 + }, + { + "t": 6.07, + "available_gib": 12.218, + "max_temp_c": 51.741, + "max_fan_rpm": 2490.0 + }, + { + "t": 7.08, + "available_gib": 12.242, + "max_temp_c": 52.508, + "max_fan_rpm": 2507.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 5.19844698599627, + "ttft_s": 0.34890564000670565, + "total_s": 2.378871833003359, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 15.271190282355164, + "min_available_gib": 12.218, + "peak_temp_c": 53.298, + "round": 1, + "admission_available_gib": 14.164 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.297, + "max_temp_c": 50.733, + "max_fan_rpm": 2489.0 + }, + { + "t": 1.03, + "available_gib": 13.671, + "max_temp_c": 48.72, + "max_fan_rpm": 2524.0 + }, + { + "t": 2.04, + "available_gib": 12.228, + "max_temp_c": 49.94, + "max_fan_rpm": 2516.0 + }, + { + "t": 3.05, + "available_gib": 12.195, + "max_temp_c": 51.161, + "max_fan_rpm": 2498.0 + }, + { + "t": 4.06, + "available_gib": 12.178, + "max_temp_c": 51.346, + "max_fan_rpm": 2511.0 + }, + { + "t": 5.07, + "available_gib": 12.179, + "max_temp_c": 51.354, + "max_fan_rpm": 2506.0 + }, + { + "t": 6.08, + "available_gib": 12.203, + "max_temp_c": 51.935, + "max_fan_rpm": 2506.0 + }, + { + "t": 7.1, + "available_gib": 12.14, + "max_temp_c": 50.338, + "max_fan_rpm": 2511.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 5.1416033360001165, + "ttft_s": 0.39438504200370517, + "total_s": 2.2285385050054174, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 16.901530120204047, + "min_available_gib": 12.14, + "peak_temp_c": 51.935, + "round": 1, + "admission_available_gib": 14.306 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.149, + "max_temp_c": 51.145, + "max_fan_rpm": 2485.0 + }, + { + "t": 1.02, + "available_gib": 13.6, + "max_temp_c": 51.145, + "max_fan_rpm": 2507.0 + }, + { + "t": 2.04, + "available_gib": 12.131, + "max_temp_c": 51.346, + "max_fan_rpm": 2506.0 + }, + { + "t": 3.08, + "available_gib": 11.939, + "max_temp_c": 51.161, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.09, + "available_gib": 11.912, + "max_temp_c": 51.935, + "max_fan_rpm": 2498.0 + }, + { + "t": 5.1, + "available_gib": 11.911, + "max_temp_c": 51.741, + "max_fan_rpm": 2507.0 + }, + { + "t": 6.12, + "available_gib": 11.922, + "max_temp_c": 50.572, + "max_fan_rpm": 2485.0 + }, + { + "t": 7.13, + "available_gib": 11.949, + "max_temp_c": 51.153, + "max_fan_rpm": 2502.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.96780609999405, + "ttft_s": 0.3876400859953719, + "total_s": 2.2612461609969614, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 16.545633798702163, + "min_available_gib": 11.911, + "peak_temp_c": 51.935, + "round": 2, + "admission_available_gib": 14.149 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.02, + "available_gib": 14.056, + "max_temp_c": 51.346, + "max_fan_rpm": 2506.0 + }, + { + "t": 1.04, + "available_gib": 13.428, + "max_temp_c": 51.161, + "max_fan_rpm": 2481.0 + }, + { + "t": 2.04, + "available_gib": 11.84, + "max_temp_c": 50.967, + "max_fan_rpm": 2506.0 + }, + { + "t": 3.07, + "available_gib": 11.821, + "max_temp_c": 51.741, + "max_fan_rpm": 2507.0 + }, + { + "t": 4.08, + "available_gib": 11.863, + "max_temp_c": 51.145, + "max_fan_rpm": 2503.0 + }, + { + "t": 5.1, + "available_gib": 11.882, + "max_temp_c": 52.508, + "max_fan_rpm": 2512.0 + }, + { + "t": 6.11, + "available_gib": 11.887, + "max_temp_c": 52.129, + "max_fan_rpm": 2504.0 + }, + { + "t": 7.11, + "available_gib": 11.896, + "max_temp_c": 50.717, + "max_fan_rpm": 2507.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 5.144610251998529, + "ttft_s": 0.39729920799436513, + "total_s": 2.1945781409958727, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 17.248296539162737, + "min_available_gib": 11.821, + "peak_temp_c": 52.508, + "round": 2, + "admission_available_gib": 14.056 + }, + { + "arm": "mlx-5k", + "stopped": null, + "samples": [ + { + "t": 0.01, + "available_gib": 14.087, + "max_temp_c": 50.741, + "max_fan_rpm": 2507.0 + }, + { + "t": 1.01, + "available_gib": 13.458, + "max_temp_c": 50.75, + "max_fan_rpm": 2490.0 + }, + { + "t": 2.02, + "available_gib": 11.972, + "max_temp_c": 52.33, + "max_fan_rpm": 2511.0 + }, + { + "t": 3.04, + "available_gib": 11.895, + "max_temp_c": 52.137, + "max_fan_rpm": 2511.0 + }, + { + "t": 4.05, + "available_gib": 11.951, + "max_temp_c": 50.75, + "max_fan_rpm": 2490.0 + }, + { + "t": 5.06, + "available_gib": 11.989, + "max_temp_c": 53.258, + "max_fan_rpm": 2503.0 + }, + { + "t": 6.08, + "available_gib": 12.011, + "max_temp_c": 52.532, + "max_fan_rpm": 2507.0 + }, + { + "t": 7.09, + "available_gib": 12.019, + "max_temp_c": 52.129, + "max_fan_rpm": 2503.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 5.0514841149997665, + "ttft_s": 0.41225178700551623, + "total_s": 2.452390644000843, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 15.195044147953801, + "min_available_gib": 11.895, + "peak_temp_c": 53.258, + "round": 3, + "admission_available_gib": 14.087 + }, + { + "arm": "mlx-120k", + "stopped": null, + "samples": [ + { + "t": 0.03, + "available_gib": 14.157, + "max_temp_c": 51.741, + "max_fan_rpm": 2503.0 + }, + { + "t": 1.04, + "available_gib": 13.603, + "max_temp_c": 51.548, + "max_fan_rpm": 2503.0 + }, + { + "t": 2.06, + "available_gib": 12.141, + "max_temp_c": 51.935, + "max_fan_rpm": 2511.0 + }, + { + "t": 3.07, + "available_gib": 12.1, + "max_temp_c": 53.088, + "max_fan_rpm": 2502.0 + }, + { + "t": 4.09, + "available_gib": 12.083, + "max_temp_c": 51.935, + "max_fan_rpm": 2507.0 + }, + { + "t": 5.1, + "available_gib": 12.004, + "max_temp_c": 51.137, + "max_fan_rpm": 2503.0 + }, + { + "t": 6.11, + "available_gib": 11.986, + "max_temp_c": 53.088, + "max_fan_rpm": 2485.0 + }, + { + "t": 7.12, + "available_gib": 11.909, + "max_temp_c": 52.33, + "max_fan_rpm": 2490.0 + } + ], + "log_tail": "The repository /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit contains custom code which must be executed to correctly load the model. You can inspect the repository content at /home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit .\n You can inspect the repository content at https://hf.co//home/sdolbec/.cache/mseries-metal2vk/lfm3-8bit.\nYou can avoid this prompt in future by passing the argument `trust_remote_code=True`.\n\nDo you wish to run the custom code? [y/N] [transformers] You are using a model of type `lfm3` to instantiate a model of type ``. This may be expected if you are loading a checkpoint that shares a subset of the architecture (e.g., loading a `sam2_video` checkpoint into `Sam2Model`), but is otherwise not supported and can yield errors. Please verify that the checkpoint is compatible with the model you are instantiating.\n", + "ready_s": 4.9072863689943915, + "ttft_s": 0.41648974300187547, + "total_s": 2.1779088959956425, + "completion_tokens": 32, + "text": "A rainbow is created when sunlight passes through water droplets in the air and bends (refracts), then reflects off the back of each droplet and bends", + "text_sha256": "b8cc5b9478a05082c75e5ec40e9d3a528f77c91c5ac0d639b827ff94b25a609b", + "decode_tps": 17.599445280989116, + "min_available_gib": 11.909, + "peak_temp_c": 53.088, + "round": 3, + "admission_available_gib": 14.167 + } + ], + "summary": { + "mlx-5k": { + "ok_runs": 3, + "median_ttft_s": 0.39729920799436513, + "median_total_s": 2.378871833003359, + "median_decode_tps": 15.271190282355164, + "texts": [ + "b8cc5b9478a0" + ] + }, + "mlx-120k": { + "ok_runs": 3, + "median_ttft_s": 0.39438504200370517, + "median_total_s": 2.2285385050054174, + "median_decode_tps": 16.901530120204047, + "texts": [ + "b8cc5b9478a0" + ] + } + } +}