Repository navigation
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
Open
danielhanchen wants to merge 1 commit into
danielhanchen wants to merge 1 commit into
Conversation
…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.
Codex Review Summary: ✅ CompletedThis 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. |
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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
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
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:
UNSLOTH_TORCH_UPGRADE=1(studio/src-tauri/src/install.rs), and anyone running install.sh by hand can set the same variable.unsloth studio updatekeeps the home's torch as before.Changes
install.sh: drops_MACOS_TORCH_MOVE_FLOORand the below-floor branch from install.sh: move existing Apple Silicon homes below torch 2.13 to the fused-MPS-attention release on re-run #20038. The new-install route and theUNSLOTH_TORCH_UPGRADE=1path are unchanged.tests/sh/test_macos_torch213_route.sh: back to its pre-install.sh: move existing Apple Silicon homes below torch 2.13 to the fused-MPS-attention release on re-run #20038 checks (73 pass)..github/workflows/studio-mac-torch-floor-upgrade.yml(macOS 15 staging only, skipped on this repo): on a seeded torch 2.10 home,studio updatekeep 2.10;UNSLOTH_TORCH_UPGRADE=1moves it to the new-install route;The merge base arm still checks the base against its own log, so it passes with and without install.sh: move existing Apple Silicon homes below torch 2.13 to the fused-MPS-attention release on re-run #20038 in the base.
Not proven here
only_a_manual_repair_asks_the_installer_for_a_newer_torch.