Skip to content

chore: bump mlx-swift-lm to pick up the first VLM unit tests - #147

Merged
solderzzc merged 1 commit into
mainfrom
chore/bump-mlx-swift-lm-vlm-tests
Aug 15, 2026
Merged

chore: bump mlx-swift-lm to pick up the first VLM unit tests#147
solderzzc merged 1 commit into
mainfrom
chore/bump-mlx-swift-lm-vlm-tests

Conversation

@solderzzc

Copy link
Copy Markdown
Member

Points the submodule at acb6020 (SharpAI/mlx-swift-lm#49).

Adds VLMGemma4Tests — the first unit tests for anything under MLXVLM. Measured coverage (#146) had that half of the model layer at 0.3% over 13,304 lines; this is the first shape/config/forward-pass test against MLXVLM/Models/Gemma4.swift, the largest untested file in the model layer and where SharpAI/mlx-swift-lm#45's changes landed.

No SwiftLM-side code changes. Umbrella build verified clean against the bumped pointer locally.

🤖 Generated with Claude Code

Points at acb6020 (SharpAI/mlx-swift-lm#49), which adds VLMGemma4Tests — the
first unit tests for anything under MLXVLM. Measured coverage had that half of
the model layer at 0.3% over 13,304 lines; this is the first shape/config/
forward-pass test against MLXVLM/Models/Gemma4.swift, the largest untested file
in the model layer and where SharpAI/mlx-swift-lm#45's changes landed.

No SwiftLM-side code changes; verified the umbrella builds clean against the
bumped pointer.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@solderzzc
solderzzc merged commit eb6fcc3 into main Aug 15, 2026
14 checks passed
@solderzzc
solderzzc deleted the chore/bump-mlx-swift-lm-vlm-tests branch August 15, 2026 15:13
solderzzc added a commit that referenced this pull request Aug 15, 2026
Points at 3f6f13e (SharpAI/mlx-swift-lm#50), which adds the second set of unit
tests for anything under MLXVLM — Qwen3VL.swift, 1770 lines, the largest
zero-coverage file in the model layer after #49/#147 covered Gemma4.

No SwiftLM-side code changes; verified the umbrella builds clean against the
bumped pointer.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
solderzzc added a commit that referenced this pull request Aug 15, 2026
…149)

Points at c09851f, which carries both:

- SharpAI/mlx-swift-lm#51 — the hybrid full-attention/GatedDeltaNet split in
  MLXVLM/Models/Qwen35.swift, gated by a fixed period (full_attention_interval)
- SharpAI/mlx-swift-lm#52 — the hybrid attention/short-conv split in
  MLXVLM/Models/LFM2VL.swift, gated by explicit layer indices (full_attn_idxs)

Both were, alongside Gemma4 (#147) and Qwen3VL (#148), among the largest
zero-coverage files in the model layer. Coverage: Qwen35 0% → 66.4%,
LFM2VL 0% → 34.9%.

No SwiftLM-side code changes; verified the umbrella builds clean against the
bumped pointer.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
solderzzc added a commit that referenced this pull request Aug 16, 2026
#150)

Points at 512dcde, which carries both:

- SharpAI/mlx-swift-lm#53 — MLXVLM/Models/GlmOcr.swift, whose base config
  overlays the same top-level container as text_config/vision_config
- SharpAI/mlx-swift-lm#54 — MLXVLM/Models/Qwen25VL.swift, whose text config
  does the same, with several fields duplicated across two parallel structs

Both were, alongside Gemma4/Qwen3VL/Qwen35/LFM2VL (#147-#149), among the
largest zero-coverage files in the model layer. Coverage: GlmOcr 0% → 37.9%,
Qwen25VL 0% → 26.7%.

No SwiftLM-side code changes; verified the umbrella builds clean against the
bumped pointer.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant