Update torch to 2.8.0 and torchvision to 0.23.0 #619
Closed
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.
Coding agent has begun work on Update torch to 2.8.0 and torchvision to 0.23.0 and will replace this description as work progresses.
See problem context
🔧 Fix: Resolve torch dependency conflicts
This PR updates the PyTorch dependencies to resolve compatibility issues:
Changes Made
2.7.1
→2.8.0
0.21.0
→0.23.0
Problem Solved
The previous CI failures were caused by dependency conflicts where:
torch
to2.8.0
torchvision==0.21.0
specifically requirestorch==2.6.0
Solution
Updated
torchvision
to version0.23.0
, which is compatible withtorch==2.8.0
.Testing
Related