Fix Windows CUDA dependency resolution marker mismatch#600
Closed
Fix Windows CUDA dependency resolution marker mismatch#600
Conversation
Co-authored-by: ChuxiJ <30956809+ChuxiJ@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix broken dependencies in latest commits for Windows 10
Fix Windows CUDA dependency resolution marker mismatch
Feb 16, 2026
ChuxiJ
requested changes
Feb 16, 2026
| "torch==2.7.1+cu128; sys_platform == 'win32'", | ||
| "torchvision==0.22.1+cu128; sys_platform == 'win32'", | ||
| "torchaudio==2.7.1+cu128; sys_platform == 'win32'", | ||
| "torch==2.7.1+cu128; sys_platform == 'win32' and platform_machine == 'AMD64'", |
Contributor
There was a problem hiding this comment.
@copilot I need broader environmental compatibility. Won’t such superficial changes lead to incompatibility with many other devices?
Contributor
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.
uvdependency resolution failed on Windows becauserequired-environmentsspecifiedplatform_machine == 'AMD64'but torch dependencies only usedsys_platform == 'win32'.Changes
platform_machine == 'AMD64'marker to Windows torch/torchvision/torchaudio dependencies[tool.uv.sources]markers fromsys_platform == 'win32'to(sys_platform == 'win32' and platform_machine == 'AMD64')This aligns dependency markers with the environment specification, allowing uv to correctly resolve torch packages for Windows AMD64.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>[Bug] Broken Deps in Latest Commits [Win10/CUDA]</issue_title>
<issue_description>Describe the bug
Was working great for weeks, but just updated and get the log below:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Logs