From 4c1c53af012c7c4830e864f3bb590e813ea7661c Mon Sep 17 00:00:00 2001 From: sdolbec Date: Wed, 28 Oct 2026 08:14:37 -0400 Subject: [PATCH] Adopt Honeykrisp 9323171c12 and a 120k MLX submit budget on the M1 Pro Driver pin 7faf04c065 (2026-09-20) -> 9323171c12 (2026-10-25). MLX gate (CPU float32 reference, 6 prompts): every config passes on both drivers with identical pooled RMSE; generated text is identical across drivers. Decode, 32 tokens, median of 3 rotated rounds: old default new + 120k Qwen3.5 2B 36.0 56.4 (+57%) Qwen3.5 4B 18.6 27.0 (+45%) LFM3 1.7B 15.3 27.5 (+80%) llama.cpp LFM2.5 56.6 61.0 (+8%, driver only, same text) The M1 Pro (G13S) is uncalibrated in omarchy-mlx and falls back to a 5000 work-group budget; model-worker.py now defaults MLX workers to 120000 (an explicit environment value wins) and the assistant moves from 20000. Co-Authored-By: Claude Opus 5.5 --- mseries/assistant/mseries-assistd.service | 5 +++-- mseries/local-ai/install.sh | 4 +++- mseries/local-ai/model-worker.py | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/mseries/assistant/mseries-assistd.service b/mseries/assistant/mseries-assistd.service index 6240adf1e..eb29ed4c0 100644 --- a/mseries/assistant/mseries-assistd.service +++ b/mseries/assistant/mseries-assistd.service @@ -8,8 +8,9 @@ PartOf=graphical-session.target Environment=OMARCHY_MLX_SYSTEM_PREFIX=%h/.local/share/mlx-omarchy Environment=VK_DRIVER_FILES=%h/.local/share/mlx-omarchy/vulkan/honeykrisp_icd.aarch64.json Environment=HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 HF_HUB_DISABLE_TELEMETRY=1 -# Vulkan submission budget: 20k measured 7% faster suggestions and 13% faster speech-to-text than the default (PR #648 value). -Environment=MLX_OMARCHY_BATCH_WORK=20000 +# Vulkan submission budget. The M1 Pro (G13S) is uncalibrated upstream and falls back to 5000. +# 120k: LFM3-1.7B 22.6 -> 27.5 tok/s on Honeykrisp 9323171c12, output identical, MLX gate PASS. +Environment=MLX_OMARCHY_BATCH_WORK=120000 Environment=MSERIES_ASSIST_IDLE=600 ExecStart=%h/.local/share/mseries-ai/lfm3-audio-venv/bin/python -I %h/.local/libexec/mseries-assistant/assistd.py Nice=5 diff --git a/mseries/local-ai/install.sh b/mseries/local-ai/install.sh index 7e8272b9b..6fd9d8021 100755 --- a/mseries/local-ai/install.sh +++ b/mseries/local-ai/install.sh @@ -53,7 +53,9 @@ checkout() { } checkout coreglass coreglass 25603cbf1f95fd2819b11d914afec58997ef1b8b checkout omarchy-mlx omarchy-mlx 33630f9c1eeefe5fc985a28bed0585432c2c014e -checkout mesa-mlx-compute mesa-1 7faf04c065c5376d2d58a1e5b33a60118109c99e +# 9323171c12 (2026-10-25): identical MLX gate results to 7faf04c065 and faster decode on the +# M1 Pro (Qwen 2B +36%, Qwen 4B +24%, LFM3 +48% at defaults); see ENGINE-SCOREBOARD.md. +checkout mesa-mlx-compute mesa-1 9323171c12c5aa6055f1031ea26c16c247191987 if git -C "$work/coreglass" apply --check "$script_dir/coreglass-local.patch" 2>/dev/null; then git -C "$work/coreglass" apply "$script_dir/coreglass-local.patch" else diff --git a/mseries/local-ai/model-worker.py b/mseries/local-ai/model-worker.py index 22a72e188..2080c7759 100644 --- a/mseries/local-ai/model-worker.py +++ b/mseries/local-ai/model-worker.py @@ -46,6 +46,10 @@ def main(): env['OMARCHY_MLX_SYSTEM_PREFIX'] = str(prefix) env['VK_DRIVER_FILES'] = str(prefix / 'vulkan/honeykrisp_icd.aarch64.json') if profile['engine'] == 'mlx': + # The M1 Pro (G13S) is uncalibrated in omarchy-mlx and falls back to a 5000 work-group submit + # budget. 120k passes the MLX gate with identical output and decodes faster (Qwen 2B 48.9 -> 56.4, + # Qwen 4B 23.1 -> 27.0 tok/s on Honeykrisp 9323171c12). An explicit value in the environment wins. + env.setdefault('MLX_OMARCHY_BATCH_WORK', '120000') from runtime_recovery import recover recovered = recover(prefix) if recovered: print(f'RECOVERY: removed {recovered} dead CLI reservations; reserve unchanged', flush=True)