Skip to content

Move the Unsloth Studio MLX pins to mlx-vlm 0.7.9 - #14307

Merged
danielhanchen merged 1 commit into
unslothai:mainfrom
Lyxot:chore/studio-mlx-vlm-079
Oct 20, 2026
Merged

danielhanchen merged 1 commit into
unslothai:mainfrom
Lyxot:chore/studio-mlx-vlm-079

Conversation

@Lyxot

@Lyxot Lyxot commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Moves the Unsloth Studio MLX install and self-heal pins to mlx-vlm 0.7.9, alongside unsloth-zoo's ceiling raise (unslothai/unsloth-zoo#1887). The installer and the self-heal cap mlx-vlm at what the installed unsloth-zoo declares, so this takes effect once that zoo is installed.

What changed

  • install_python_stack.py _MLX_VLM_SPEC and mlx_repair.py _MLX_INSTALL_SPECS: mlx-vlm>=0.4.4,<=0.7.9; tests and comments that carry the range follow.

Why it is safe

  • 0.7.9's only requirement change is mlx>=0.32.4, which the MLX pins already install. Resolving the installer's requirement set (with the single-env constraints and darwin-arm64 overrides, Python 3.10 to 3.13) moves mlx-vlm alone, 0.7.8 -> 0.7.9; mlx-audio, transformers, datasets and the rest resolve as before. The self-heal dry run likewise moves only mlx-vlm.
  • Every mlx_vlm symbol Unsloth Studio uses resolves on 0.7.9, and the functions it calls are unchanged or changed compatibly. 0.7.9 makes generation honour checkpoint sampling defaults when a value is missing (TTS #2545); Unsloth Studio always passes temperature, top_p and top_k, so its generation is unchanged. The rotating-cache sink / absolute-position fix (Not Able to Load unsloth in WIndows #2548) only corrects prefill past a context cap.

Validation

Unsloth Studio MLX backend and install tests, one process per file, on mlx-vlm 0.7.8 vs 0.7.9:

2269 passed, 21 failed, 3 errors on both (the failures are pre-existing on main: offline model cache, memory-estimate and pip-probe tests)

The pin tests fail with the production specs reverted.

mlx-vlm 0.7.9 only raises its mlx floor to 0.32.4, which the MLX pins already install; resolving the installer's requirement set moves mlx-vlm alone (0.7.8 -> 0.7.9), and the self-heal dry run likewise. Unsloth Studio passes temperature, top_p and top_k explicitly, so 0.7.9's checkpoint sampling defaults do not change its generation.
@Lyxot
Lyxot requested a review from danielhanchen as a code owner October 20, 2026 02:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T02:57:03.095170Z 16b72cf Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Lyxot

Lyxot commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 16b72cf32d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Lyxot

Lyxot commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

Review and CI summary for head 16b72cf32d:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants