Skip to content

[staging CI] unslothai/unsloth#20038 - #4812

Closed
danielhanchen wants to merge 3 commits into
upstream-mainfrom
pr-20038-ci
Closed

danielhanchen wants to merge 3 commits into
upstream-mainfrom
pr-20038-ci

Conversation

@danielhanchen

Copy link
Copy Markdown
Owner

Disposable CI run for unslothai#20038. Do not merge; closed after CI.

…e 2.13 route on re-run

An existing macOS arm64 home kept its resident torch (2.4 to 2.14) unless
UNSLOTH_TORCH_UPGRADE=1, so homes installed before unslothai#18428 stay on a torch
without the fused MPS prefill attention kernel that Studio gates on 2.13.

A resident plain release below 2.13 now takes the new-install constraint
when every gate of that route holds (package unsloth, default cpu index,
macOS 14+, GIL Python 3.10-3.14, PyPI unsloth admits 2.13). Homes at 2.13
or 2.14, an unreadable or nightly torch, a pinned index, and any non-empty
UNSLOTH_TORCH_UPGRADE other than 1 behave as before. Every other OS and
index takes the same decisions.
…rade run

The move floor is now its own literal (_MACOS_TORCH_MOVE_FLOOR, Studio's
fused MPS attention gate) instead of the new-install pin's lower bound, so
a later pin bump never moves a 2.13 home. Tested with the pin bumped to 2.14.

studio-mac-torch-floor-upgrade.yml seeds an existing torch 2.10 home on
macos-15 and re-runs the merge base installer (kept) and this one (moved to
2.13), then checks a second re-run plus studio update, the
UNSLOTH_TORCH_UPGRADE=0 opt-out and a 2.14.1 home. It runs on dispatch and
on pull requests outside unslothai/unsloth only, and skips drafts.
@danielhanchen
danielhanchen deleted the pr-20038-ci branch November 27, 2026 21:22
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