Repository navigation
Bump install.sh / install.ps1 pins to unsloth>=2026.11.1 - #16554
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
unsloth_zoo>=2026.11.1.install.shandinstall.ps1fromunsloth>=2026.10.11/unsloth-zoo>=2026.10.11tounsloth>=2026.11.1/unsloth-zoo>=2026.11.1so fresh installs resolve to the new wheel. Every other install call site reads these two specs.pyproject.tomlalready carriesunsloth_zoo>=2026.11.1.v0.1.914-beta.Test plan
bash -n install.shinstall.shon a clean Linux hostinstall.ps1on a clean Windows hostuv pip install "unsloth>=2026.11.1" "unsloth-zoo>=2026.11.1"resolves cleanly