From 091acf35155121deaee2cd213d959a53c97f9821 Mon Sep 17 00:00:00 2001 From: Simba Zhang Date: Thu, 6 Aug 2026 13:39:29 -0700 Subject: [PATCH 1/2] chore: bump mlx-swift-lm for the non-indexed weights fix (#118) Picks up SharpAI/mlx-swift-lm#43 (e60ccfd), which stops loadWeights from sweeping .safetensors that the weight index does not list, and guards the Qwen35 RMSNorm shift on the weights actually looking zero-centered. Fixes #118. mlx-community/Qwen3.6-27B-OptiQ-4bit previously loaded without error and generated noise, because its out-of-index optiq/mtp.safetensors made sanitize add 1 to every norm weight. Verified against that model on this commit: the text path answers correctly with MTP disabled and enabled, and the vision path no longer fails with `Unhandled keys ["mtp"]`. No change for Qwen3.5-4B-4bit or Qwen3.6-35B-A3B-4bit. Co-Authored-By: Claude Opus 5 --- mlx-swift-lm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx-swift-lm b/mlx-swift-lm index b9bf50b..e60ccfd 160000 --- a/mlx-swift-lm +++ b/mlx-swift-lm @@ -1 +1 @@ -Subproject commit b9bf50bdafef02fffd5b83598a61bbf7d47434f9 +Subproject commit e60ccfd6db6c8855c5fb7f24dce829c468e45c61 From 3d49f62edf8922d8a43f5e638cb5f3a9fbce7916 Mon Sep 17 00:00:00 2001 From: Simba Zhang Date: Thu, 6 Aug 2026 15:24:09 -0700 Subject: [PATCH 2/2] chore: advance mlx-swift-lm to include the Gemma 4 KV-shared fix Re-points the bump at 717d77f9, which now carries both upstream fixes: - #43: non-indexed .safetensors ignored + RMSNorm shift guard (fixes #118) - #44: Gemma 4 KV-shared layers + quantizable scaled projections (fixes #120) With #44 included, the audio and omni integration jobs pass locally; opencode reaches its npm-install step (already continue-on-error). dflash remains red until #121 is fixed. Co-Authored-By: Claude Opus 5 --- mlx-swift-lm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx-swift-lm b/mlx-swift-lm index e60ccfd..717d77f 160000 --- a/mlx-swift-lm +++ b/mlx-swift-lm @@ -1 +1 @@ -Subproject commit e60ccfd6db6c8855c5fb7f24dce829c468e45c61 +Subproject commit 717d77f957a32af2f711c60e531607e40b88e139