Repository navigation
Studio: torch 2.13 for new Linux cu130 Python 3.13 installs, existing installs keep their torch #12150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Studio: torch 2.13 for new Linux cu130 Python 3.13 installs, existing installs keep their torch #12150
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3ee264a
Studio: install torch 2.13 on new Linux cu130 Python 3.13 installs, k…
danielhanchen 797a7ae
Studio: only default to torch 2.13 once PyPI unsloth admits it; freez…
danielhanchen d5e2e36
Tighten the torch 2.13 route comments
danielhanchen 90bc5a0
Keep only cu130-served torch on repair; never let pip or an inherited…
danielhanchen c28dca2
Size the preservation window from the local route alone; keep relativ…
danielhanchen e5df690
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2590d3f
Keep the old torch window when a uv upload-date cutoff is set
danielhanchen af7409e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5b3f79b
Repair to the default range when no resident release is keepable, lea…
danielhanchen 04d17a4
Stand the torch 2.13 gate down offline and on any configured package …
danielhanchen 4070fa6
Drop a duplicated torchaudio comment
danielhanchen 3a51f0d
Give torch 2.13 only to a fresh home: record legacy-layout torch, nev…
danielhanchen 2122d63
Merge main into r12150
danielhanchen cdc1933
Treat a legacy .venv with a broken interpreter as an existing install
danielhanchen 91ddcdf
Merge main into r12150
danielhanchen 38edbb5
Desktop: manual Repair installation moves to the newest supported PyT…
danielhanchen cc868cb
Merge origin/main into studio-torch-213-cu130
danielhanchen bf1cd08
install.sh: an upgrade with the 2.13 route closed keeps a resident to…
danielhanchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Stand the torch 2.13 gate down offline and on any configured package …
…index
- Loading branch information
commit 04d17a4fc99a3d58e38581f2b26b7cfd128b6255
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
UV_FIND_LINKS(orfind-linksin uv configuration) supplies a newer/internalunslothdistribution, this condition does not reject the gate because_mirror_configured uvchecks only index-related settings. The localuv 0.12.1 help pip installdescribes--find-linksas locations providing candidate distributions in addition to registry indexes, so uv can select a release whose torch cap differs from the public-PyPI JSON checked here. The generated override then forces torch 2.13 anyway, and the first update can run that selected release's older setup and downgrade torch—the exact failure this gate is intended to prevent. Treat find-links as an alternate package source or inspect the release uv will actually select.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not changing this: an Unsloth Studio home that pulls unsloth itself from a find-links location is not a supported setup, and indexes and mirrors, which is where custom sources actually come from, already disable the route.