Skip to content

Pin unsloth-zoo>=2026.6.5 in install.sh / install.ps1#6440

Merged
danielhanchen merged 1 commit into
mainfrom
install-zoo-floor-pin
Jun 18, 2026
Merged

Pin unsloth-zoo>=2026.6.5 in install.sh / install.ps1#6440
danielhanchen merged 1 commit into
mainfrom
install-zoo-floor-pin

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

What

Pin the explicit unsloth-zoo specs in install.sh and install.ps1 to unsloth-zoo>=2026.6.5, matching the unsloth_zoo>=2026.6.5 floor already declared in pyproject.toml.

Why

The base-install commands passed a bare unsloth-zoo (no version) alongside unsloth>=2026.6.7, relying on unsloth's transitive pin to floor unsloth-zoo. That works today, but the floor is implicit in the scripts and easy to drift from pyproject.toml.

unsloth-zoo 2026.6.4 is the first release that ships unsloth_zoo.diffusion_studio (the DiffusionGemma runner used by Unsloth Studio). With an older unsloth-zoo, the Studio diffusion loader fails with "DiffusionGemma runner not found. Install unsloth_zoo (which ships unsloth_zoo.diffusion_studio.shim)...". Making the floor explicit keeps the install scripts and pyproject in lockstep and guarantees a diffusion-capable unsloth-zoo on every install path, not only via the transitive pin.

Mirrors the approach in #5716 (keeping the install-script pins current).

Scope

  • Pins the 5 base-install unsloth-zoo specs in each script.
  • Leaves the --reinstall-package / --upgrade-package flags and the unsloth-zoo @ git+... git-main overlay lines untouched.
  • bash -n install.sh passes.

Note

The normal end-user path already pulls a diffusion-capable unsloth-zoo transitively (pyproject pins unsloth_zoo>=2026.6.5); this change makes that floor explicit and consistent across the install scripts as defense-in-depth.

The base-install lines passed a bare unsloth-zoo spec and relied on the
co-installed unsloth>=2026.6.7 (whose pyproject pins unsloth_zoo>=2026.6.5)
to floor unsloth-zoo transitively. Make the floor explicit so the install
scripts stay in sync with pyproject and the bare spec can never resolve below
the version that ships unsloth_zoo.diffusion_studio (the DiffusionGemma Studio
runner), first released in unsloth-zoo 2026.6.4. Leaves the reinstall/upgrade
flags and the git-main overlay untouched.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the installation scripts install.ps1 and install.sh to pin the minimum version of the unsloth-zoo package to >=2026.6.5 across various installation scenarios. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@danielhanchen danielhanchen merged commit 42965df into main Jun 18, 2026
29 of 31 checks passed
@danielhanchen danielhanchen deleted the install-zoo-floor-pin branch June 18, 2026 15:00
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