Skip to content

xformer conflict when install requirements.txt #9

Open
@DingZI2077

Description

@DingZI2077

when I installed the requirements.txt, there is a conflict as follows:

INFO: pip is looking at multiple versions of xformers to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r ./GaussianAnything/requirements.txt (line 2), -r ./GaussianAnything/requirements.txt (line 3) and torch==2.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested torch==2.1.0
torchvision 0.16.0 depends on torch==2.1.0
xformers 0.0.26.post1 depends on torch==2.3.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

I'm not sure whether it will work well if I change one of them . So are there some verified methods to solve this conflict? So many thanks for replying!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions