Skip to content

install.sh: existing Apple Silicon homes keep their torch on a plain re-run again (repair still upgrades) - #20076

Open
danielhanchen wants to merge 1 commit into
mainfrom
revert-macos-torch-floor-move
Open

danielhanchen wants to merge 1 commit into
mainfrom
revert-macos-torch-floor-move

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

Existing Apple Silicon Studio homes keep the torch they were installed with on a plain install.sh re-run again. #20038 moved homes below torch 2.13 to the new-install release on any re-run; that is now reverted. An existing home moves only on:

  • a fresh install, or
  • a repair: Desktop's Repair passes UNSLOTH_TORCH_UPGRADE=1 (studio/src-tauri/src/install.rs), and anyone running install.sh by hand can set the same variable.

unsloth studio update keeps the home's torch as before.

Changes

Not proven here

  • Desktop's Repair on a physical Mac was not clicked in this PR; the flag it passes is covered by the existing Tauri test only_a_manual_repair_asks_the_installer_for_a_newer_torch.

…re-run again

Reverts the below-2.13 move from #20038: an existing home moves to the new-install torch only on a fresh install or a repair (Desktop's Repair sets UNSLOTH_TORCH_UPGRADE=1). The macOS staging workflow now checks that a re-run and studio update keep a 2.10 home, that UNSLOTH_TORCH_UPGRADE=1 moves it, and that a 2.14 home is kept.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T00:05:26.305963Z fa50dd5 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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: fa50dd577a

ℹ️ 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".

This branch has not been deployed

No deployments
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