Commit c3c316e
fix: wire up Gemma4MTPBench target + repair regressed mlx-swift-lm/mlx-swift submodule pins
mlx-swift-lm was uncommitted-pinned backward past the commit that introduced
DualModelMTP/MTPTokenIterator/Gemma4AssistantModel, breaking
Gemma4MTPBench and forcing MTP speculative decoding to be commented out in
InferenceEngine.swift as a workaround. Repointing both submodules to their
current origin/main tips (mlx-swift-lm past the merged DSA stage-2 PR #61,
mlx-swift past the matching MLXFast.fromFp8 addition) restores those types
and lets the benchmark build again — no source workaround needed.
Also adds scripts/bootstrap_local_tests.sh, which mirrors CI's "Install MLX
Metal library" step (pip install mlx, copy its bundled metallib into every
built .xctest bundle) so `swift test` is runnable locally without the
manual cmake+make dance. Addresses the Tier 3 item in #128.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 71ccdfd commit c3c316e
3 files changed
Lines changed: 48 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments