Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mseries/assistant/mseries-assistd.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion mseries/local-ai/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions mseries/local-ai/model-worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading