Skip to content

chore: bump mlx-swift-lm to pick up MTP head quantization fix - #154

Merged
solderzzc merged 1 commit into
mainfrom
chore/bump-mlx-swift-lm-mtp-quant-fix
Aug 16, 2026
Merged

chore: bump mlx-swift-lm to pick up MTP head quantization fix#154
solderzzc merged 1 commit into
mainfrom
chore/bump-mlx-swift-lm-mtp-quant-fix

Conversation

@solderzzc

Copy link
Copy Markdown
Member

Summary

Test plan

  • CI green (build_and_unit_test + integration matrix).

Fixes #153. mlx-swift-lm#56 fixes a per-layer quantization lookup bug
where MTP prediction-head modules (indexed as mtp.<depth>.layers... in
the Swift module tree, but keyed as mtp.layers... in checkpoint
quantization overrides) fell through to the top-level default
quantization instead of their own override — crashing quantized_matmul
on checkpoints with a separately-quantized MTP head, e.g. a uniform
8-bit MTP head over a mixed 4/5/6-bit qwen3_5_moe main model, under
--stream-experts --mtp.
@solderzzc
solderzzc merged commit c296d6e into main Aug 16, 2026
14 checks passed
@solderzzc
solderzzc deleted the chore/bump-mlx-swift-lm-mtp-quant-fix branch August 16, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mixed per-layer quantization (MTP head bits override) crashes quantized_matmul with --stream-experts on qwen3_5_moe checkpoints

1 participant