-
Notifications
You must be signed in to change notification settings - Fork 697
Closed
Description
🐛 Bug
installing xformers pip install xformers
(which at the moment points to 0.0.26.post1
uninstalls torch and triton 2.3.1 and replaces it with 2.3.0. This is causing conflict with the packages that do require 2.3.1 such as "torchvision 0.18.1+cu121" and "torchaudio 2.3.1+cu121".
Command
To Reproduce
$ pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
[skipped output]
$ pip install xformers==0.0.26.post1 # (currently equivalent to pip install xformers)
[...]
Collecting xformers
Using cached xformers-0.0.26.post1-cp310-cp310-manylinux2014_x86_64.whl (222.7 MB)
Collecting torch==2.3.0
Using cached torch-2.3.0-cp310-cp310-manylinux1_x86_64.whl (779.1 MB)
[...]
Attempting uninstall: triton
Found existing installation: triton 2.3.1
Uninstalling triton-2.3.1:
Successfully uninstalled triton-2.3.1
[...]
Attempting uninstall: torch
Found existing installation: torch 2.3.1+cu121
Uninstalling torch-2.3.1+cu121:
[...]
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchvision 0.18.1+cu121 requires torch==2.3.1, but you have torch 2.3.0 which is incompatible.
torchaudio 2.3.1+cu121 requires torch==2.3.1, but you have torch 2.3.0 which is incompatible.
Expected behavior
xformers working with latest version of torch.
ashleykleynhans, corbettht, pcmoritz, comaniac, jhc13 and 9 more
Metadata
Metadata
Assignees
Labels
No labels