Repository navigation
Studio on Windows: recommend Repair when an existing home is older than the managed torch / xFormers #19870
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
+672
−0
Merged
Studio on Windows: recommend Repair when an existing home is older than the managed torch / xFormers #19870
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c49e733
Studio on Windows: recommend Repair when an existing home is older th…
danielhanchen 7ceae54
Studio Windows repair hint: recommend Repair only where it reaches th…
danielhanchen 8e2ada6
Studio Windows repair hint: judge the Python a Repair selects, not th…
danielhanchen fb89fd7
Studio Windows repair hint: an index override off cu130 closes the ma…
danielhanchen df67a70
Studio Windows repair hint: launch the driver probe like the other nv…
danielhanchen 1aceba7
Studio Windows repair hint: never recommend the managed xFormers on i…
danielhanchen 03c5e73
Studio Windows repair hint: read the driver's CUDA version from eithe…
danielhanchen 5a046a6
Studio Windows repair hint: a package mirror or offline uv closes the…
danielhanchen c55eba0
Studio Windows repair hint: read uv config files in install.ps1's pre…
danielhanchen 24cbe58
Studio Windows repair hint: include the project config UV_PROJECT sel…
danielhanchen 339128d
Merge remote-tracking branch 'origin/main' into g103-studio-repair-hint
danielhanchen 84ee157
Repair hint: start uv config discovery from UV_WORKING_DIR as install…
danielhanchen 5e4e149
Repair hint: walk uv config discovery from Desktop's installer directory
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
Studio Windows repair hint: read uv config files in install.ps1's pre…
…cedence UV_CONFIG_FILE is exclusive and UV_NO_CONFIG skips discovery, as Test-MirrorConfigured does.
- Loading branch information
commit c55eba04409e97a123c43ba75397c7bf3128e0f7
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
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.
On an otherwise eligible Windows RTX 50-series installation, a mirror in the user-level
uv.tomlsuppresses the Repair recommendation even whenUV_NO_CONFIG=1disables that file orUV_CONFIG_FILEselects a different, mirror-free configuration._uv_config_files()always includes the user and system files, whereasinstall.ps1'sTest-MirrorConfiguredexplicitly makesUV_CONFIG_FILEexclusive and skips configuration discovery underUV_NO_CONFIG. Repair can therefore reach the managed torch in these cases, but the user receives no upgrade hint. Apply the same configuration precedence before inspecting files.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.
Fixed in c55eba0:
_uv_config_filesnow followsTest-MirrorConfigured:UV_CONFIG_FILEalone (even withUV_NO_CONFIG), none underUV_NO_CONFIG, else the user file plus the system file unlessUV_NO_SYSTEM_CONFIG. Project discovery walks the installer's working directory, which the backend cannot know, so it is not mirrored. Covered bytest_uv_config_precedence_follows_install_ps1.