Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion distributed/rpc/pipeline/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
torch==1.9.0
torch==2.10.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Upgrading torch to 2.10.0 introduces a critical compatibility issue with torchvision==0.7.0. The torchvision package version must be aligned with the torch version to prevent runtime errors. torchvision==0.7.0 was released for torch==1.6.0 and is incompatible with modern torch versions.

To resolve this, torchvision must also be upgraded to a compatible version. For example, torch 2.1.x is compatible with torchvision 0.16.x. Please update torchvision accordingly, otherwise the project is very likely to fail.

torchvision==0.7.0