Skip to content

Bump install.sh / install.ps1 pins to unsloth>=2026.11.1 - #16554

Merged
danielhanchen merged 1 commit into
mainfrom
dh/bump-install-pins-2026.11.1
Nov 3, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
dh/bump-install-pins-2026.11.1

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

  • PyPI release unsloth 2026.11.1 is now live, requiring unsloth_zoo>=2026.11.1.
  • Bumps the pinned floors in install.sh and install.ps1 from unsloth>=2026.10.11 / unsloth-zoo>=2026.10.11 to unsloth>=2026.11.1 / unsloth-zoo>=2026.11.1 so fresh installs resolve to the new wheel. Every other install call site reads these two specs.
  • pyproject.toml already carries unsloth_zoo>=2026.11.1.
  • Tagged on main as v0.1.914-beta.

Test plan

  • bash -n install.sh
  • Sanity-run install.sh on a clean Linux host
  • Sanity-run install.ps1 on a clean Windows host
  • Confirm uv pip install "unsloth>=2026.11.1" "unsloth-zoo>=2026.11.1" resolves cleanly

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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 ⚠️ Failed 2026-11-03T14:18:18.840260Z
We couldn’t complete this review. Comment @codex review to try again.
0ed6aca PR opened
ℹ️ 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.

@danielhanchen
danielhanchen merged commit 24d65c1 into main Nov 3, 2026
@danielhanchen
danielhanchen deleted the dh/bump-install-pins-2026.11.1 branch November 3, 2026 14:19
danielhanchen added a commit that referenced this pull request Nov 4, 2026
…16624)

`pip scan-packages :: hf-stack` fails on main (run 41772420551) and on
every PR whose closure resolves unsloth-zoo 2026.11.1, which #16554 made
the installer floor:

```
Summary: 5 HIGH, 13 MEDIUM
  5 of the 18 finding(s) above are at a site already reviewed in scripts/scan_packages_baseline.json. What differs from the reviewed entry:
    HIGH  unsloth-zoo  unsloth_zoo/compiler.py                            same matched code, file digest outside the pin
    HIGH  unsloth-zoo  unsloth_zoo/mlx/loader.py                          same matched code, file digest outside the pin
    HIGH  unsloth-zoo  unsloth_zoo/mlx/speculative.py                     9 matched line(s) added and 2 gone
    HIGH  unsloth-zoo  unsloth_zoo/temporary_patches/granitemoehybrid.py  2 matched line(s) appended to a reviewed file, none gone
    HIGH  unsloth-zoo  unsloth_zoo/temporary_patches/moe_utils.py         same matched code, file digest outside the pin
```

## Review

| File | What changed in 2026.11.1 | Verdict |
|---|---|---|
| `unsloth_zoo/compiler.py` | Matched code identical to the reviewed
entry; other lines in the file moved the pin | Same as reviewed |
| `unsloth_zoo/mlx/loader.py` | Same | Same as reviewed |
| `unsloth_zoo/temporary_patches/moe_utils.py` | Same | Same as reviewed
|
| `unsloth_zoo/mlx/speculative.py` | Every new match is `mx.eval(...)`
(MLX array materialisation) or `model.eval()`, not Python `eval` |
Benign |
| `unsloth_zoo/temporary_patches/granitemoehybrid.py` | New
`_build_norm_forward`: takes `inspect.getsource` of the installed
transformers `GraniteMoeHybridRMSNorm.forward`, replaces the single
`return self.weight * hidden_states.to(input_dtype)` line with a fixed
dtype-cast template, and `exec(compile(...))`s it into the transformers
module namespace | Benign: the same source-patching pattern as the
reviewed `compiler.py` sites; nothing is decoded, fetched or read from
the environment |

I read both files in the 2026.10.11 and 2026.11.1 wheels downloaded from
PyPI.

## Change

As in #16264, each new entry sits next to the reviewed entries for its
file, pinned at the 2026.11.1 file digest. The entries were produced by
`scripts/scan_packages.py unsloth-zoo==2026.11.1 --write-baseline` and
copied in; the baseline was not regenerated, so every other package's
entries are untouched. Nothing is removed, so shards that still resolve
older zoo releases are unaffected. 45 added lines, one file.

## Testing

- `scripts/scan_packages.py unsloth-zoo==2026.11.1`: exit 1 on main (5
HIGH), exit 0 with this change (13 MEDIUM, unchanged).
- `scripts/scan_packages.py unsloth-zoo==2026.10.11`: exit 0 before and
after.
- `tests/security/test_scan_packages.py`,
`tests/security/test_lint_av_shapes.py`,
`tests/test_scripts_write_lf.py`: 181 passed.
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