OLMo-Eval icon indicating copy to clipboard operation
OLMo-Eval copied to clipboard

Cannot install package because of conflicting dependencies

Open soldni opened this issue 1 year ago • 1 comments

🐛 Describe the bug

ERROR: Cannot install ai2-catwalk, ai2-olmo-eval and ai2-tango[beaker,fairscale,gs,torch,transformers,wandb]==1.3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    ai2-catwalk 1.0.0rc0 depends on torch>=2.0
    torchmetrics 0.11.1 depends on torch>=1.8.1
    ai2-tango[beaker,fairscale,gs,torch,transformers,wandb] 1.3.2 depends on torch<2.1 and >=1.9; extra == "fairscale"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

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

Versions

Python 3.12.3
setuptools==69.5.1
wheel==0.43.0

soldni avatar Apr 23 '24 17:04 soldni

Not a fix, but as a temporary solution you can probably point to my branch of catwalk which uses my branch of tango that allows newer torch versions: https://github.com/allenai/catwalk/tree/dh-debug According to dirk something changed in FSDP in torch which affects the tango integration. But if you're not using that it should be fine.

gituser768 avatar Apr 23 '24 17:04 gituser768